We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpVideo Capture,  Movie Playback,  Vision Libraries › problems importing my webcam in processing
Page Index Toggle Pages: 1
problems importing my webcam in processing (Read 1356 times)
problems importing my webcam in processing
Jun 29th, 2009, 7:33am
 
Hello everyone,

I don't know if this is the right place to start this topic, but I have an urgent question. I'm making this game at school with processing using a webcam. Now, I want to continue working on this game at home, but processing can't import my webcam images. This is what is says when I try to run my game: No capture could be found, or the VDIG is nog installed correctly. I use an integrated webcam on my laptop. The drivers are installed and I have downloaded Quicktime player. So that couldnt be the problem. Does anyone know how I can make my cam work with processing? Thanks in advance!
Re: problems importing my webcam in processing
Reply #1 - Jun 30th, 2009, 6:53am
 
it mostly depends on your system setup (ie: what os are your running are you using the standard video library)

if your're using the standard library you should look here
Re: problems importing my webcam in processing URGENT
Reply #2 - May 6th, 2010, 6:01am
 

     
URGENT HELP REQUIRED LINKING cam to processing

Hi there, i m wanting to link 4 IP cameras to processing.

I m trying to access the path of my ip cameras , one is seen below,however there is a problem with the access viewing the live  video stream,

DESPERATE FOR ANY HELP TO MOVE THIS FORWARD AS TIME IS RUNNING OUT

import codeanticode.gsvideo.*;
import hypermedia.video.*;
GSPipeline pipe;
OpenCV opencv;
void setup() {
//  pipe = new GSPipeline(this, "gnomevfssrc location=http://192.168.1.118/axis-cgi/mjpg/video.cgi?resolution=640x480 ! jpegdec ! ffmpegcolorspace");
//  http://192.168.2.3/jpg/image.jpg
pipe = new GSPipeline(this, "gnomevfssrc location=http://192.168.2.3/mjpg/video.mjpg");
opencv = new OpenCV( this );
opencv.allocate(width,height);
}
void draw() {
if (pipe.available() == true) {
   pipe.read();
   opencv.copy(pipe, 0, 0, 640, 480, 0, 0, width, height);
   print ("   hello    ");
}
print ("   not found   ");
}
Page Index Toggle Pages: 1