You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: programming/cplusplus/index.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,11 @@ The best way to start with the Dynamsoft Barcode Reader C++ Edition, is followin
36
36
37
37
- MacOS 64bit: 10.12+ (not included in the trial package, contact us to get the SDK)
38
38
39
+
- For Embedded Devices:
40
+
For embedded or ARM-based platforms, we recommend using a device with performance equivalent to or better than a Raspberry Pi 4 Model B (4GB RAM). Minimum recommended specs:
41
+
- Quad-core ARM Cortex-A72 processor (or equivalent)
42
+
- 4 GB RAM
43
+
- Linux-based OS (e.g., Raspberry Pi OS, Ubuntu Server)
@@ -208,7 +208,7 @@ Set up a `CDirectoryFetcher` object to retrieve image data sources from a direct
208
208
```cpp
209
209
CDirectoryFetcher *fetcher = new CDirectoryFetcher;
210
210
fetcher->SetDirectory("[THE DIRECTORY THAT HOLDS THE IMAGES]");
211
-
cvr->SetInput(fetcher);
211
+
cvRouter->SetInput(fetcher);
212
212
```
213
213
214
214
### Add a Result Receiver as the Output
@@ -247,7 +247,7 @@ Create and register a `MyCapturedResultReceiver` object as the result receiver.
247
247
248
248
```cpp
249
249
CCapturedResultReceiver *capturedReceiver = new MyCapturedResultReceiver;
250
-
cvr->AddResultReceiver(capturedReceiver);
250
+
cvRouter->AddResultReceiver(capturedReceiver);
251
251
```
252
252
253
253
### Add an Object to Listen to the Status of the Image Source
@@ -273,24 +273,24 @@ public:
273
273
Create and register a `MyImageSourceStateListener` object as the listener.
274
274
275
275
```cpp
276
-
CImageSourceStateListener *listener = new MyImageSourceStateListener(cvr);
277
-
cvr->AddImageSourceStateListener(listener);
276
+
CImageSourceStateListener *listener = new MyImageSourceStateListener(cvRouter);
277
+
cvRouter->AddImageSourceStateListener(listener);
278
278
```
279
279
280
280
### Start the Process
281
281
282
282
Call the method `StartCapturing()` to start processing all the images in the specified folder.
283
283
284
284
```cpp
285
-
int errorCode = cvr->StartCapturing(CPresetTemplate::PT_READ_BARCODES, true, errorMsg, 512);
285
+
int errorCode = cvRouter->StartCapturing(CPresetTemplate::PT_READ_BARCODES, true, errorMsg, 512);
286
286
```
287
287
288
288
During the process, the callback function`OnDecodedBarcodesReceived()` is triggered each time an image finishes processing. After all images are processed, the listener function`OnImageSourceStateReceived()` will return the image source state as `ISS_EXHAUSTED` and the process is stopped with the method `StopCapturing()`.
Copy file name to clipboardExpand all lines: programming/python/index.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,12 @@ The best way to start with the Dynamsoft Barcode Reader Python Edition, is follo
38
38
- Python 3.5 (for versions below DBR 7.5)
39
39
- Python 2.7 (for versions below DBR 7.2.2.3)
40
40
41
+
- For Embedded Devices:
42
+
For embedded or ARM-based platforms, we recommend using a device with performance equivalent to or better than a Raspberry Pi 4 Model B (4GB RAM). Minimum recommended specs:
43
+
- Quad-core ARM Cortex-A72 processor (or equivalent)
44
+
- 4 GB RAM
45
+
- Linux-based OS (e.g., Raspberry Pi OS, Ubuntu Server)
46
+
41
47
## API Reference
42
48
43
49
For an overview of the APIs, see the [API Reference]({{ site.dbr_python_api }}).
0 commit comments