what I want to do is a image recognition is
given image (5000 × 3500) dimension (white background)
the image will have geometric figure as well as alphanumerical
python will do the recognition of.
what I want to do is a image recognition is
given image (5000 × 3500) dimension (white background)
the image will have geometric figure as well as alphanumerical
python will do the recognition of.
Just using the pytesseract
library will solve your problem.
First install the necessary libraries with the following pip command:
pip install pytesseract, Pillow
After you have successfully done this, you can run the following code.
try:
from PIL import Image
except ImportError:
import Image
import pytesseract
print(pytesseract.image_to_string(Image.open('test.png')))