dnn_detect icon indicating copy to clipboard operation
dnn_detect copied to clipboard

error: cv_bridge exception: Image is wrongly formed: step < width * byte_depth * num_channels or 640 != 640 * 2 * 1

Open fsc1023 opened this issue 5 years ago • 3 comments

when the node dnn_detect subscribes topic /camera/depth/image_rect_raw/comressed , error: error: cv_bridge exception: Image is wrongly formed: step < width * byte_depth * num_channels or 640 != 640 * 2 * 1. all of the topics of the node realsense_camera: image image

I want to subscribe the depth topic to get the depth info. thank you!

fsc1023 avatar May 27 '20 09:05 fsc1023

Hello! Did you slove your problems? and I wonder if I could get your some suggestions because now I have the same questions :)

littleBurgerrr avatar May 24 '25 07:05 littleBurgerrr

please :)

littleBurgerrr avatar May 24 '25 07:05 littleBurgerrr

Gosh, this is 10 year old ROS 1 code, and has reached EOL. For small robots running ARM 64, I suggest using YOLO, or other objects recognition AI. I am sure there are many ROS2 object detect and locate.

anfederman avatar May 24 '25 14:05 anfederman