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

Port to Python 3 #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

konstantingoretzki
Copy link

Hey there,

I've came across this awesome script and wanted to use it.
Unfortunately Python 2 is dead and out of support now.

To be able to still use this script, I've ported everything to Python 3.
Changes have been made on opencv-calls. Also some decoding stuff due to the internal changes from Python 2 to 3.
The zbar-bindings seem to not work in Python 3 anymore, so I switched to pyzbar.
Besides I think there was a crash on the preview()-function. I've fixed it by checking if data exists and is not None.

Hope this is helpful.

Best Regards
Konstantin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant