File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ import com.dynamsoft.dce.CameraEnhancer;
2727DSRect scanRegion = new DSRect ();
2828scanRegion. top = 0.1f ;
2929scanRegion. bottom = 0.9f ;
30- scanRegion. right = 0.1f ;
31- scanRegion. left = 0.9f ;
30+ scanRegion. right = 0.9f ;
31+ scanRegion. left = 0.1f ;
3232scanRegion. measuredInPercentage = true ;
3333try {
3434 // mCameraEnhancer is an instance of com.dynamsoft.dce.CameraEnhancer.
@@ -43,8 +43,8 @@ NSError* err = nil;
4343DSRect* scanRegion = [[DSRect alloc ] init ];
4444scanRegion.top = 0.1 ;
4545scanRegion.bottom = 0.9 ;
46- scanRegion.right = 0.1 ;
47- scanRegion.left = 0.9 ;
46+ scanRegion.right = 0.9 ;
47+ scanRegion.left = 0.1 ;
4848scanRegion.measuredInPercentage = YES ;
4949// dce is an instance of `DSCameraEnhancer`.
5050[dce setScanRegion: scanRegion error:&err] ;
You can’t perform that action at this time.
0 commit comments