Commit 8d91e243 authored by salecha sravan kumar jain's avatar salecha sravan kumar jain
Browse files

ocr code2

parent 25c880c6
import cv2
import pytesseract
from PIL import Image
img=Image.open("tel.jpeg")
tex=pytesseract.image_to_string(img,lang="tel")
print(pytesseract.image_to_string(img,lang="tel"))
cv2.namedWindow("input image")
cv2.imshow("input image",img)
cv2.destroyWindow("Test")
cv2.destroyWindow("Main")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment