mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 04:37:23 +02:00
Adjustments to UVCCameraControl invocation.
This commit is contained in:
parent
8ec8e0b9d8
commit
cc9f8bc717
3 changed files with 5 additions and 4 deletions
|
@ -13,7 +13,8 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void configureCamera();
|
void configureCamera(int vendorID, int productID, int autoExposure, float exposure, float contrast, float saturation,
|
||||||
|
float sharpness, int autoWhiteBalance, float whiteBalance);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
|
@ -125,7 +125,7 @@ void FrameGrabber::grabFrame() {
|
||||||
cvSetCaptureProperty(_capture, CV_CAP_PROP_FRAME_HEIGHT, IDEAL_FRAME_HEIGHT);
|
cvSetCaptureProperty(_capture, CV_CAP_PROP_FRAME_HEIGHT, IDEAL_FRAME_HEIGHT);
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
configureCamera();
|
configureCamera(0x5ac, 0x8510, 0, 0.9, 0.5, 0.5, 0.5, 1, 0.5);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
IplImage* image = cvQueryFrame(_capture);
|
IplImage* image = cvQueryFrame(_capture);
|
||||||
|
|
Loading…
Reference in a new issue