File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,10 @@ settings.roi.points[2] = {x:90, y:90};
3333settings .roi .points [3 ] = {x: 10 , y: 90 };
3434// Update the settings to a specific template.
3535await router .updateSettings (" ReadSingleBarcode" , settings);
36-
36+ // ============================================================
3737// Alternatively, you can set the scan region directly at the image source in a simpler way.
3838// If you’re using Dynamsoft Camera Enhancer, the following example demonstrates
3939// how to specify a single scan region without modifying the template.
40-
4140let cameraEnhancer = await Dynamsoft .DCE .CameraEnhancer .createInstance ();
4241cameraEnhancer .setScanRegion ({
4342 x: 10 ,
@@ -46,7 +45,6 @@ cameraEnhancer.setScanRegion({
4645 height: 80 ,
4746 isMeasuredInPercentage: true ,
4847});
49-
5048```
5149>
5250``` c++
You can’t perform that action at this time.
0 commit comments