|
Author |
Topic: video camera (Read 436 times) |
|
wolfgang Guest
|
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
|
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
|
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
|
Re: video camera
« Reply #3 on: Jan 15th, 2003, 5:25pm » |
|
The webcam server solution is a really good idea.
|
|
|
|
|