OCR - turning your photo into text
Posted: Fri May 31, 2013 12:08 am
I thought I'd throw a quick HOWTO for converting a page of a book into text -Optical Character Recognition (OCR)
Take a photo of your page:
Convert it to text (OCR):
This can take the Pi anything from 1 to 10 minutes depending on the image...
Then you have a text file called pagetext.txt
Code: Select all
sudo apt-get install tesseract-ocrCode: Select all
raspistill -o page.jpg
Code: Select all
tesseract page.jpg pagetext
Then you have a text file called pagetext.txt
Code: Select all
cat pagetext.txt