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 :
bool bValidDevice = cam.setup(camWidth, camHeight, true);
bool bInit = cam.isInitialized();
both always return
true while device 0 is the integrated webcam and device 1 doesn’t exist
Any idea ?