Does anybody have an idea about how to read text from an image, using freepascal?
There are lots of fonts, and so on, but it would be rather interesting to make able fpc to read from jpegs or gifs, since on the net there is so much information stored in images.
Mailing lists / fpc-pascal / 2006-12
Reading text from images
6 messages · 5 people · –
- AAdrian Maier 2
- AAntal 1
- DDarius Blaszijk 1
- MMarc Santhoff 1
- MMarco van de Voort 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
This technique is called OCR. No idea if there is a pascal implementation, but it should not be too hard to make one. It's based on neural networks that "learn" to recognize any character from any font.
Darius
Earlier message 15 lines
Darius Blaszijk wroteThis technique is called OCR. No idea if there is a pascal implementation, but it should not be too hard to make one. It's based on neural networks that "learn" to recognize any character from any font.
Hi,
There is little use in reinventing the wheel and implement ocr from scratch.
I think the best way is to use an existing software from fpc , for example GOCR:
http://jocr.sourceforge.net/
GOCR is based on a shared library, which means that it shouldn't be difficult to
call the functions from freepascal.
Cheers,
Adrian Maier
Show quoted text 22 lines
Show quoted text 15 lines
If it is C. If it is C++, it is a different story.
Marco van de Voort wrote 17 lines
I know that. But it seems to be C (even though it's not explicitly specified in the software description on their site).
http://jocr.sourceforge.net/api/dox/globals.html
Adrian Maier wrote 22 lines
It is C, I've installed it here (not actually using it).
Besides that there are at least:
Ocrad: http://www.gnu.org/software/ocrad/ocrad.html Clara: http://www.claraocr.org/
HTH,
Marc
