opencv/opencv-python

Multiobject tracker API unavailable in OpenCV 4.9.0 -> Cannot access even with .legacy ;

Radhika-Keni opened this issue · 0 comments

library version
opencv version : 4.9.0

Code
import cv2
cv2.MultiTracker_create()

Error
AttributeError: module 'cv2' has no attribute 'MultiTracker_create'

// Tried with .legacy

cv2.legacy.MultiTracker_create()

Error : AttributeError: module 'cv2' has no attribute 'legacy'

Please advice whether there is any way to access this multiobject tracker libraries in higher versions of opencv without having to downgrade the opencv