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: Scan Multiple QR Codes at once #137

Closed
3 of 7 tasks
talhabinkhalil opened this issue Mar 14, 2024 · 5 comments
Closed
3 of 7 tasks

feat: Scan Multiple QR Codes at once #137

talhabinkhalil opened this issue Mar 14, 2024 · 5 comments

Comments

@talhabinkhalil
Copy link

Plugin(s)

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

Current problem

I am facing a scenerio in which there are 5 different QR codes at a place. I want a feature which enables the user to scan all of them at once and then select value of his own choice.

Preferred solution

Barcode Scanner should detect multiple qr codes from camera and then allow the user to select only single value from these scanned values.

Alternative options

No response

Additional context

No response

Before submitting

@robingenz
Copy link
Member

This is a feature that you should build into your app. The plugin already offers you all the functionalities for this. For this reason, i'm closing this issue as not planned.

@robingenz robingenz closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2024
@talhabinkhalil
Copy link
Author

@robingenz
thumbnail_Outlook-mvuncuzp
Here is the image attached, scanner only scans one QR code at once. Does it provide the functionality to scan all of them ? I am using scanner camera to scan the code.

@robingenz
Copy link
Member

For example, the readBarcodesFromImage(...) methods returns an array of barcodes, see https://capawesome.io/plugins/mlkit/barcode-scanning/#readbarcodesfromimageresult.

@talhabinkhalil
Copy link
Author

@robingenz i have explored this function , But I want that feature on scanning instead of QR CODES Image. Does this package provide scanning multiple QR codes on scanning instead of reading codes from image ?

@robingenz
Copy link
Member

Oh, you should have mentioned that in your issue. Currently the barcodeScanned listener fires once per qrcode, see:


You could let the user scan until no new barcodes are recognized. Alternatively, I could adapt the listener so that it returns all barcodes at once. But even then, there is no guarantee that the ML Kit Barcode Scanning SDK will recognize all barcodes on the first scan.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 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