File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed
3.read-video-angular/src/app Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -28,20 +28,20 @@ <h1 style="font-size: 1.5em;">Read Barcodes from a Camera</h1>
2828
2929 /* When using your own license, uncomment the following line and specify your license. */
3030
31- // Dynamsoft.DBR. BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
31+ // BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
3232
3333 /** LICENSE ALERT - THE END */
34- import { BarcodeRender , BarcodeScanner } from 'https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/dbr.mjs' ;
34+ import { BarcodeReader , BarcodeScanner } from 'https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/dbr.mjs' ;
3535
3636 // DBR.productKeys = "PRODUCT-KEYS";
3737
38- BarcodeRender . engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/" ;
38+ BarcodeReader . engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/" ;
3939
4040
4141 let pScanner = null ;
4242 document . getElementById ( 'btn-show-scanner' ) . addEventListener ( 'click' , async ( ) => {
4343 try {
44- const scanner = await ( pScanner = pScanner || Dynamsoft . DBR . BarcodeScanner . createInstance ( ) ) ;
44+ const scanner = await ( pScanner = pScanner || BarcodeScanner . createInstance ( ) ) ;
4545 /*
4646 * onFrameRead is triggered after the library finishes reading a frame.
4747 * There can be one or multiple barcodes on each frame.
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { BarcodeReader } from 'dynamsoft-javascript-barcode';
1010
1111/* When using your own license, uncomment the following line and specify your license. */
1212
13- // DBR. BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
13+ // BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
1414
1515/** LICENSE ALERT - THE END */
1616
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { BarcodeReader } from "dynamsoft-javascript-barcode";
1010
1111/* When using your own license, uncomment the following line and specify your license. */
1212
13- // DBR. BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
13+ // BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
1414
1515/** LICENSE ALERT - THE END */
1616
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { BarcodeReader } from "dynamsoft-javascript-barcode";
1010
1111/* When using your own license, uncomment the following line and specify your license. */
1212
13- // DBR. BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
13+ // BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
1414
1515/** LICENSE ALERT - THE END */
1616
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { BarcodeReader } from "dynamsoft-javascript-barcode";
1010
1111/* When using your own license, uncomment the following line and specify your license. */
1212
13- // DBR. BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
13+ // BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
1414
1515/** LICENSE ALERT - THE END */
1616
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { BarcodeReader } from "dynamsoft-javascript-barcode";
1010
1111/* When using your own license, uncomment the following line and specify your license. */
1212
13- // DBR. BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
13+ // BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
1414
1515/** LICENSE ALERT - THE END */
1616
You can’t perform that action at this time.
0 commit comments