File tree Expand file tree Collapse file tree 14 files changed +29
-28
lines changed
foundational-api-samples/hello-world
angular/src/app/video-capture
blazor/hello-world-blazor/BlazorApp/wwwroot
next/components/VideoCapture
react-hooks/src/components/VideoCapture
react/src/components/VideoCapture Expand file tree Collapse file tree 14 files changed +29
-28
lines changed Original file line number Diff line number Diff line change @@ -71,13 +71,13 @@ export class VideoCaptureComponent {
7171 throw Error ( componentDestroyedErrorMsg ) ;
7272 }
7373
74- // Open camera and start scanning single barcode.
74+ // Open camera and start scanning barcode.
7575 await this . cameraEnhancer . open ( ) ;
7676 cameraView . setScanLaserVisible ( true ) ;
7777 if ( this . isDestroyed ) {
7878 throw Error ( componentDestroyedErrorMsg ) ;
7979 }
80- await this . cvRouter . startCapturing ( 'ReadSingleBarcode ' ) ;
80+ await this . cvRouter . startCapturing ( 'ReadBarcodes_SpeedFirst ' ) ;
8181 if ( this . isDestroyed ) {
8282 throw Error ( componentDestroyedErrorMsg ) ;
8383 }
Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ window.startVideoDecode = async () => {
3535 filter . enableResultDeduplication ( "barcode" , true ) ;
3636 await cvRouter . addResultFilter ( filter ) ;
3737
38- // Open camera and start scanning single barcode.
38+ // Open camera and start scanning barcode.
3939 await cameraEnhancer . open ( ) ;
4040
4141 cameraView . setScanLaserVisible ( true ) ;
42- await cvRouter . startCapturing ( "ReadSingleBarcode " ) ;
42+ await cvRouter . startCapturing ( "ReadBarcodes_SpeedFirst " ) ;
4343 } catch ( ex ) {
4444 let errMsg = ex . message || ex ;
4545 console . error ( errMsg ) ;
Original file line number Diff line number Diff line change @@ -64,10 +64,10 @@ Dynamsoft.Core.CoreModule.loadWasm(["DBR"]);
6464 filter . enableResultDeduplication ( "barcode" , true ) ;
6565 await cvRouter . addResultFilter ( filter ) ;
6666
67- // Open camera and start scanning single barcode.
67+ // Open camera and start scanning barcode.
6868 await cameraEnhancer . open ( ) ;
6969 cameraView . setScanLaserVisible ( true ) ;
70- await cvRouter . startCapturing ( "ReadSingleBarcode " ) ;
70+ await cvRouter . startCapturing ( "ReadBarcodes_SpeedFirst " ) ;
7171 } catch ( ex ) {
7272 let errMsg = ex . message || ex ;
7373 console . error ( errMsg ) ;
Original file line number Diff line number Diff line change @@ -75,10 +75,10 @@ <h1>Hello World for ES6 (Decode via Camera)</h1>
7575 filter . enableResultDeduplication ( "barcode" , true ) ;
7676 await cvRouter . addResultFilter ( filter ) ;
7777
78- // Open camera and start scanning single barcode.
78+ // Open camera and start scanning barcode.
7979 await cameraEnhancer . open ( ) ;
8080 cameraView . setScanLaserVisible ( true ) ;
81- await cvRouter . startCapturing ( "ReadSingleBarcode " ) ;
81+ await cvRouter . startCapturing ( "ReadBarcodes_SpeedFirst " ) ;
8282 } catch ( ex ) {
8383 let errMsg = ex . message || ex ;
8484 console . error ( errMsg ) ;
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ <h1>Hello World (Decode via Camera)</h1>
1515 Results:< br />
1616 < div id ="results " style ="width: 100%; height: 10vh; overflow: auto; white-space: pre-wrap "> </ div >
1717 < script src ="
https://cdn.jsdelivr.net/npm/[email protected] /dist/dbr.bundle.js "
> </ script > 18+ < script src =". "> </ script >
1819 < script >
1920 /** LICENSE ALERT - README
2021 * To use the library, you need to first specify a license key using the API "initLicense()" as shown below.
@@ -68,10 +69,10 @@ <h1>Hello World (Decode via Camera)</h1>
6869 filter . enableResultDeduplication ( "barcode" , true ) ;
6970 await cvRouter . addResultFilter ( filter ) ;
7071
71- // Open camera and start scanning single barcode.
72+ // Open camera and start scanning barcode.
7273 await cameraEnhancer . open ( ) ;
7374 cameraView . setScanLaserVisible ( true ) ;
74- await cvRouter . startCapturing ( "ReadSingleBarcode " ) ;
75+ await cvRouter . startCapturing ( "ReadBarcodes_SpeedFirst " ) ;
7576 } catch ( ex ) {
7677 let errMsg = ex . message || ex ;
7778 console . error ( errMsg ) ;
Original file line number Diff line number Diff line change @@ -62,10 +62,10 @@ let cvRouter: CaptureVisionRouter;
6262 filter . enableResultDeduplication ( "barcode" , true ) ;
6363 await cvRouter . addResultFilter ( filter ) ;
6464
65- // Open camera and start scanning single barcode.
65+ // Open camera and start scanning barcode.
6666 await cameraEnhancer . open ( ) ;
6767 cameraView . setScanLaserVisible ( true ) ;
68- await cvRouter . startCapturing ( "ReadSingleBarcode " ) ;
68+ await cvRouter . startCapturing ( "ReadBarcodes_SpeedFirst " ) ;
6969 } catch ( ex : any ) {
7070 let errMsg = ex . message || ex ;
7171 console . error ( errMsg ) ;
Original file line number Diff line number Diff line change @@ -68,13 +68,13 @@ function VideoCapture() {
6868 throw Error ( componentDestroyedErrorMsg ) ;
6969 }
7070
71- // Open camera and start scanning single barcode.
71+ // Open camera and start scanning barcode.
7272 await cameraEnhancer . open ( ) ;
7373 cameraView . setScanLaserVisible ( true ) ;
7474 if ( isDestroyed ) {
7575 throw Error ( componentDestroyedErrorMsg ) ;
7676 }
77- await cvRouter . startCapturing ( "ReadSingleBarcode " ) ;
77+ await cvRouter . startCapturing ( "ReadBarcodes_SpeedFirst " ) ;
7878 if ( isDestroyed ) {
7979 throw Error ( componentDestroyedErrorMsg ) ;
8080 }
Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ onMounted(async () => {
5757 await cvRouter .addResultFilter (filter );
5858 if (isDestroyed ) { throw Error (componentDestroyedErrorMsg ); }
5959
60- // Open camera and start scanning single barcode.
60+ // Open camera and start scanning barcode.
6161 await cameraEnhancer .open ();
6262 cameraView .setScanLaserVisible (true );
6363 if (isDestroyed ) { throw Error (componentDestroyedErrorMsg ); }
64- await cvRouter .startCapturing (" ReadSingleBarcode " );
64+ await cvRouter .startCapturing (" ReadBarcodes_SpeedFirst " );
6565 if (isDestroyed ) { throw Error (componentDestroyedErrorMsg ); }
6666
6767 } catch (ex : any ) {
Original file line number Diff line number Diff line change @@ -80,10 +80,10 @@ <h1>Hello World for PWA</h1>
8080 filter . enableResultDeduplication ( "barcode" , true ) ;
8181 await cvRouter . addResultFilter ( filter ) ;
8282
83- // Open camera and start scanning single barcode.
83+ // Open camera and start scanning barcode.
8484 await cameraEnhancer . open ( ) ;
8585 cameraView . setScanLaserVisible ( true ) ;
86- await cvRouter . startCapturing ( "ReadSingleBarcode " ) ;
86+ await cvRouter . startCapturing ( "ReadBarcodes_SpeedFirst " ) ;
8787 } catch ( ex ) {
8888 let errMsg = ex . message || ex ;
8989 console . error ( errMsg ) ;
Original file line number Diff line number Diff line change @@ -69,13 +69,13 @@ function VideoCapture() {
6969 throw Error ( componentDestroyedErrorMsg ) ;
7070 }
7171
72- // Open camera and start scanning single barcode.
72+ // Open camera and start scanning barcode.
7373 await cameraEnhancer . open ( ) ;
7474 cameraView . setScanLaserVisible ( true ) ;
7575 if ( isDestroyed ) {
7676 throw Error ( componentDestroyedErrorMsg ) ;
7777 }
78- await cvRouter . startCapturing ( "ReadSingleBarcode " ) ;
78+ await cvRouter . startCapturing ( "ReadBarcodes_SpeedFirst " ) ;
7979 if ( isDestroyed ) {
8080 throw Error ( componentDestroyedErrorMsg ) ;
8181 }
You can’t perform that action at this time.
0 commit comments