Hi, I'm working on a color tracking interface but I got some problem (in fact, my patch work, but don't properly I think)
First I show you the patch :
in fact, as you can see , there is a red dot on the left side of the gem window (i'm shooting a white sheet with a red dot drew on it with my webcam, and with pix_alpha, I mask every colors except red) but [pix_blob] allways calculate red barycenter around x=0.5 / y=0.5 (on the center) and don't change values when the red dot isn't on the center (same for blue and green blob). I don't know why (maybe pix_blob detect red pixels in the black area, i don't really know what is happening) but I really want to track properly red area (like in this case barycenter should be more like x=0.2 / y=0.5.
so if anyone as an idea to make it track colors area properly, please tell me : )