Accessibility
October 24, 2016 ยท View on GitHub
Overview
This Node-RED accessibility flow takes written documents and converts them to the spoken word for the visually impaired.
The flow uses the Camera and Play Audio nodes with the Watson Visual Recognition and Text-to-Speech services to enhance system accessibility.
Node-RED will:
- Capture an image from the device camera
- Recognise any text in the image
- Extract the interpreted text
- Convert the text to spoken word
- Play the audio output from the device's speakers
Application flow

Flow description
- The
cameranode will capture a still image from the device webcam when you click the button. - The
visual recognitionservice takes the buffer sent from the camera node and parses it to determine if there are any words in the image. - Next the flow calls
move msg.resultto retrieve the string from thevisual recognitionservice and set that to themsg.payloadobject required by the rest of the flow. - Watson
Text-to-Speechservice then takes the string interpreted from the image and converts it to the spoken word - The flow then sets the
msg.payloadobject required for theplay audionode. - Finally the
play audionode broadcasts the spoken word from the device's speakers
Gotchas
- The
cameranode has a 2000ms delay to prevent slow camera driver startup causing an issue in some browsers - The
Visual Recognitionservice is currently in dark beta, as a result there may be breaking changes without warning. We'll do our best to keep up with these changes - but if you find a bug please let us know by submitting an issue against this GitHub repo.