You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im using pyzbar to detect and decode barcodes in an jpg.
This jpg has multiple barcodes, but I need the Code128 one.
However, pyzbar only detects a sinlge barcode (its a Code39).
I have to cover the other barcode, in oder to detect the Code128 one.
I also tried to set the symbols argument to Code128, but doesnt work.
Im using pyzbar to detect and decode barcodes in an jpg.
This jpg has multiple barcodes, but I need the Code128 one.
However, pyzbar only detects a sinlge barcode (its a Code39).
I have to cover the other barcode, in oder to detect the Code128 one.
I also tried to set the symbols argument to Code128, but doesnt work.
The original image:
![2](https://private-user-images.githubusercontent.com/73551199/380665357-bac76854-80ae-43fb-926f-066cef6df7d3.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzU0OTgsIm5iZiI6MTczOTAzNTE5OCwicGF0aCI6Ii83MzU1MTE5OS8zODA2NjUzNTctYmFjNzY4NTQtODBhZS00M2ZiLTkyNmYtMDY2Y2VmNmRmN2QzLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE3MTk1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg1ODg1ZjJjZTE2NGQ5ZWVhZDljMGI5OTcwMjcyYjk3OTE1OWE0NWE3ZGNhMzk0ZGQ3N2YyMWIyNTQwMjZlZDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.yftBRxhJ338g785QMS5e72oY8f6c4fDZwq7navGzX-E)
The image with the covered barcode:
![2_test](https://private-user-images.githubusercontent.com/73551199/380665452-805dd88c-5d98-405b-9799-e1b65b0cc1c2.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzU0OTgsIm5iZiI6MTczOTAzNTE5OCwicGF0aCI6Ii83MzU1MTE5OS8zODA2NjU0NTItODA1ZGQ4OGMtNWQ5OC00MDViLTk3OTktZTFiNjViMGNjMWMyLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE3MTk1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEzNWM4YWY4MWQ5NjcxOTYxMDNiNDMzOGRkMDRmYjA0ZTdjNjAwNmI3OWQzZTZlNGZlZjVlNmZiYzY1YzRjMTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.R233tGMqd5XIrY8q3UsIAxYe5OxzRhSEWsB3Yy-5D8Y)
This is my code:
and Im getting following result:
[Decoded(data=b'0002', type='CODE39', rect=Rect(left=143, top=3296, width=6, height=0), polygon=[Point(x=143, y=3296), Point(x=149, y=3296)], quality=2, orientation='LEFT')]
[]
[Decoded(data=b'MO24-000830-1', type='CODE128', rect=Rect(left=154, top=6381, width=52, height=0), polygon=[Point(x=154, y=6381), Point(x=206, y=6381)], quality=10, orientation='LEFT')]
The text was updated successfully, but these errors were encountered: