Created
September 25, 2025 19:44
-
-
Save Downes/619be8953c3ad16ddffb9a83c4843901 to your computer and use it in GitHub Desktop.
OCR webp with Python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pip install easyocr | |
| Then create ocr.py | |
| import easyocr | |
| reader = easyocr.Reader(['en']) # supports many languages | |
| result = reader.readtext('page1.webp', detail=0) | |
| print("\n".join(result)) | |
| (put your webp filename in place of page1.webp ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment