Motion Detection…

May 6, 2008 at 12:56pm

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!

#37587
May 6, 2008 at 1:47pm

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!

#129959
May 6, 2008 at 2:14pm

Cheers Dan Ill take a look!

#129960
Jan 7, 2010 at 2:21am

the link is broken :(

#129961
Jan 7, 2010 at 3:00am

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

lh

#129962

You must be logged in to reply to this topic.