Python Code : Convert Image to text

'''
image to text converter....
sudo apt install tesseract-ocr
pip install Pillow
pip intall pytesseract
'''

from PIL import Image
from pytesseract import image_to_string

print(image_to_string(Image.open('ocr_scrap.jpg'), lang='eng'))

No comments:

Post a Comment

Featured post

A23 Rummy - Safe Secure Gaming Platform

A23 Rummy is a popular online rummy platform in India. It is owned and operated by Head Digital Works Private Limited. The platform offers...