|
Re: Which color are you tracking with your Camera?
Look at the pictures on page 6.
With white, you can perform the initial filter/mask, then your convex hull operation. While this identifies the targets, it also identifies a bunch of other "stuff" - lights, reflections from the plexiglass, even the basketball nets. That makes this operation difficult to use, since you then have to go on to filter our the blobs you don't want. There are other ways to identify what you want (like the edge detection mentioned later), but in general they're going to take more processing power to work, from my experience.
With another color, you don't have that problem. You can perform your original filter/mask, then a convex hull operation. Now you're left with only your targets showing up, and no extraneous "stuff" you have to filter out - take the center of each blob and your done!
You just need to watch out for that pesky team at your regional wearing bright green shirts... you don't want to detect them!
|