Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
yushulx committed Aug 5, 2024
1 parent 37683b5 commit 57da398
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/mrz-reader/mrz-reader.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class MrzReaderComponent implements OnInit {
await LabelRecognizerModule.loadRecognitionData("MRZ");
this.cvr = await CaptureVisionRouter.createInstance();
this.parser = await CodeParser.createInstance();
let ret = await this.cvr.initSettings('/assets/template.json');
let ret = await this.cvr.initSettings('assets/template.json');
console.log(ret);
}
catch (ex) {
Expand Down
2 changes: 1 addition & 1 deletion src/app/mrz-scanner/mrz-scanner.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class MrzScannerComponent implements OnInit {
await LabelRecognizerModule.loadRecognitionData("MRZ");
this.cvr = await CaptureVisionRouter.createInstance();
this.parser = await CodeParser.createInstance();
let ret = await this.cvr.initSettings('/assets/template.json');
let ret = await this.cvr.initSettings('assets/template.json');
console.log(ret);
await this.initBarcodeScanner();
})();
Expand Down

0 comments on commit 57da398

Please sign in to comment.