I need to recognize these two types of labels.
zBar does recognize some of the barcodes sometimes, but I'd need to catch the ones that it doesn't and detect the label, so I can try and straighten up the label, maybe enhance it with thresholding or other techniques, and more importantly, being able to cut the pieces of the label to send them to OCR so I have a fallback method for unreadable barcodes.
Any suggestions?
I'm using OpenCV 2 and Python 3.6