Forums > Jitter

Motion Detection…


@m
May 6, 2008 | 12:56 pm

I not just a newbie to Max/MSP and Jitter, I am in the fetal stage of understanding this program! Thus I have a couple of questions for a project of which the deadline is fast approaching!!

Im trying to set up a webcam that detects motion. When the cam detects the motion it instantaneously saves a still image. This image is then saved so that when the camera has not detected motion for one hour it sends the image to a usb printer to print!

I have had a look at cv.jit… doesnt seem to be working with my webcam. The ‘Hold Still’ (#32) http://www.cycling74.com/story/2006/2/17/153427/406 seems to work nicely with my webcam

Any ideas would be greatly appreciated!

Cheers!



Dan
May 6, 2008 | 1:47 pm

Motion detection can be done in a number of ways, including simple frame differencing. In other words, you compare the frame to the previous one to see if anything’s changed. Look in the Jitter examples folder for one called frame-diff or similar — I’m away from my machine so I can’t give you the exact name.

Detect a different frame, then save it with jit.qt.record. The rest of your patch willl be logic so do the Max tutorials if you haven’t. Good luck!

—–Original Message—–
From: Adam

Date: Tue, 6 May 2008 13:56:38
Subject: [jitter] Motion Detection…

I not just a newbie to Max/MSP and Jitter, I am in the fetal stage of understanding this program! Thus I have a couple of questions for a project of which the deadline is fast approaching!!

Im trying to set up a webcam that detects motion. When the cam detects the motion it instantaneously saves a still image. This image is then saved so that when the camera has not detected motion for one hour it sends the image to a usb printer to print!

I have had a look at cv.jit… doesnt seem to be working with my webcam. The ‘Hold Still’ (#32) http://www.cycling74.com/story/2006/2/17/153427/406 seems to work nicely with my webcam

Any ideas would be greatly appreciated!

Cheers!



@m
May 6, 2008 | 2:14 pm

Cheers Dan Ill take a look!


January 7, 2010 | 2:21 am

the link is broken :(


January 7, 2010 | 3:00 am

The link was trying to point you to some of the Jitter Recipes. As Dan said number 32 is the one you want.

lh


Viewing 5 posts - 1 through 5 (of 5 total)