NaturalHistoryMuseum / pyzbar

Read one-dimensional barcodes and QR codes from Python 2 and 3.
MIT License
718 stars 175 forks source link

Invalid CODE128 location #135

Open wqh17101 opened 2 years ago

wqh17101 commented 2 years ago

Hi,i run decode(img) and get

[Decoded(data=b'2102313JPY10MA011021', type='CODE128', rect=Rect(left=164, top=225, width=0, height=2), polygon=[Point(x=164, y=225), Point(x=164, y=227)], quality=2, orientation='UP')]

the text is right. but i do not know why the rect's width is 0

Minipada commented 1 year ago

I'm having the same issue, could you find a solution?

DimIsaev commented 11 months ago

I'm having the same issue, could you find a solution?