ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Check "NOR" in picture file
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jkc187

Republic of Korea
3 Posts

Posted - Jan 31 2021 :  02:58:01  Show Profile  Reply
Hello
There are "NOR" characters in the attached picture file.
We want to verify that the captured picture has "NOR" characters by OCR function.
What should I do?
I tested it with a Demo source, but the letter "NOR" is not recognized.
Another idea, like Pattern Matching Demo Source, is to check with Pattern, but the Demo program cannot run if there is an error.
If you have a good idea to check the letter "NOR" in the picture, please give me a demo source.





Insert Image:

xequte

38194 Posts

Posted - Jan 31 2021 :  18:22:54  Show Profile  Reply
Hi

I think the trick is to prepare the image for OCR.

I inverted the colors and stretched the color range. These are functions in TImageEnProc. I just did it quickly, whereas you would want to spend more time (e.g playing with TImageEnProc.DoPreviews) to find the optimal color conversion.

Here is the image I created. OCR was able to detect the NOR text and position.





Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: