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_
   Suggestions
   Software Suggestions
(Moderator: fry)
   video camera
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: video camera  (Read 436 times)
wolfgang
Guest
Email
video camera
« on: Dec 12th, 2002, 5:25pm »

I got a little web cam (logitech) and tried to connect it and use its picture stream. Is it possible to use 'quicktime for java' (sgcapture) from within proce55ing environment?
 
fry


WWW
Re: video camera
« Reply #1 on: Dec 12th, 2002, 9:07pm »

not yet, but definitely soon.
 
we're mulling over how to best include external libraries like qtjava and other random .jar files you find on the net. i think we've got a reasonable plan so we'll try to have it in there sometime soon.
 
Glen Murphy

WWW Email
Re: video camera
« Reply #2 on: Jan 15th, 2003, 6:25am »

From memory, Java has internal methods of getting picturestreams from cameras. Unfortunately, it's bog-slow to get pixel data out (but can scale+display 25fps full-screen video on modest win machines).
 
A quick and dirty interim solution is to get a video/webcam image server that connects to the cam and serves gif/jpg images on http request, then all you have to do is a LoadImage('http://localhost:port/'); - you can get about 10fps at 200x200 this way.
 
REAS

WWW
Re: video camera
« Reply #3 on: Jan 15th, 2003, 5:25pm »

The webcam server solution is a really good idea.
 
Pages: 1 

« Previous topic | Next topic »