<div id=":39" class="ArwC7c ckChnd">How will you avoid gating the color of the object you're trying to track as well?<br><br>To use your method below I'd suggest using some combination of [separator] and [pix_background] to create a mask so that [pix_blob] (or the color gate, depending on the setup) only affects new objects introduced into the environment. <br>
<br>That's very incomplete suggestion, but I don't have pd in front of me right now to toy with examples.<br><br>Best of luck, let me know if you get a patch together, I'd like to see it.<br><br>-Ben<br><br><br>
>Wondering the best solution for color tracking in Pd-extended. I'd like<br>
>my solution to be cross-platform so that rules out PDP and friends.<br>
<br>
>All I've come up with is to use [pix_blob] to track the color, and to<br>
>try to minimize the tracking color in the background. There's probably a<br>
>Gem object where I can "gate" a color i.e. eliminate a color from a<br>
>pixel if it is less than a certain amount. In my rendering chain after<br>
>my webcam I'd gate the color I am trying to track, then use [pix_blob]<br>
>with a color weight of entirely the tracking color.<br>
<br>
>Is there a better way?<br>
<br>
>-John<br>
</div>