-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Customize BarcodeDetector #20
Comments
@punksta I donot fully understand what you are proposing here. Can you provide me with more details. |
@nisrulz added samples; |
@punksta I think using Singleton would be a nice change as cases of having multiple instances of the same QREader class are very less. However I would not want to extend QREader to start supporting other reading capability just because I made it specifically to read QRCodes. However there is no harm in providing a config function that open ups the functionality if its desired. The way of implementation should be in such a way that it does not alienate the api to deviate from its core cause of reading QRCodes. Would love to hear your thoughts on this too. |
@nisrulz |
What do you think about features:
com.google.android.gms.vision.barcode.BarcodeDetector
as singleton by default instead of creating new instance inside init() function. Do we really need different detectors in different readers?I already made it in my project and can make PR. But I'm not sure about first case.
The text was updated successfully, but these errors were encountered: