pytesseract.image_to_string(Image.open('test.png' code example Example: pytesseract pip install pytesseract