MobileVisionBarcodeScanner icon indicating copy to clipboard operation
MobileVisionBarcodeScanner copied to clipboard

How to set SINGLE_AUTO to the Barcode Scanner?

Open jpabanil opened this issue 8 years ago • 2 comments

Hi,

I would like to set SINGLE_AUTO to the Barcode Scanner. How can I possible do that? I need to solve it asap.

jpabanil avatar Dec 04 '17 03:12 jpabanil

kindly explain what you mean by SINGLE_AUTO. If it is what i think , the snippet below should be able to help.

barcodeCapture.setSupportMultipleScan(false);
barcodeCapture.setTouchAsCallback(false);

This will allow a single scan and would not require the user taping the screen to process the frame.

KingsMentor avatar Dec 04 '17 07:12 KingsMentor

This is the solution I want

https://stackoverflow.com/questions/42112519/how-to-disable-multiple-barcode-detection-android-vision-api

jpabanil avatar Dec 11 '17 04:12 jpabanil