Answers for "python tesseract ocr an image"

5

ocr python library

import cv2 
import pytesseract

img = cv2.imread('image.jpg')

# Adding custom options
custom_config = r'--oem 3 --psm 6'
pytesseract.image_to_string(img, config=custom_config)
Posted by: Guest on November-08-2020

Code answers related to "python tesseract ocr an image"

Python Answers by Framework

Browse Popular Code Answers by Language