Expected behaviour
Expected this code to return a multi tracker object:
import cv2
cv2.MultiTracker_create()
Actual behaviour
Throws the error:
AttributeError: module 'cv2.cv2' has no attribute 'MultiTracker_create'
Steps to reproduce
I installed the latest wheel of cv2 on a win10 x64 machine using pip in a venv (pip install opencv-contrib-python)
cv2.getVersionString() returns '4.5.1'
I can then import cv2 successfully in the python console, however cv2.MultiTracker_create() throws an error.
I completely uninstalled cv2 and installed again except with different version: pip install opencv-contrib-python~= 3.4.4.19
Since the function reportedly works in this version in a StackOverflow answer here
Once installed, the code runs successfully. So I assume it's a problem with this specific build of cv2 (i.e. version 4.5.1)
In the toolchain you have created, how do you select or deselect the modules that are installed form the C files? Is there a way that I can manually reinclude MultiTracker_create() back into my build, since don't have the expertise to build my own wheel. No worries if not, I'm just wondering why MultiTracker_create() was in an earlier build and not the most recent.
Thanks.
Issue submission checklist
Expected behaviour
Expected this code to return a multi tracker object:
import cv2cv2.MultiTracker_create()Actual behaviour
Throws the error:
AttributeError: module 'cv2.cv2' has no attribute 'MultiTracker_create'Steps to reproduce
I installed the latest wheel of cv2 on a win10 x64 machine using pip in a venv (
pip install opencv-contrib-python)cv2.getVersionString()returns'4.5.1'I can then
import cv2successfully in the python console, howevercv2.MultiTracker_create()throws an error.I completely uninstalled cv2 and installed again except with different version:
pip install opencv-contrib-python~= 3.4.4.19Since the function reportedly works in this version in a StackOverflow answer here
Once installed, the code runs successfully. So I assume it's a problem with this specific build of cv2 (i.e. version 4.5.1)
In the toolchain you have created, how do you select or deselect the modules that are installed form the C files? Is there a way that I can manually reinclude MultiTracker_create() back into my build, since don't have the expertise to build my own wheel. No worries if not, I'm just wondering why MultiTracker_create() was in an earlier build and not the most recent.
Thanks.
Issue submission checklist
opencv-python