0

I'm using Google vision for a week now. but the problem is, when it sees multiple barcodes, it randomly chooses any barcodes & returns only one string. I'm trying to get all the barcodes it sees.

Barcode

In the picture above, there are multiple Barcodes. Right now, for one barcode, I'm doing this in BarcodeCaptureActivity:

@Override
    public void onBarcodeDetected(Barcode barcode) {
        //do something with barcode data returned

        Log.d(TAG, "...::: BARCODE :::...");
        Log.d(TAG, "" + barcode.rawValue);
        Log.d(TAG, "...::: BARCODE :::...");

    }

I'm trying to make it return an array of string with all the barcodes. But how to do it?

gabikefiv
  • 1
  • 1

0 Answers0