You are on page 1of 1

from PIL import image

import pytesseract
import cv2
import cv
img =cv2.imread('c:')
tex=pytesseract.image_to_string(image.open('c:'),lang='tel')
print(pytesseract.image_to_string(image.open('c:'),lang='elg'))
cv2.namedwindow("Input image")
cv2.imshow("input image",img)
cv2.waitKey(0)
cv2.destroyWindow("Test")
cv2.destroyWindow("Main")

You might also like