Change Webcam Capture Dimension
in
Core Library Questions
•
1 year ago
Hello everyone,
I'm trying to change the Capture dimension through a keypress, through the following statements:
- lazyfactor--;
- pixelsw = 4*lazyfactor;
- pixelsh = 3*lazyfactor;
- captureDevice.width = pixelsw;
- captureDevice.height = pixelsh;
but somehow the captureDevice.pixels.length stays the same, through which the loop whois running through the pixels becomes skewed...
Does someone know if it's possible to change the resolution?
1