ravi8x / Barcode-Reader

Android barcode reader using google vision library
BSD 3-Clause "New" or "Revised" License
294 stars 183 forks source link

Disable Multiple detection of barcodes #10

Open jpabanil opened 6 years ago

jpabanil commented 6 years ago

Need help on this asap plz

ravi8x commented 6 years ago

Whats the problem. You can just ignore the callback, instead consider only single read callback.

ghost commented 6 years ago

can you explain

AlekseyDanilov commented 5 years ago

Need help on this asap plz can you explain

If I correctly understood your question, then you should ignore the onScannedMultiple call, that is, do not perform any actions inside the method. Like this: @Override public void onScannedMultiple(List<Barcode> barcodes) { Log.e(TAG, "onScannedMultiple: " + barcodes.size()); }