Detecting the most common colour in a blob

    Nov 14 2017 | 4:50 pm
    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.

    • Nov 15 2017 | 5:38 pm
      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.
    • Nov 19 2017 | 8:50 pm
      Thanks, I'll try that!
    • Feb 27 2018 | 6:05 pm
      Hi Roisin, I'm trying to do the same thing, did you manage to get it working?