GS video set camera display size independently of sketch size
in
Contributed Library Questions
•
2 years ago
Is there a way to set the camera's input size in GS video so that it shows in say a 640/480 box inside a sketch that's 800 x 600 or larger? My camera doesn't seem to work when asked for resolutions higher than 640/480.
void setup() {
size(640, 480);
cam = new GSCapture(this, 640, 480);
numPixels = cam.width * cam.height;
void setup() {
size(640, 480);
cam = new GSCapture(this, 640, 480);
numPixels = cam.width * cam.height;
1