ros-industrial / easy_perception_deployment

A ROS2 package that accelerates the training and deployment of CV models for industries.
Apache License 2.0
53 stars 16 forks source link

Showimage is not responding #24

Closed gpogorzelski closed 3 years ago

gpogorzelski commented 3 years ago

Hi, I've managed to install and run Easy Perception Deployment, but I ran into two problems:

  1. I successfully run 'Deploy' with FasterRCNN and coco labels in classification mode but no video stream is showing - I get no errors beside 'Showimage is not responding' as shown below: Screenshot from 2021-06-23 12-58-21

  2. After installation I tried to launch ROS2 camera with the following output: [INFO] [1624446393.265076113] [opencv_cam]: opencv_cam Parameters camera_frame_id = camera_frame camera_info_path = info.ini file = false filename = fps = 0 height = 0 index = 0 width = 0 [INFO] [1624446393.265134781] [opencv_cam]: OpenCV version 4 [ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (935) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1 [INFO] [1624446393.875704991] [opencv_cam]: device 0 open, width 1280, height 720, device fps 10 [ERROR] [1624446393.875855292] [camera_calibration_parsers]: Failed to detect content in .ini file [ERROR] [1624446393.875879807] [opencv_cam]: cannot get camera info, will not publish [INFO] [1624446393.877433523] [opencv_cam]: start publishing

I dont know if these two things are connected but, these are the only problems I ran into.

cardboardcode commented 3 years ago

This issue is caused by EPD (Easy Perception Deployment) not receiving any input image frames from your web camera.

Don't worry about the 2nd point. The warning from the ROS2 camera is expected and it should still work fine as a ROS2 node.

Possible causes for non-existent input image frames

  1. ROS2 topic name for input image frame is different from EPD's expected topic name for input images.

Request

Can you show me the contents of this file in your current setup? easy_perception_deployment/launch/run.launch.py

By right, after you have registered your topic, the /image_raw topic should appear in the aforementioned file.

:warning: Be sure to click on the Register Topic button to register the topic name.

cardboardcode commented 3 years ago

Verified that I am unable to reproduce this error.

cardboardcode commented 3 years ago

Hi @gpogorzelski

Closing due to inactivity.

Free free to open if your issue is still unresolved.