Opened 5 years ago
Closed 4 years ago
#58845 closed enhancement (fixed)
Python support for OpenCV4
Reported by: | renzresearch | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | ii343hbka, mzucker (Matt Zucker), mascguy (Christopher Nielsen) | |
Port: | opencv4 |
Description
Python support for OpenCV 4 is missing.
It seems that OpenCV 3.4.7 is very different from 3.4.3. For example, cv2.findTransformECC requires to supply all arguments including those optional. I wanted to upgrade to OpenCV4. But there is no Python support now. Could these be added? Thanks.
Attachments (1)
Change History (8)
comment:1 Changed 5 years ago by jmroot (Joshua Root)
Owner: | set to stromnov |
---|---|
Status: | new → assigned |
Type: | request → enhancement |
Changed 5 years ago by ii343hbka
Attachment: | opencv4-py2-enable.patch added |
---|
comment:2 Changed 5 years ago by ii343hbka
See attached "patch".
The only issue so far is cv2 install path -- /opt/local/lib/python2.7/site-packages.
But it's easy to hack with PYTHONPATH=/opt/local/lib/python2.7/site-packages python
. To be honest I'm to lazy to google for proper cmake option :(
comment:3 Changed 5 years ago by ii343hbka
Cc: | ii343hbka added |
---|
comment:4 Changed 4 years ago by mzucker (Matt Zucker)
Cc: | mzucker added |
---|
comment:5 Changed 4 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:6 Changed 4 years ago by mascguy (Christopher Nielsen)
Support for Python 3.5 through 3.9 will be implemented via pull request:
comment:7 Changed 4 years ago by Christopher Nielsen <mascguy@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Portfile patch to build python2 cv2 module