Can’t you use camera on browser? I actually seen a project that does some complex things using camera [1] and it ran in browser. I’m confident scanning bar codes is possible.
Why the heck would you build that on residential area anyway? SimCity taught me since I was a kid that industrial factories and windmills shouldn’t be built beside houses