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.

error with crossroad_camera_demo

whung6
Beginner
314 Views

Hi all, recently I was playing with openVINO's samples. However, when I came to crossroad_camera_demo, it went wrong. 

I used a youtube video as an input, (https://www.youtube.com/watch?v=o2JLUWPfjbc)

and my command lines are

 

$ ./crossroad_camera_demo

-i /home/bed100/Downloads/dan-shui-de-jie-tou-yi-ren-biao-yan-diao-xiang.mp4

-m /opt/intel/computer_vision_sdk/deployment_tools/intel_models/person-vehicle-bike-detection-crossroad-0078/FP32/person -vehicle-bike -detection-crossroad-0078.xml

-m_pa /opt/intel/computer_vision_sdk/deployment_tools/intel_models/person-attributes-recognition-crossroad-0200/FP32/person-attributes-recognition-crossroad-0200.xml

-m_reid /opt/intel/computer_vision_sdk/deployment_tools/intel_models/person-reidentification-retail-0079/FP32/person-reidentification-retail-0079.xml

-d CPU

-d_pa CPU

-d_reid CPU

 

In the beginning, the result was great, everything was good, but 10 seconds later, it gave me an error.

[ ERROR ] OpenCV(4.0.1-openvino) /home/jenkins/workspace/OpenCV/OpenVINO/build/opencv/modules/core/src/kmeans.cpp:240: error: (-215:Assertion failed) data0.dims <= 2 && type == CV_32F && K > 0 in function 'kmeans' 

 

I'm wondering what causes the problem since it went well if I use my video recorded from my mobile phone instead of using online videos.

Thanks.

 

0 Kudos
1 Reply
JesusE_Intel
Moderator
314 Views

Hi weicheng,

It looks like you are using an outdated version of the OpenVINO Toolkit. Could you install the latest 2019 R3.1 release and see if the issue is still present? 

https://software.intel.com/en-us/openvino-toolkit/choose-download

Regards,

Jesus

0 Kudos
Reply