Hey, author of the post here. Detecting the barcode is actually the easy part. Reading the barcode is substantially harder. And there are many different types of barcode variations. It's not a simple problem, unfortunately. However, this approach could be used to read the barcode. I'll add a post related to reading the barcode to queue though! Thanks for the great feedback.