Circular image converted to linear form.I am trying to extract the text present on circular rod using opencv function calls in python. I am able to convert the image to linear by following Read circular text using OCR When I pass this converted image to pytessaract image_to_string(), I am geeting output but it is not 100% accurate.
print(pytesseract.image_to_string(img,config='--psm 9 --oem 1 -c tessedit_char_whitelist=ABCDEFGHIJKLMNOPQRSTUVWXYabcdefghijklmnopqrstuvwxyzZ0123456789 '))
Expected Output - 6302 ART TURKIYE 02ZN1002F20 4 Actual Output - 3152 ART TURKiYE 021R 1 0025259 4
I am using pytesseract library
and I don't want to use any paid tools to extract the data.