python
pip install pyocr
python
import pyocr
python
tools = pyocr.get_available_tools()
python
from PIL import Image
image = Image.open('example.png')
python
print(text)
python
import pyocr
from PIL import Image
tools = pyocr.get_available_tools()
image = Image.open('example.png')
text = tool.image_to_string(image, lang='eng')
print(text)
python
languages = tool.get_available_languages()
print(languages)
python
tool = pyocr.get_ocr_tools()[0]
python
image = Image.open('example.png')