Closed shrijan00 closed 6 years ago
Add a new case in this file for the encoding you are using: https://github.com/introlab/find-object/blob/784691a0701466d7d881af64687b0fcfdcf07a02/src/ros/CameraROS.cpp#L118-L124 Use the right conversion enum in this list: https://docs.opencv.org/3.1.0/d7/d1b/group__imgproc__misc.html
EDIT: Update to latest version to have the commit above, you may not need to change the code afterwards.
I rectified it and its working.
Iḿ using a kinect v1 to detect object and get it co-ordinates. So, after installing the required package when i run ¨rosrun find_object_2d find_object_2d image:=/camera/rgb/image_raw¨ i get the following error. Anybody please help