FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Information Visualization
(Moderators: forkinsocket, REAS)
   video tracking: change
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: video tracking: change  (Read 805 times)
trip

triparepa WWW Email
video tracking: change
« on: Aug 27th, 2003, 11:29am »

Inspired by flight 404's video light tracker, I decided to make a "change tracker"... it is crude, but it works. It basically compares new pixels with old pixels, and reports back the ones that have changed above a threshold. This is my third proggie on P5, and I am not a  hard core coder, so please let me know what I should be doing better.  
 
It runs nicely on my athlonXP1600, but your mileage may vary. You will need some sort of camera to see it in action.
 
http://www.negativespace.org/cmendoza/files/track_change.pde
« Last Edit: Aug 27th, 2003, 1:24pm by trip »  
brew

WWW
Re: video tracking: change
« Reply #1 on: Aug 27th, 2003, 8:13pm »

Can you make an example quicktime movie of the effect? I haven't got a camera and I'd like to see it. I'm working on something similar myself (not with web cam input though - just processing quicktime movies and images).
 
trip

triparepa WWW Email
Re: video tracking: change
« Reply #2 on: Aug 27th, 2003, 9:55pm »

the code should work with QT movies as well, without much modding. I can't send you a movie playback version because every time that I try to load a movie into P5 it crashes...
 
I made a small QT of it. You can find it here
http://www.negativespace.org/cmendoza/
 
look for the qt link
 
mind you that I reduced the frames per second on the video so that it would be smaller. It actually runs at 25fps+ in my machine
 
c
 
brew

WWW
Re: video tracking: change
« Reply #3 on: Aug 27th, 2003, 10:07pm »

Wow! That's got a lot possibilties - not quite what I was thinking of after all (works on a similar basis though). You could do some quite ghostly things with that.
 
Jerronimo

WWW
Re: video tracking: change
« Reply #4 on: Aug 28th, 2003, 3:40pm »

I decided to do something similar (based on your idea) but instead of the nifty cool artistic lines, it shows the actual image.
 
http://www.cis.rit.edu/~sdlpci/Software/processing/offline/video_differe nce.pde
 
If the image change is above the threshhold, it displays the new pixels.  If the change is beneath the threshhold, it fades out the pixels.  It makes for interesting looking video.  
« Last Edit: Aug 28th, 2003, 3:43pm by Jerronimo »  
mrb

WWW
Re: video tracking: change
« Reply #5 on: Aug 28th, 2003, 4:27pm »

could you post a quicktime version of this piece?  i am looking for some information about video processing if anyone has any links i would appreciate it -- i am playing with examples in processing and then implementing them in opengl/quicktime/c ...
 
also does anyone have a recommendation about the best way to capture a quicktime of a piece like this on a mac?  thanx
 
mike
 
Jerronimo

WWW
Re: video tracking: change
« Reply #6 on: Aug 28th, 2003, 6:51pm »

If i knew how to capture a quicktime movie (and i had the software to do so) I would most certainly do this for you...
 
 
Glen Murphy

WWW Email
Re: video tracking: change
« Reply #7 on: Aug 29th, 2003, 1:43am »

You can see a video showing the technique in b+w here: (It's a bit different, being from a different program, but you'll be able to see the effect)
 
http://bodytag.org/seeu1/test1.mov
 
Jerronimo

WWW
Re: video tracking: change
« Reply #8 on: Aug 29th, 2003, 3:59am »

Yup.  that's pretty much how it looks...
 
Pages: 1 

« Previous topic | Next topic »