Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to get barcode-details in python #4

Open
jkrenzer opened this issue Feb 16, 2018 · 5 comments
Open

Add possibility to get barcode-details in python #4

jkrenzer opened this issue Feb 16, 2018 · 5 comments

Comments

@jkrenzer
Copy link

Hi!

It would be really helpfully to make the details of the barcodes (raw, type, points) as provided by ZXing-cpp accessible to the python-user. Use-cases are f.e. overlay of a tooltip wiht barcode-data and meta-information in a scanned document.

Possible solution without breaking running projects would be another function for getting all barcodes with details.

Cheers

Jörn

@lubo
Copy link
Owner

lubo commented Feb 16, 2018

Hi, @jkrenzer. I like this idea, but I'm currently not interested in implementing it myself. As always, pull requests are welcome.

@kousu
Copy link
Contributor

kousu commented Mar 20, 2019

I want this too. I'm going to implement it. I want to be able to do https://cozmo.github.io/jsQR/ in python.

@kousu
Copy link
Contributor

kousu commented Mar 31, 2019

I've implemented this in #8!

@kousu
Copy link
Contributor

kousu commented Mar 31, 2019

Something that my PR doesn't cover (and which is a much bigger issue) is text vs binary mode. My intuition is that a binary mode QR code should read as bytes, and all other modes as str (or unicode for python2).

@kousu
Copy link
Contributor

kousu commented Apr 3, 2019

#11 is a subtask of this. Once #8 is merged I'll patch it to add tenative support for paging.

@kousu kousu mentioned this issue Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants