Help with Colour tracking ?

    Jan 21 2017 | 11:13 pm
    Hello. I'm working on a project where I'd like a png image to follow a certain colour, so say if the colour I was holding up to my webcam moved left the image would follow. I've succeeded in patching a colour tracking device with the help of some reference patches and looking online to see what others have done, but I'm having trouble getting my image to follow the colour. I've been trying it with jit.lcd but nothing I'm trying is working very well :'(
    If anyone has any example patches or tips on objects that might work I'd be very thankful if you'd share. Thank you.

    • Jan 22 2017 | 12:04 pm
      hi Jonathan, how you get the coords of the tracked color? jit.findbounds? cv.jit? or... ? the best is that you post the patch...
    • Jan 22 2017 | 4:34 pm
      I was thinking of using this example patch from the jitter recipes if i'm not mistaken ( )
    • Jan 22 2017 | 5:05 pm
      there are many ways to achieve what you looking for, here you have a patch that tracks red color using jit.findbounds and draw a square using jit.lcd. adjust tracking color with min/max attributes of findbounds...
      if you want display an image, probably you can do it with the same jit.lcd but is the best way to go in any case... the help file is very self explanatory about how yo draw with it, but drop a message if you in troubles... good luck..
    • Jan 22 2017 | 5:19 pm
      Thanks a lot !