Disable auto exposure, set exposure rather high (which causes a lower exposure

time).
This commit is contained in:
Andrzej Kapolka 2013-06-19 11:02:48 -07:00
parent 963b033e41
commit 1651044234

View file

@ -134,7 +134,7 @@ void FrameGrabber::grabFrame() {
cvSetCaptureProperty(_capture, CV_CAP_PROP_FRAME_HEIGHT, IDEAL_FRAME_HEIGHT);
#ifdef __APPLE__
configureCamera(0x5ac, 0x8510, true, 0.5, 0.5, 0.5, 0.5, true, 0.5);
configureCamera(0x5ac, 0x8510, false, 0.99, 0.5, 0.5, 0.5, true, 0.5);
#endif
}
IplImage* image = cvQueryFrame(_capture);