-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto Zoom not working #10
Comments
Which platform do you run into? What do you mean by "not working"? Please describe your problem with more details. |
Both android and iOS. In recent v 1.3.0 we got new feature |
The "auto-zoom" feature means when you get close to a barcode with your device camera, AND the barcode is not decoded, the SDK will try to zoom in the lens to make the barcode bigger then try it a second time. |
ExpectedScreen_Recording_20241114_121958_Barcode.Scanner.X.1.1.mp4
|
The auto-zoom feature is designed to zoom-in to close-up to the
You might see the auto-zoom is triggered sometimes when there doesn't exist a barcode. That's because the algorithm might mis-localize something else as a barcode. |
I've tried placing the barcode in the scan region even though it's not working. Note: I tried dynamsoft mobile app from playstore. There is no need of the barcode in the camera to trigger auto zoom. You can try it out. Is there anything else to add in code or anything to enable at license level? |
I copied your code into a Flutter project and run. All things work fine. Be sure you are not using any API about "setAutoZoomRange()" or other controls of the camera zooming. 4_1731648637.mp4 |
It is taking more than 10 secs to auto zoom. I'll try again placing the barcode in scan region. Thankyou. |
I tried all possible cases where the library could auto-zoom to the barcode. None of them worked. Definately the library algorithm needs improvement. |
Hi @Raviteja11122 |
I've enabled auto zoom feature by using below line but it's not working
await _cameraEnhancer?.enableEnhancedFeatures(EnumEnhancedFeatures.EF_AUTO_ZOOM);
The text was updated successfully, but these errors were encountered: