sksjohny22 Posted February 26, 2016 Share Posted February 26, 2016 hello, I've build some very basic ocr engine (that heavily relies on distinguishing pixel colors) for my own needs, it works fine but I ran into a big problem, on one of my computers, white letters have only white pixels, but on other computer, white letters have multiple pixels of different colors with single letter I don't really have a problem, but with multiple letters what also happens is that there is no visible space between and letters kinda "merge" together also on 3rd computer I'm using it, the pixel colors changed from one day to other so I'm pretty sure there has to be a way to "fix" this thank you for your ideas Link to comment Share on other sites More sharing options...
JohnQSmith Posted March 4, 2016 Share Posted March 4, 2016 I can't see your images, but am pretty sure your issue is sub-pixel font rendering. Try turning off "ClearType" in your display settings while running your script to make the text stay the same color. Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes". Link to comment Share on other sites More sharing options...
AndyG Posted March 5, 2016 Share Posted March 5, 2016 Hi, On 26.2.2016 at 1:19 PM, sksjohny22 said: some very basic ocr engine......white letters have multiple pixels of different colors.... you discovered the first step to ocr: "normalize" the letters to read them with your script. Think about something to make the letters more "readable" i.e. less colors? Two colors may be enough... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now