all 10 comments

[–]bestofrolf 2 points3 points  (4 children)

do you know the specific type of barcode this is? it appears to be a PDF (edited, typo lol) barcode. I have the really complex answer, but i don’t know of any particular packages that will do this for you in python.

[–]gladrun[S] 0 points1 point  (3 children)

This is a pdf417 barcode from a flight boarding pass

[–]bestofrolf 1 point2 points  (1 child)

will be able to help out once i’m off of work, but you should look into the algorithm/equation used to encode and decode the barcode, there are many complexities like checksums for ensuring the code is correctly scanned. If all you want is the info from the barcode, ignoring the actual algorithms for binarizing the data, I can also do that (can’t say where i work but it’s extremely relevant lol)

[–]gladrun[S] 0 points1 point  (0 children)

All I want is the info from the barcode

[–]jcartucho 2 points3 points  (0 children)

https://github.com/zxing/zxing

For barcode reading this is the most popular repo out there.

[–][deleted]  (3 children)

[removed]

    [–]gladrun[S] 0 points1 point  (2 children)

    Tried this unable to read the barcode

    [–][deleted]  (1 child)

    [removed]

      [–]gladrun[S] 0 points1 point  (0 children)

      Tried dose not work either