Skip to content

Commit 99269f5

Browse files
Update README.md
mention DCP
1 parent 08be88f commit 99269f5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

4.use-case/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This sample set explores some of the most popular real world applications of Dyn
99

1010
The first sample demonstrates how to automatically fill out a form using barcode scanning.
1111

12-
Users can click a button to read barcodes from a video, and once a barcode is scanned, the barcode result will be filled to the corresponding form field. Or the form field can come with a tooltip style of button for users to click and open the scanner.
12+
Users can click a button to read barcodes from a video, and once a barcode is scanned, the barcode result will be filled to the corresponding form field. You can customize it further to show a tooltip-style button for users to click and open the scanner.
1313

1414
## Filling Out Driver's License Info via Barcode Scanner
1515

@@ -19,9 +19,7 @@ With the barcode reader library, you can get a large text string from the driver
1919

2020
In this use case, we want the scanner to pick up PDF417 barcode only, so we set `barcodeFormatIds` in `RuntimeSettings` to `BF_PDF417`.
2121

22-
The core text extraction happens in the function `getDLInfo()`. Please pay special attention to the `driverLicenseFields` variable, which contains all the mapping defintions for the different abbreviations.
23-
24-
By following a similar extraction and mapping mechanism, you can easily implement driver license scanning in your own web application.
22+
The core information extraction happens in the function `extractResultAlert()`, in which we are using the SDK **Dynamsoft Code Parser** to parse the raw string and get the actual encoded information.
2523

2624
## Support
2725

0 commit comments

Comments
 (0)