Android Question how to exclude unnecessary scanner triggers in this example ?

vmag

Active Member
Hello,
There is a good example of a scanner in this link.
But I can't solve one problem: - When scanning barcodes, especially ean-13, the same barcode is detected up to 10 times. How can I pause after the first barcode detection for at least 3 seconds to eliminate unnecessary repeated definitions of the same barcode. Blocking repetitions of values is not suitable, since sometimes you need to scan the same barcodes, but for this there should be a pause from false positives.
Many thanks to all those who are not indifferent!
 

vmag

Active Member
I got out of the situation using a standard timer. After the first detection, you need to perform the "StopCamera" procedure, after that, after 1-3 seconds, you need to perform the "StartCamera" procedure. The next example improvement may be the addition of a vibration signal. Thank you all, sorry for the trouble.
 
Upvote 0
Top