@Gallo wrote:
hello,
i am looking for a way to check if a webcam is properly setup.
I am reading the result of the boolean returned by ofVideoGrabber.setup() or testing with ofVideoGrabber.isInitialized() but it always returns true no matter is the camera exists or not.
I am using a macbook pro with integrated camera on oF0.9.8. I have only one device (the integrated one).
testing is always returning true no matter which device i initialize. With :
cam.setDeviceID(0);
or
cam.setDeviceID(1);
using :
bool bValidDevice = cam.setup(camWidth, camHeight, true);
and
bool bInit = cam.isInitialized();
both always return
true
while device 0 is the integrated webcam and device 1 doesn't existAny idea ?
Posts: 1
Participants: 1