-
-
Notifications
You must be signed in to change notification settings - Fork 530
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
.analyzeImage() is not working as expected #1271
Comments
The Some further clarifications: On Android both the camera output (via
On iOS and MacOS (post the Vision API migration, hence the different source branch in this comment), both
I wonder though, if you test on the latest beta (7.0.0-beta.3), does this work on iOS and MacOS ? |
I'm currently using 7.0.0-beta.3, and overall, the However, I've encountered an issue where the Is this a known issue? is there any workaround or planned fix to address this behaviour? |
@sharathguvvala I fixed that yesterday in #1274 but I haven't released a new beta version yet. I'll do that later today, so that you can test further. |
Thanks for the update! I'll test it as soon as the new beta version is released and share my feedback. |
Version 7.0.0-beta.4 includes the fixes for |
I got similar issue. Tried with version 7.0.0-beta.4 and it works for me. Thanks! |
I’m experiencing an issue with the
analyzeImage()
method in the Mobile Scanner Flutter package. The BarcodeCapture object is often returned as null if the image contains extra content, while it works better when the image has just the barcode.My use case involves capturing a clear image for barcode detection. Using
barcodes.listen
captures barcodes immediately, but the images are often shaky or blurry. Since the package doesn’t support direct image capture, I’ve implemented a workaround using the camera package to let users confirm the image before passing it toanalyzeImage()
.I need to achieve the following:
Successful Detection
Detection Failed
In this case, analyzeImage() fails to detect the barcode despite it being visible. However, the same barcode is successfully detected if I use the
barcodes.listen
method.Could you clarify:
barcodes.listen
use for barcode detection?analyzeImage()
achieve the same detection reliability?I appreciate your guidance on resolving this issue.
The text was updated successfully, but these errors were encountered: