Skip to content
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

feat: Barcode scanner sometimes get bad value of EAN13 #95

Closed
1 of 5 tasks
zavovi opened this issue Nov 10, 2023 · 4 comments
Closed
1 of 5 tasks

feat: Barcode scanner sometimes get bad value of EAN13 #95

zavovi opened this issue Nov 10, 2023 · 4 comments

Comments

@zavovi
Copy link

zavovi commented Nov 10, 2023

Plugin(s)

  • Barcode Scanning
  • Face Detection
  • Face Mesh Detection
  • Selfie Segmentation
  • Translation

Current problem

Hello, I am using your barcode scanner in my new app and sometimes the read data are bad.

Preferred solution

Please, is it possible to add some settings for read it twice or three times and compare? Or some any other alghoritm for check, if it is ok?

Thank you very much!

Alternative options

No response

Additional context

No response

@robingenz
Copy link
Member

This is already possible if you use the "startScan(...)" method and create the user interface yourself. There you have full control and can decide for yourself when you want to stop the scan.
Therefore, I do not plan to add this feature to the "scan(...)" method.

@robingenz robingenz closed this as not planned Won't fix, can't repro, duplicate, stale Nov 10, 2023
@zavovi
Copy link
Author

zavovi commented Nov 10, 2023

This is already possible if you use the "startScan(...)" method and create the user interface yourself. There you have full control and can decide for yourself when you want to stop the scan. Therefore, I do not plan to add this feature to the "scan(...)" method.

Oh, thank you very much for this information. I will more study startScan(...) and I will try it. Please, have you got any example, how can I use startScan?

@robingenz
Copy link
Member

Sure, this is the official demo app: https://github.com/robingenz/capacitor-mlkit-plugin-demo

@zavovi
Copy link
Author

zavovi commented Nov 10, 2023

Thank you very much, that solved my issue! I reworked whole par of reading EAN in my app.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants