Motion Detection...

@m's icon

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) https://cycling74.com/story/2006/2/17/153427/406 seems to work nicely with my webcam

Any ideas would be greatly appreciated!

Cheers!

Dan's icon

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) https://cycling74.com/story/2006/2/17/153427/406 seems to work nicely with my webcam

Any ideas would be greatly appreciated!

Cheers!

@m's icon

Cheers Dan Ill take a look!

Guilherme Martins's icon

the link is broken :(

Luke Hall's icon

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

lh