https://github.com/syntaxerror019/ocr
An accurate OCR detection script written in Python!
https://github.com/syntaxerror019/ocr
Last synced: 10 months ago
JSON representation
An accurate OCR detection script written in Python!
- Host: GitHub
- URL: https://github.com/syntaxerror019/ocr
- Owner: syntaxerror019
- Created: 2024-05-16T19:43:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-16T20:08:45.000Z (about 2 years ago)
- Last Synced: 2025-02-28T18:46:25.335Z (over 1 year ago)
- Language: Python
- Size: 934 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# OCR Detection (individual characters)
This script uses pytesseract to identify specific letters in an image, not a whole string. This is useful for identifying letters in images, or automating word games...
Check out main.py for an annotated script that you can use in any way for your own projects.
I found using pytesseract to be a real struggle to extract individual letters reliably, but this is about as dialed in and tuned up script I could write and it seems quite accurate.
Here is a quick demo showing the results and accuracy of this script...
Before running the script (Original image):

After running the script (Modified image):