Detecting the most common colour in a blob
I'm developing an installation in which I want to detect the colour of clothes being worn by people who walk by a camera, so I'm trying figure out if it's possible to find out the most common colour of a blob using cv.jit. Has anyone tried this before? Any ideas at all on how to do this would be greatly appreciated.
you can use the blob coordinates to tell jit.submatrix the region of interest, and then use jit.3m to get the average color of that region.
Thanks, I'll try that!
Hi Roisin,
I'm trying to do the same thing, did you manage to get it working?