ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

cvblob and cvBlobsLib

asked 2012-08-24 15:58:38 -0600

perr0 gravatar image

updated 2014-01-28 17:13:27 -0600

ngrennan gravatar image

Is it possible to use cvblob or cvBlobsLib with ROS?

If yes, how can I do it?

edit retag flag offensive close merge delete

Comments

Well, I was able to find the blobs using this code: http://nghiaho.com/?p=1102. But then I need to track them and I'm having a hard time trying to make ir. I can find their centroids, but I loose track of which is which during program execution.

perr0 gravatar image perr0  ( 2012-08-28 02:49:48 -0600 )edit

@pgorczak, does this SimpleBlobDetector have tracking capabilities? As far as I could understand reading the link you provided, it does not, but maybe you have seen something in this regard.

perr0 gravatar image perr0  ( 2012-08-28 02:52:31 -0600 )edit

That's why I was trying to use cvBlob, as it has "Basic blob tracking" out of the box.

perr0 gravatar image perr0  ( 2012-08-28 02:53:30 -0600 )edit

The beauty of the new OpenCV is, that you can plug in any matcher behind the blob detector. A simple k-nearest-neighbors (knn) matcher could be enough. cvBlob probably does something like that in the background.

pgorczak gravatar image pgorczak  ( 2012-08-29 11:02:43 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-08-26 02:15:09 -0600

pgorczak gravatar image

If you want to run blob detection with OpenCV, I would recommend taking a look at SimpleBlobDetector. You can easily convert any ROS image message to an OpenCV-Mat using cv_bridge and take it from there.

If the above mentioned detector suits your needs, I'll give you more details on how to make it work.

edit flag offensive delete link more

Comments

Can you please give the more details about that. I have converted the ros image into opencv-mat using cv_bridge. What shall i do next i.e. how i can configure or install cvblobs with ROS and what depencies shall i add in package.xml and also the in cmakelist ! I am using ROS-Hydro

jashanvir gravatar image jashanvir  ( 2014-06-13 09:00:22 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2012-08-24 15:58:38 -0600

Seen: 1,876 times

Last updated: Aug 26 '12