I am trying to read text encoded in barcode - I am using pyzbar
like this:
from pyzbar import pyzbar
import cv2
img = cv2.imread("example/path")
barcodes = pyzbar.decode(img, symbols=[pyzbar.ZBarSymbol.CODE128])
print(barcodes)
It normally works, but in the last batch of barcodes that I have received, pyzbar
cannot read them - output of pyzbar.decode
is []
. There is one example: