[PD] need a workaround for detecting movement in Mac OS

chris clepper cgclepper at gmail.com
Tue Apr 5 16:53:42 CEST 2011


Ah.  You are running at 60 fps?  You can do a simple toggle to only render
the video every other frame using a simple [spigot] and counter.  Just
setting a simple motion or not state is best done at a much lower rate
otherwise you have to filter the results anyway.


On Tue, Apr 5, 2011 at 10:47 AM, Matteo Sisti Sette <
matteosistisette at gmail.com> wrote:

> On 04/05/2011 04:33 PM, chris clepper wrote:
>
>> I used pix_movement and blob for basic motion detection for years.  I
>> gated the video signal so it would only output every half second or
>> second
>>
>
> How do you gate the video signal? That may be exactly the workaround I need
>
>
>
>  Try setting the GEM framerate to the
>> advertised frame rate of your device and see if that helps.
>>
>
> Yes it does help, it fixes the problem completely. But that is not an
> option if i need to produce graphical output at a higher framerate. It's ok
> to detect the movement at a rate equal to or lower than the camera frame
> rate, but i can't lower the whole gem framerate because that will affect
> video output.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110405/d3d394af/attachment.htm>


More information about the Pd-list mailing list