Skip to content

Commit

Permalink
Merge pull request #226 from Dynamsoft/_dev
Browse files Browse the repository at this point in the history
Update index.html
  • Loading branch information
Shen-wb authored Dec 9, 2024
2 parents bdb2b5b + 544708d commit 3aef251
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions use-case/read-a-drivers-license/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ <h1>Read a Driver's License</h1>

let settings = await cvRouter.getSimplifiedSettings("ReadDenseBarcodes");
settings.barcodeSettings.barcodeFormatIds = Dynamsoft.DBR.EnumBarcodeFormat.BF_PDF417;
settings.barcodeSettings.localizationModes = [16, 2, 0, 0, 0, 0, 0, 0];
settings.barcodeSettings.expectBarcodeCount = 1;
await cvRouter.updateSettings("ReadDenseBarcodes", settings);

return {
Expand Down

0 comments on commit 3aef251

Please sign in to comment.