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
> These samples include the `DynamsoftCodeParser` library, which is used to extract structured information (such as name, address, license number, etc.) from the raw barcode decoding result.
Copy file name to clipboardExpand all lines: barcode-reader/mobile/configuration/no-camera-enhancer.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,22 +18,22 @@ If you are using the CameraX, you can view [HelloWorld/DecodeWithCamerX sample](
18
18
19
19
If you are using a third-party camera module, what you have to do is:
20
20
21
-
- Create a class that extends [ImageSourceAdapter]({{ site.dcvb_android_api }}core/basic-structures/image-source-adapter.html). In this class, you need to implement the video capture features and the [`getImage`]({{ site.dcvb_android_api }}core/basic-structures/image-source-adapter.html#getimage) method of [`ImageSourceAdapter`]({{ site.dcvb_android_api }}core/basic-structures/image-source-adapter.html).
21
+
- Create a class that extends [ImageSourceAdapter](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/android/api-reference/core/basic-structures/image-source-adapter.html?product=dbr&lang=android). In this class, you need to implement the video capture features and the [`getImage`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/android/api-reference/core/basic-structures/image-source-adapter.html#getimage) method of [ImageSourceAdapter](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/android/api-reference/core/basic-structures/image-source-adapter.html?product=dbr&lang=android).
22
22
- Create an instance of your camera class.
23
-
- Create an instance of the [`CaptureVisionRouter`]({{ site.dcvb_android_api }}capture-vision-router/multiple-file-processing.html) class. Then trigger the [`setInput`]({{ site.dcvb_android_api }}capture-vision-router/multiple-file-processing.html#setinput) method with the instance of your camera class as the parameter.
24
-
- Trigger the [`startCapturing`]({{ site.dcvb_android_api }}capture-vision-router/multiple-file-processing.html#startcapturing) method to start the barcode decoding.
23
+
- Create an instance of the [CaptureVisionRouter](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/android/api-reference/capture-vision-router/multiple-file-processing.html?product=dbr&lang=android) class. Then trigger the [`setInput`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/android/api-reference/capture-vision-router/multiple-file-processing.html#setinput) method with the instance of your camera class as the parameter.
24
+
- Trigger the [`startCapturing`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/android/api-reference/capture-vision-router/multiple-file-processing.html#startcapturing) method to start the barcode decoding.
25
25
26
26
# iOS
27
27
28
28
## AVCaptureSession
29
29
30
-
If you are using the CameraX, you can view [HelloWorld/DecodeWithAVCaptureSession sample](https://github.com/Dynamsoft/barcode-reader-mobile-samples/tree/v10.4.2002/ios/HelloWorld) for a quick start.
30
+
If you are using the CameraX, you can view [HelloWorld/DecodeWithAVCaptureSession sample](https://github.com/Dynamsoft/barcode-reader-mobile-samples/tree/main/ios/FoundationalAPISamples/DecodeWithAVCaptureSession) for a quick start.
31
31
32
32
## Third-Party Camera Module
33
33
34
34
If you are using a third-party camera module, what you have to do is:
35
35
36
-
- Create a class that extends [DSImageSourceAdapter]({{ site.dcvb_ios_api }}core/basic-structures/image-source-adapter.html). In this class, you need to implement the video capture features and the [`getImage`]({{ site.dcvb_ios_api }}core/basic-structures/image-source-adapter.html#getimage) method of [`DSImageSourceAdapter`]({{ site.dcvb_ios_api }}core/basic-structures/image-source-adapter.html).
36
+
- Create a class that extends [DSImageSourceAdapter](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/ios/api-reference/core/basic-structures/image-source-adapter.html?product=dbr&lang=objectivec-swift). In this class, you need to implement the video capture features and the [`getImage`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/ios/api-reference/core/basic-structures/image-source-adapter.html?product=dbr&lang=objectivec-swift) method of [DSImageSourceAdapter](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/ios/api-reference/core/basic-structures/image-source-adapter.html?product=dbr&lang=objectivec-swift).
37
37
- Create an instance of your camera class.
38
-
- Create an instance of the [`DSCaptureVisionRouter`]({{ site.dcvb_ios_api }}capture-vision-router/multiple-file-processing.html) class. Then trigger the [`setInput`]({{ site.dcvb_ios_api }}capture-vision-router/multiple-file-processing.html#setinput) method with the instance of your camera class as the parameter.
39
-
- Trigger the [`startCapturing`]({{ site.dcvb_ios_api }}capture-vision-router/multiple-file-processing.html#startcapturing) method to start the barcode decoding.
38
+
- Create an instance of the [DSCaptureVisionRouter](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/ios/api-reference/capture-vision-router/multiple-file-processing.html?product=dbr&lang=objectivec-swift) class. Then trigger the [`setInput`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/ios/api-reference/capture-vision-router/multiple-file-processing.html?product=dbr&lang=objectivec-swift#setinput) method with the instance of your camera class as the parameter.
39
+
- Trigger the [`startCapturing`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/ios/api-reference/capture-vision-router/multiple-file-processing.html?product=dbr&lang=objectivec-swift#startcapturing) method to start the barcode decoding.
description: How to use Debug Mode in Barcode Scanner X? - DBR Mobile FAQs.
6
+
needAutoGenerateSidebar: true
7
+
---
8
+
1
9
## How to use Debug Mode in Barcode Scanner X?
2
10
3
11
If you are experiencing app crashes in your own application or you’ve come across some barcode(s) that you can’t read and you have exhausted all of the other troubleshooting methods, Debug Mode of the [BarcodeScannerX](https://www.dynamsoft.com/barcode-reader/sdk-mobile/#appDemo) demo app can help offer one last effort to resolve these issues.
@@ -44,25 +52,3 @@ If you are having trouble reading barcodes, you should use the Image Cropper to
44
52
45
53
3. Tap the image crop icon to crop and share the original frames with the [Dynamsoft support team](https://www.dynamsoft.com/contact/?ver=latest). Our support team will investigate the video frames and get back to you with a solution as soon as possible.
46
54
47
-
## How to Enable QR Code Model 1 in Barcode Scanner X?
48
-
49
-
Nowadays, most QR codes are QR code Model 2. BarcodeScannerX, by default, only support QR code Model 2. If you want to test QR code Model 1 on BarcodeScannerX, here is what you can do:
Copy file name to clipboardExpand all lines: barcode-reader/mobile/debug/page-freeze.md
+3-15Lines changed: 3 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,22 +8,10 @@ needAutoGenerateSidebar: true
8
8
9
9
# Why does the page sometimes freeze when I start the scanner?
10
10
11
-
Before a barcode reader instance can be created, a one-time connection for **license validation** must occur when the app initializes—or whenever the license is set prior to the barcode reader’s instantiation. This license check may take a second to complete, potentially causing a temporary freeze in the UI.
11
+
Before a barcode reader instance can be created, a one-time connection for license validation needs to occur when the app initializes (or whenever the license is set before the barcode reader instance creation). Sometimes, this license validation could take a second to complete.
12
12
13
-
A common cause of this issue is **calling `initLicense`multiple times** in the same process.
13
+
A potential "freeze" of the page can occur if `initLicense()` is called multiple times in a single process. Please make sure that `initLicense` is called only once in your code.
14
14
15
-
## iOS
16
-
17
-
For iOS, the method is [`LicenseManager.initLicense()`]({{ site.dcvb_ios_api }}license/license-manager.html#initlicense).
18
-
We’ve seen cases where developers call this method in both the `AppDelegate` and `ViewController`, leading to conflicts.
19
-
20
-
✅ **Recommendation**: Call `initLicense` only once—preferably in the `AppDelegate`.
21
-
22
-
## Android
23
-
24
-
For Android, the method is `BarcodeReader.initLicense()`.
25
-
To ensure it’s not being called more than once, we suggest stepping through your code using a debugger.
26
-
27
-
✅ **Recommendation**: Call `initLicense` only once during app initialization.
15
+
To help troubleshoot whether the method is being called multiple times, we recommend stepping through the code using a debugger.
Copy file name to clipboardExpand all lines: barcode-reader/server/configuration/how-to-enable-dpm.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Here is a JSON snippet for enabling DPM, update it in your output template:
32
32
]
33
33
```
34
34
35
-
Once the JSON string is set, you can initialize the runtime settings to use it via the [InitSettingsFromFile](https://www.dynamsoft.com/capture-vision/docs/server/programming/cplusplus/api-reference/capture-vision-router/settings.html?product=dbr&repoType=server#outputsettingstofile) to update your current runtime settings with your modified template:
35
+
Once the JSON string is set, you can initialize the runtime settings to use it via the [InitSettingsFromFile](https://www.dynamsoft.com/capture-vision/docs/server/programming/cplusplus/api-reference/capture-vision-router/settings.html?product=dbr&repoType=server#initsettingsfromfile) to update your current runtime settings with your modified template:
36
36
37
37
```cpp
38
38
intInitSettingsFromFile(const char* filePath, char errorMsgBuffer[]=NULL, const int errorMsgBufferLen=0)
0 commit comments