It seems that the library can only detect one barcode? The [pyzxing](https://pypi.org/project/pyzxing/) can read multiple barcodes but it is too slow as it runs java -jar every time.