Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need a Linux-based server that can be setup to receive images and transform them into text that will be inserted into a database. Is that possible, especially via an API to allow the organization to interact with the service if need be?

share|improve this question
up vote 3 down vote accepted

Teseract seems to be the best.

Reviews seem to say it is the only one that beats retyping things.

Do people not google any mone? 5 min reading what I pulled up with "linux ocr" as my search terms.

share|improve this answer
@Ronald Pottol I did Google for OCR in Linux and I found among other tesseract and gocr, but I was curios to see if there was some similar application that can be used as a server and which I possibly missed in my search. This is the reason that I asked such a general question. – crazybyte Mar 2 '10 at 12:21
Ah, I know the feeling (I've asked questions that I had researched well hoping for better answers). – Ronald Pottol Mar 2 '10 at 21:37

I had a project that required OCR. You can use GOCR for the OCR part. For conversion into pbm  image format you can use djpeg. If you need in to be integrated with web, you can call conversion/ocr from PHP, also from  here to implement DB saving.

share|improve this answer
Here are the links: GOCR: djpeg: – mxg Feb 28 '10 at 20:12

I'd set up a message queue and submit tasks to it for processing. All you'd really need to do is upload the file as an image to a shared storage platform, maybe GlusterFS or similar, then push the filename and path into a message queue, for processing. All you'd need to do then is set up a process to listen to the queue, and run gocr on it, pushing the output data into your database..

Easy.. In Theory. ;)

share|improve this answer
Thanks for the suggestion. I had a similar (if not the same) idea. I wanted only to see if wasn't there an already developed server application that can be used. – crazybyte Mar 2 '10 at 12:23
I doubt there is. There's lots of components all pre-made and available, the message queue, database, shared storage, OCR package. All you need to do is provide the Glue. – Tom O'Connor Mar 2 '10 at 15:22
There is such a server, but it's not free or open source. – crazybyte Mar 3 '10 at 7:56

Have you looked at WatchOCR? It is a free and open source OCR server that transforms image only PDFs into text searchable PDFs from a watched folder or network share.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.