DEV Community

Rob Lauer
Rob Lauer

Posted on • Originally published at blog.tbcdevelopmentgroup.com

1

Containerizing a QR Code Reader

Credit: Flavio Polleti

Flavio Poletti recently blogged about using Barcode::ZBar for reading QR codes. In a previous life I have written applications for workflows that involved reading QR codes from documents and have also used Barcode::ZBar very effectively...highly recommended.

Back then, iirc I had quite a struggle satisfying all of the dependencies required to get it actually work. I spent a little time after reading his article to see I could successfully build it once more, this time in a Docker container. The result is this project:

docker-barcode-zbar

It was a little difficult piecing together the required packages, but in the end it works!

Next, I may create a webservice from the container and install it on a Fargate cluster. The service will allow you to upload .png files and scan them for QR codes. Stay tuned!

Other Links of Interest

Retry later

Top comments (0)

Retry later
Retry later