I’ve added basic motion detection capabilities to Cocoa Sequence Grabber code now.
This is what happens when your cat wakes you up too darn early after peeing under the computer desk.
Sample movie (MP4/QuickTime 7 required, 64KB file): MotionDetection.mp4
No those aren’t mpeg encoding artefacts, those are my attempts to highlight the motion in the movie.
Source code: http://toxic-public.googlecode.com/svn/tags/BlogTag_20070927_729/Frameworks/ToxicMedia/Samples/SequenceGrabber (see MotionDetector subdirectory)
Have fun.

Hi Jonathan
I try to get into CoreImage and sequence grabbing in order to do backgroud substraction from a iSight (or later even better) camera – thus detecting which part of the image is moving and which is stable. As this is not very far away from what you are doing, i tried to get your code to work, but i can’t find it on your page, as some links to the source code seem to be broken, and getting it file-by-file through the Web-SVN interface did ot work. Could you post your actual code-tree again, please?
Thanks a lot,
Thomas
Hi Jonathan
I try to get into CoreImage and sequence grabbing in order to do backgroud substraction from a iSight (or later even better) camera – thus detecting which part of the image is moving and which is stable. As this is not very far away from what you are doing, i tried to get your code to work, but i can't find it on your page, as some links to the source code seem to be broken, and getting it file-by-file through the Web-SVN interface did ot work. Could you post your actual code-tree again, please?
Thanks a lot,
Thomas
Can I use this info on my blog using the direct link to your blog? Thanks in advance