|
Author |
Topic: can you aquire web cam? 0065 (Read 964 times) |
|
xik
|
can you aquire web cam? 0065
« on: Oct 6th, 2003, 7:15am » |
|
if you can aquire a web cam and run it with processing would you be so kind to post your code, as I can't get it to work in 0065, and have installed qt6.3 with qtjava plugs winVDIG can aquire the device, just I can't aquire it in processing thanks
|
|
|
|
xbill
|
Re: can you aquire web cam? 0065
« Reply #1 on: Oct 6th, 2003, 10:00am » |
|
With Windows ME, vdig and Philips Vesta Pro: the exemple /video/camera work for me but I have to erase the"noBackground" line: -------------------------- the int xpos = 0; int ypos = 0; boolean newFrame = false; void setup() { size(800, 800); beginVideo(20, 20, 600); } void videoEvent() { newFrame = true; } void loop() { if(newFrame) { xpos += 20; if(xpos > width) { xpos = 0; ypos += 20; if(ypos >= height) { ypos = 0; } } image(video, xpos, ypos); newFrame = false; } }
|
|
|
|
xbill
|
Re: can you aquire web cam? 0065
« Reply #2 on: Oct 10th, 2003, 6:26pm » |
|
it work ?
|
|
|
|
xbill
|
Re: can you aquire web cam? 0065
« Reply #3 on: Oct 22nd, 2003, 1:56pm » |
|
?
|
|
|
|
|