How do I use SimpleBlobDetection with Color?
Hi, Im trying to use the simpleBlobDetector for object tracking, but in all the information that I have looked for doesnt appear the parameters for Filtering by color. What parameters do i have to use for this kind of filtering?
Thanks
I didn't use it too much, but I think that it is using just grayscale, so you can apply it on 3 channels, (r, g, b; or maybe it will work also or on 2: Cr and Cb). Or you can also threshold the Hue channel so, you'll have all the colors, if the first case does not resolve the problem... For tracking you can also use KalmanFilter, then add some property to your tracking object, that will tell you the color, so no need to check every color each tracker update.