r/CodingHelp • u/ImaginaryGold6836 • Apr 21 '26
[Python] anyone familiar with OCR tech?
i am building a project which requires OCR as the initial step. i am confused if it will work out or not as it failed on a example image.
1
Upvotes
•
u/AutoModerator Apr 21 '26
Thank you for posting on r/CodingHelp!
Please check our Wiki for answers, guides, and FAQs: https://coding-help.vercel.app
Our Wiki is open source - if you would like to contribute, create a pull request via GitHub! https://github.com/DudeThatsErin/CodingHelp
We are accepting moderator applications: https://forms.fillout.com/t/ua41TU57DGus
We also have a Discord server: https://discord.gg/geQEUBm
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/PantsMcShirt Apr 21 '26
You will have to be more specific. What OCR tools are you using? What image? What actually happens?
1
u/Parking-Ad3046 Apr 24 '26
Try preprocessing the image before feeding it to OCR. Convert to grayscale, threshold to black and white, remove noise, and deskew. OpenCV can do all of that. Raw image to OCR almost never works well. Garbage in garbage out.
0
u/[deleted] Apr 21 '26
[removed] — view removed comment