Skip to content

Commit 700426e

Browse files
committed
fix
1 parent a9c6d78 commit 700426e

20 files changed

+37
-69
lines changed

barcode-reader/mobile/configuration/drivers-license-extraction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Yes, you can extract driver’s license information from a PDF417 barcode using
1212

1313
Check out the sample project on GitHub to see how to decode the PDF417 barcode and parse the data:
1414

15-
👉 [DriversLicenseScanner Sample (Android)](https://github.com/Dynamsoft/capture-vision-mobile-samples/tree/dcv_v2.6.1003/Android/DriversLicenseScanner){:target="\_blank"}
16-
👉 [DriversLicenseScanner Sample (iOS)](https://github.com/Dynamsoft/capture-vision-mobile-samples/tree/dcv_v2.6.1003/iOS/DriversLicenseScanner){:target="\_blank"}
15+
👉 [DriversLicenseScanner Sample (Android)](https://github.com/Dynamsoft/barcode-reader-mobile-samples/tree/main/android/FoundationalAPISamples/DriversLicenseScanner){:target="\_blank"}
16+
👉 [DriversLicenseScanner Sample (iOS)](https://github.com/Dynamsoft/barcode-reader-mobile-samples/tree/main/ios/FoundationalAPISamples/DriversLicenseScanner){:target="\_blank"}
1717

1818
> 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.
1919
>

barcode-reader/mobile/configuration/no-camera-enhancer.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ If you are using the CameraX, you can view [HelloWorld/DecodeWithCamerX sample](
1818

1919
If you are using a third-party camera module, what you have to do is:
2020

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).
2222
- 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.
2525

2626
# iOS
2727

2828
## AVCaptureSession
2929

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.
3131

3232
## Third-Party Camera Module
3333

3434
If you are using a third-party camera module, what you have to do is:
3535

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).
3737
- 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.

barcode-reader/mobile/configuration/reduce-battery-consumption.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ In continuous scanning mode, you can reduce the scanning frequency to conserve e
3232

3333
- **Property**: `minImageCaptureInterval`
3434
- **Class**:
35-
- Android: [`SimplifiedCaptureVisionSettings`](https://dynamsoft.com/capture-vision/docs/mobile/programming/android/api-reference/capture-vision-router/settings.html?product=dbr&lang=android#gettemplatenames)
36-
- iOS: [`DSSimplifiedCaptureVisionSettings`](https://dynamsoft.com/capture-vision/docs/mobile/programming/ios/api-reference/capture-vision-router/settings.html?product=dbr&lang=objectivec-swift#stopcapturing)
35+
- Android: [`SimplifiedCaptureVisionSettings`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/android/api-reference/capture-vision-router/auxiliary-classes/simplified-capture-vision-settings.html?product=dbr&lang=android)
36+
- iOS: [`DSSimplifiedCaptureVisionSettings`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/ios/api-reference/capture-vision-router/auxiliary-classes/simplified-capture-vision-settings.html?product=dbr&lang=objectivec-swift)
3737

3838
Setting a **higher interval** reduces how often frames are fetched and processed, leading to:
3939

barcode-reader/mobile/debug/debug-mode.md

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
---
2+
layout: default-layout
3+
title: Debug Mode - DBR Mobile FAQs
4+
keywords: Dynamsoft Barcode Reader, FAQ, Mobile, tech basic, debug mode, ios, android
5+
description: How to use Debug Mode in Barcode Scanner X? - DBR Mobile FAQs.
6+
needAutoGenerateSidebar: true
7+
---
8+
19
## How to use Debug Mode in Barcode Scanner X?
210

311
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
4452

4553
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.
4654

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:
50-
51-
1. Visit Dynamsoft barcode reader <a href="https://demo.dynamsoft.com/barcode-reader/" target="_blank">online demo</a>.
52-
2. Click on Advanced Settings
53-
54-
<div align="left">
55-
<p><img src="../assets/advanced-settings.jpg" width="40%" alt="advanced settings"></p>
56-
</div>
57-
58-
3. Check **EnableQRCodeModel1**.(You can modify any other settings as you like)
59-
4. Save the template.
60-
61-
<div align="left">
62-
<p><img src="../assets/save-template.jpg" width="40%" alt="save template"></p>
63-
</div>
64-
65-
5. Send the template to <a href="https://www.dynamsoft.com/contact/?ver=latest" target="_blank">Dynamsoft support team</a>.
66-
6. We will generate and send a link to you.
67-
7. Click **Import Template** in the Advanced Scan settings of BarcodeScannerX. Then input the link.
68-
8. Now you can scan QR code Model 1!

barcode-reader/mobile/debug/page-freeze.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,10 @@ needAutoGenerateSidebar: true
88

99
# Why does the page sometimes freeze when I start the scanner?
1010

11-
Before a barcode reader instance can be created, a one-time connection for **license validation** must occur when the app initializesor 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.
1212

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.
1414

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.
2816

2917
---

barcode-reader/mobile/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Welcome to the FAQ for Dynamsoft Barcode Reader on mobile platforms. Browse the
4141
- [Simulator Support](simulator/simulator-support.html)
4242
- [How to resolve the "Building for iOS Simulator, but linking in dylib built for iOS" error?](simulator/arm64-simulator-error.html)
4343

44-
## Debugging & Troubleshooting
44+
## Debugging
4545

4646
- [Page Freeze Issues](debug/page-freeze.html)
4747
- [Troubleshooting Failed Image Decoding](debug/troubleshooting-failed-image.html)

barcode-reader/mobile/scan-setting/template-support.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ In the **Barcode Scanner X** app:
2929

3030
Once you have the template file, you can use it in your app with either:
3131

32-
- [`initSettings`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/android/api-reference/capture-vision-router/settings.html?product=dbr&lang=android#gettemplatenames)
33-
- [`initSettingsFromFile`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/android/api-reference/capture-vision-router/settings.html?product=dbr&lang=android#gettemplatenames)
32+
- [`initSettings`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/android/api-reference/capture-vision-router/settings.html?product=dbr&lang=android#initsettings)
33+
- [`initSettingsFromFile`](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/android/api-reference/capture-vision-router/settings.html?product=dbr&lang=android#initsettingsfromfile)
3434

3535

3636
---

barcode-reader/server/configuration/how-to-enable-dpm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Here is a JSON snippet for enabling DPM, update it in your output template:
3232
]
3333
```
3434

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:
3636

3737
```cpp
3838
int InitSettingsFromFile(const char* filePath, char errorMsgBuffer[]=NULL, const int errorMsgBufferLen=0)

barcode-reader/server/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ Welcome to the FAQ for Dynamsoft Barcode Reader on server platforms. Use the lin
1818
- [How to Enable DPM?](configuration/how-to-enable-dpm.html)
1919
- [Non-English Characters](configuration/non-english-characters.html)
2020
- [Sort Barcodes in Image](configuration/sort-barcodes-image.html)
21-
- [Unable to Scan Aztec Code](configuration/unable-to-scan-aztec-code.html)
122 KB
Loading

0 commit comments

Comments
 (0)