mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 09:33:36 +02:00
Adjustments to UVCCameraControl invocation.
This commit is contained in:
parent
8ec8e0b9d8
commit
cc9f8bc717
3 changed files with 5 additions and 4 deletions
|
@ -12,9 +12,10 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#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
|
||||
}
|
||||
#endif
|
||||
|
|
Binary file not shown.
|
@ -125,7 +125,7 @@ void FrameGrabber::grabFrame() {
|
|||
cvSetCaptureProperty(_capture, CV_CAP_PROP_FRAME_HEIGHT, IDEAL_FRAME_HEIGHT);
|
||||
|
||||
#ifdef __APPLE__
|
||||
configureCamera();
|
||||
configureCamera(0x5ac, 0x8510, 0, 0.9, 0.5, 0.5, 0.5, 1, 0.5);
|
||||
#endif
|
||||
}
|
||||
IplImage* image = cvQueryFrame(_capture);
|
||||
|
|
Loading…
Reference in a new issue