You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=samples&product=dbr&package=js to get your own trial license good for 30 days.
20
+
* Note that if you downloaded this sample from Dynamsoft while logged in, the above license key may already be your own 30-day trial license.
21
+
* For more information, see https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html?ver=10.4.2001&cVer=true#specify-the-license&utm_source=samples or contact support@dynamsoft.com.
22
+
* LICENSE ALERT - THE END
23
+
*/
24
+
25
+
// Optional. Used to load wasm resources in advance, reducing latency between video playing and barcode decoding.
26
+
CoreModule.loadWasm(["DBR"]);
27
+
// Defined globally for easy debugging.
28
+
letcameraEnhancer: CameraEnhancer;
29
+
letcvRouter: CaptureVisionRouter;
30
+
31
+
(async()=>{
32
+
try{
33
+
// Create a `CameraEnhancer` instance for camera control and a `CameraView` instance for UI control.
0 commit comments