PiTextReader allows someone with impaired vision to “read” text from envelopes, letters and other items. It snapshots an image of the item, converts to plain text using OCR (Optical Character Recognition) and then speaks the text using text-to-speech.
The Reader is designed to be as absolutely simple to use as possible. No Internet needed, no graphical interface, only one button. Just place the item to be read onto the stand and press a button. After a few moments, the text will be read back to them.
This project has been forked from the original PiTextReader project by rgrokett.
It is developed by the french solidarity association My Human Kit and its volonteers.
The documentation is available (in french) in the wikilab
(The original documentation in english is available on the original repository in pdf)
install.sh
-- Installation scriptscripts/test.sh
-- Tests each component of the Readerscripts/focus.sh
-- Assist focusing camera using a PC browser
pirextreader.py
main scriptapp.py
main appconstantes.py
defines GPIO pins, default settings and command linesreader.py
OCR and text to speech functionplayer.py
manage audio playerserver_led.py
manage led lighting (neopixels)textreader.py
standalone script to test image to speech processeslogger.py
logging utilitiesscripts/
contains utility scripts described abovesounds/
contains helpers soundssandbox/
contains experimental and deprecated scripts
PiTextReader uses several command line utilities to perform image to speech:
- tesseract-ocr for OCR
- picoTTS for Text-To-Speech
- mplayer to play audio files