Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6480 Discussions

Hi! When I updated to OpenVino 2020, my opencv updated as well. The downside is that I am not able to use the TrackerCSRT_create() module anymore, despite that the OpenCV 4.2.0 documentation specified the existence of such module. Is this a bug? Thanks

ECruz8
Beginner
1,571 Views
 
0 Kudos
3 Replies
David_C_Intel
Employee
1,411 Views

Hi ECruz8,

 

Thanks for reaching out.

Could you please provide us more details about your issue?

 

  • Which OS are you using?
  • Steps to reproduce your issue.
  • The error shown.

 

Regards,

David C.

Intel Customer Support Technician

A Contingent Worker at Intel

0 Kudos
ECruz8
Beginner
1,411 Views

Hi David

 

I am using both 'Ubuntu 16.04' and 'Raspbian GNU/Linux 9 (stretch)' and both produced the same error.

 

Right after I installed Openvino 2020, I did the following commands to check if the cv2.TrackerCSRT_create() module exists:

python3 import cv2 cv2.TrackerCSRT_create()

and an error would be thrown

AttributeError: module 'cv2' has no attribute 'TrackerCSRT_create'

Checking the cv2 version that i am using by writing cv2.__version__, it would show

 

'4.2.0-openvino'

 

0 Kudos
David_C_Intel
Employee
1,411 Views

Hi ECruz8,

 

Thanks for your patience.

 

Extra modules from OpenCV (opencv_contrib) are not included as part of the OpenVINO™ toolkit. However, you can rebuild OpenCV with extra modules and point OpenVINO™ toolkit to your custom build by modifying the setupvars script.

 

 

Regards,

David C.

Intel Customer Support Technician

A Contingent Worker at Intel

0 Kudos
Reply