-
Notifications
You must be signed in to change notification settings - Fork 17
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
Support python 3 #95
Comments
More information. Suggest we aim to support both python 2.7.x and 3.x, at least in the short term, once OpenCV 3 has been released. This work requires that we have thorough tests with excellent code coverage (#84). |
Python 3 has a different API for C extension modules. Support for Python 3 requires that we (or someone else) rewrites the |
Both of these projects are quite old, so I guess we shouldn't hold out
too much hope that they'll port to 3. Since `libdtmx` is written in C,
we should be able to construct a Cython wrapper for the functionality
used in inselect fairly easily. If you think that would be useful, I'd
be happy to put some time into it.
|
Thanks @stefanv - that would be great. Probably best to wait until I have tried Inselect with Python 3 - I think it likely that there will be other sticking points - |
Alright, let me know when you are done with that phase, then I
will dive into this in more detail!
|
A first pass at python 3 support on iss95. |
How I built OpenCV 3.0.0 RC1 on Ubuntu 14.04 (with help from 1 and 2). Download
Test
|
Another few potential options for wrapping: https://github.com/dlbeer/quirc What kind of barcodes do we need to support? |
Things blocking Python 3
|
Pull #403: all tests pass on Mac OS X, Windows and on Ubuntu 12.04, 14.04 and 16.04. Neither the Mac OS X nor the Windows installers build properly - the next job. |
We are tied to Python 2.7.x because one of our dependencies - OpenCV - provides only Python 2.x bindings. Although Python 2.7 will be supported until 2020, there will be only bugfix releases - no new development.
Python 3 is the future. OpenCV 3 (currently in alpha) will provide Python 3 bindings.
The text was updated successfully, but these errors were encountered: