To assist his mom in reading a labels of her groceries, Russell Grokett related a laser barcode reader to a Raspberry Pi Zero W to review out a names of scanned item.
Exploring accessibility issues
As his mom is no longer means to review a labels on her groceries, Russell Grokett started exploring accessibility inclination to assistance her out. When he came opposite cost barcode readers, he motionless to take matters into his possess hands.
Camera vs scanner
Originally opting for a camera to review a codes, Russell encountered issues with light and camera angle. This forced him to consider of a new option, and he shortly altered his antecedent to embody a laser barcode reader for around $30. The combined reward was that Raspbian upheld a reader out of a box, shortening a need for pattern — always a and for any maker.
No internet, please
With a issues of a camera orderly resolved, Russell had another barrier to overcome: a device’s internet access, or miss thereof, when his mom was out of operation of WiFi, for instance during a store.
Another pivotal requirement was that this should work WITHOUT an internet connection (such as during a store or friend’s house). So a database and text-to-speech had to be self-contained.
Russell tackled this by scouring a internet for open-source UPC formula databases, collecting barcode information to be stored on a Raspberry Pi. Due to cost (few databases are accessible for free), he was forced to tack together pieces of information he could find, resigning himself to inputting new information manually in a future.
I was means to put a integrate open-source databases together (sources in appendix below), yet even with scarcely 700000 equipment in it, a immeasurable series are missing.
To this end, we have finished dual things: one is to concentration on grocery equipment specifically, and a other is to supplement a webserver to a Raspberry Pi to concede adding new UPC codes manually, yet this does need during slightest internal network connectivity.
Read it aloud
For a text-to-speech duty of a project, Russell used Flite, as this interface creates a healthy concede between peculiarity of audio and speed. As he explains in his Instructables tutorial, we can find out some-more about regulating Flite on a Adafruit website.
In sequence to say a handheld distance of a scanner, Russell used a Raspberry Pi Zero W for a project, and he repurposed his audio setup of a prior build, a Earthquake Pi.
Make your own
Find a full relapse of a build, including ingredients, code, and destiny skeleton on Instructables. And while you’re there, be certain to check out Russell’s other Raspberry Pi–based projects, such as PiTextReader, a DIY text-to-speech reader; and a aforementioned Earthquake Pi, a light-flashing, box-rattling trembler indicator for your desk.
Source: Raspberry Pi blog, created by Alex Bate.
Comment this news or article