Tossy0423 / yolov4-for-darknet_ros

This is the environment in which YOLO V4 is ported to darknet_ros.
MIT License
108 stars 53 forks source link

OpenCV Error: Assertion failed (size.width>0 && size.height>0) in imshow, file /home/nano/opencv/opencv-3.4.10/modules/highgui/src/window.cpp, line 382 #11

Closed lurending711 closed 3 years ago

lurending711 commented 3 years ago

Hello, I have encountered the following problems. Do you know how to solve them?

CUDA allocate done! Waiting for image.


*OpenCV Error: Assertion failed (size.width>0 && size.height>0) in imshow, file /home/nano/opencv/opencv-3.4.10/modules/highgui/src/window.cpp, line 382 OpenCV exception: show_image_cv [darknet_ros-1] process has died [pid 920, exit code -11, cmd /home/nano/workspace/devel/lib/darknet_ros/darknet_ros camera/rgb/image_raw:=camera/rgb/image_raw __name:=darknet_ros __log:=/home/nano/.ros/log/6288b334-b256-11eb-8105-8c554abe2ee0/darknet_ros-1.log]. log file: /home/nano/.ros/log/6288b334-b256-11eb-8105-8c554abe2ee0/darknet_ros-1.log all processes on machine have died, roslaunch will exit** shutting down processing monitor... ... shutting down processing monitor complete done