using a bounding box (cv.jit.centroids) to automate a video playing

deadflgblues's icon

hi,
i'm trying to use cv.jit.centroids to create a boundary box when a person leaves it- it toggles a video effect off. I'm having so difficulty "activating the space"please let me know! Thanks!

ćwiek's icon

check out my post:
https://cycling74.com/forums/sharing-sorting-cv-jit-blobs-centroids-touches-recycle-style
when you go to patching mode, you will see

s centroids.on
s centroids.drag
s centroids.off

like in cv.jit.touches.recycle :)