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
   Video, Camera
(Moderator: REAS)
   Mac Camera Solution
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Mac Camera Solution  (Read 1104 times)
rgovostes

rgovostes
Mac Camera Solution
« on: Dec 18th, 2004, 2:21am »

After much fooling around with a cheap Labtec WebCam (typically less than $20) and Macam (free; it has been mentioned here before), I've come up with a "solution." It has only been tested with Mac OS 10.3 and Processing 0068.
 
1. Download the Macam QuickTime component (compiled from CVS 2004-12-17)
2. Drop Macam.component into ~/Library/QuickTime/ (you may have to create the QuickTime folder)
3. Plug your camera in the USB port
4. Launch Processing
 
For reference, the device claims to get 30fps and capture at 640 x 480. And since you're likely to want to test it, here's some simple code:
 
Code:
boolean newFrame = false;
 
void setup()  {        
  size(320, 240);  
  beginVideo(width, height, 4);  
}  
 
void videoEvent() {
  newFrame = true;
}
 
void loop()  {  
  if(newFrame) {
    background(video);
    newFrame = false;
  }  
}

 
Cheers,
Ryan Govostes
« Last Edit: Dec 18th, 2004, 2:22am by rgovostes »  
jen

Email
Re: Mac Camera Solution
« Reply #1 on: Jan 5th, 2005, 1:28pm »

I have the same set up but cant get it to function. Has any one else had succes?
 
fjen

WWW
Re: Mac Camera Solution
« Reply #2 on: Jan 5th, 2005, 5:04pm »

have you checked with the site of the component?
http://webcam-osx.sourceforge.net/
 
/F
 
jen

Email
Re: Mac Camera Solution
« Reply #3 on: Jan 6th, 2005, 4:19am »

so i checked and i do have quick time and the macam component in the right place.  
 
Ryan are you able to use the macam application before getting it to work with processing?
 
is there any thing else that i need to do before it will work ?
 
thank you for your time  
 
Jennie
 
rgovostes

rgovostes
Re: Mac Camera Solution
« Reply #4 on: Jan 31st, 2005, 8:01pm »

The latest release of Macam from Sourceforge does not work with Mac OS 10.3. The link I provided will download a version built for Panther.
 
Pages: 1 

« Previous topic | Next topic »