mlkit icon indicating copy to clipboard operation
mlkit copied to clipboard

[Feature request] GmsBarcodeScanner to detect multiple bar codes or with filter option

Open satz5 opened this issue 3 years ago • 1 comments

What's your feature request? Please describe. As part of GmsBarcodeScannerOptions in the code scanner beta, I would like to have the option to scan list of bar codes appear on the screen. Or when multiple barcode is visible in camera, I should configure to detect only a particular barcode based on length or string starts with along with the format.

Mobile environment Android, IOS or both

satz5 avatar Jul 20 '22 20:07 satz5

+1, wish something like this

.addOnCodeDetectedListener { barcode: Barcode ->
        codeList.add(barcode)
        return@addOnCodeDetectedListener codeList.size() >= 3 // End scanning if got 3 codes.
      }

andreas-kkday avatar Aug 29 '22 08:08 andreas-kkday