QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Richard on January 27, 2021, 01:01:25 am
-
Is there any OCR (Optical Character Recognition) QB64 code (or API's etc) available to extract text from say a .BMP image?
Failing that, any good (free) 3rd party apps?
Prefer use what is available, rather than write code from scratch.
-
You’re a Window’s guy — do you have a copy of OneNote on your PC? It does OCR, and is free. https://www.onenote.com/Download
https://support.microsoft.com/en-us/office/copy-text-from-pictures-and-file-printouts-using-ocr-in-onenote-93a70a2f-ebcd-42dc-9f0b-19b09fd775b4
-
Do you guys recall @Ashish came up with a rudimentary routine that do just that, read text from an image. Very cool. I don't think he went forward with making into something completely usable, but maybe he did, and i just missed it. Anyone have the link here, to that?
Pete
-
@Richard This is the animal you want. As long as the text is legible and not background distorted works great. Multi-language capable.
http://capture2text.sourceforge.net/
-
Check this out: https://ocr.space/ocrapi
Use curl or something.
-
I've seen Basic coders working on this, try FreeBasic, Liberty or YABasic forums (YABASIC still active?)
assuming you want to work your own Basic code.
What, copy/paste from clipboard image maybe?
-
As Pete mentioned, I made this for fun :-
https://www.qb64.org/forum/index.php?topic=2470