-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
Frame-Focusing Scanner on Android #200
base: master
Are you sure you want to change the base?
Conversation
Removed unused CentralBarcodeFocusingProcessor.java
any updates on this one as this feature is needed |
I think you can clone from my branch if you would like to use it. |
Thank you @Jayson1999 Appreciate it! I guess the owner of this repo is not active since last 6-7 months. God knows!! |
Hey @Jayson1999 So I got this error when I was building the project!
Please let me know. |
Hey @Jayson1999 So I got this error when I was building the project!
Please let me know. |
Hi, might need some weekends to look into it. In the meantime, feel free to explore around it and share with me the good news if you have one! |
@utsavDave97 Tested mine was working well... Mind sharing your use case and the complete trace log? |
Hey @Jayson1999 |
As the Google's API used in Android for barcode scanning only comes with whole-screen scanning. The UI of the barcode scanning shows a focus-frame in the center of the screen, thus indicating users that the barcode in the frame will be detected.
However, in the case like the above screenshot where multiple barcodes are shown in the screen, the barcode reader will have to pick between the 2 barcodes. Therefore, enhancement has been implemented with a sub-class to read only the barcode inside the frame by cropping accordingly to the frame's size. This can help to prevent constantly receiving wrong barcode in the Single-Scan mode where the Activity will close and return the result instantly upon detecting a barcode. The detection may always be too fast for user to be able to single-tap to select the targeted barcode or even try the zoom gesture, so I feel that the enhancement might be helpful in scenarios.
Hopefully this request can be reviewed and thank you for the time.