how to apply hough circles after obtained the contours by using cvblob?

16 views
Skip to first unread message

Nicong Jiang

unread,
Sep 18, 2015, 12:24:37 AM9/18/15
to cvBlob
Hello, guys! 

Now I am working on a task to detect and tracking many tennis balls in the ground.

The recognition effect is very good by using cvblob. But there is one problem, when
several balls overlap, it can only found one blob,  I am considering how to solve this situation. 

My idea is to continue applying the randomized hough transformation for the obtained polygon. 
As the general hough transformation requires the input as Iplimage*, and the polygon is vector<cvPoint >
style, could anyone tell me how to transform a vector<cvpoint> to Iplimage*. 




















As we see, from the above picture, when two tennis balls overlap, it also show one blob. 
If possible, could anyone give me some good suggestions on how to solve this situation? 

Thank you for all in advance!  Have a nice day !!! 

Cristóbal

unread,
Sep 24, 2015, 2:04:20 PM9/24/15
to cvBlob
Hi,

If you are tracking the balls, you should detect when some "tracks" (the representation of balls over frames) merge in one track, I mean when they occupy the same place, this way you'll know exactly where those balls are thought you only "see" one blog.

Hope this makes sense :D

I'm not working in Computer Vision anymore, so I can not give you a better answer, sorry.

Best,

Cristóbal
Reply all
Reply to author
Forward
0 new messages