Answers for "text recognition python"

5

text recognition 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
0

Python Text Recognition

import pytesseract
import cv2

img = cv2.imread('test.jpg')
img = cv2.resize(img, (720, 480))

cv2.imshow('Result', img)
cv2.waitKey(0)
Posted by: Guest on October-21-2021

Code answers related to "text recognition python"

Python Answers by Framework

Browse Popular Code Answers by Language