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.
6364 Discussions

cv2 error: (-215:Assertion failed) !ssize.empty() in function 'resize') ( Raspi 4B + NCS2 )

rnd-amg
Beginner
866 Views

Hi Team,

I try to run .py file but i got error like in capture below, but the file working in windows

rndamg_0-1659067119873.png

this code in line 460

rndamg_1-1659067213089.png

this code in line 587

rndamg_3-1659067569994.png

 

i try test detect the object from RTSP and using NCS2

rndamg_2-1659067463844.png

any wrong code?

Regards,

rnd

0 Kudos
2 Replies
Wan_Intel
Moderator
848 Views

Hi Rnd-amg,

Thanks for reaching out to us.

 

The error you encountered might be due to your input being empty. Please refer to the here for more information.

 

On another note, you may be interested in Getting Started with Videos in OpenCV-Python Tutorials.

 

Hope it helps.

 

 

Regards,

Wan


0 Kudos
Wan_Intel
Moderator
808 Views

Hi Rnd-amg,

Thanks for your question.

This thread will no longer be monitored since we have provided information. 

If you need any additional information from Intel, please submit a new question.

 

 

Best regards,

Wan


0 Kudos
Reply