You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.
video = new GLCapture(this, devices[0]);// NOTE THIS CAM IS THE SAME AS devices[1] "USB2.0 PC Camera"
video2 = new GLCapture(this, devices[1]);// NOTE THIS CAM IS THE SAME AS devices[0] "USB2.0 PC Camera"
Hi @FrankOcean11 - the issue here is that the device name is the same for both cameras. I am no longer working on this library, so I won't be able to do anything about it currently.
right i know this but what i dont understand is why does this matter when they are both on 2 diff USB ports hence having 2 diff port address, well thanks thought i ask.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
import gohai.glvideo.*;
GLCapture video,video2;
void setup() {
size(320, 240, P2D);
video = new GLCapture(this, devices[0]);// NOTE THIS CAM IS THE SAME AS devices[1] "USB2.0 PC Camera"
video2 = new GLCapture(this, devices[1]);// NOTE THIS CAM IS THE SAME AS devices[0] "USB2.0 PC Camera"
video.start();
video2.start();
}
void draw() {
background(0);
if (video.available()) {
video.read();
}
if (video2.available()) {
video2.read();
}
image(video, 0, 0, width, height);
image(video2, 0, 0, width/2, height/2);
}
Why wont processing or it's libraries do what i wrote above?
The text was updated successfully, but these errors were encountered: