Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pytesseract.image_to_data(img output_type=output.dict)

from pytesseract import Output

pytesseract.image_to_data( img, output_type=Output.STRING ) #returns string
pytesseract.image_to_data( img, output_type=Output.DICT ) #returns a dict
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
2+4 =