0
我與OpenCV2 + iPhone攝像頭拍攝打OpenCV的iPhone的攝像頭,改變CV_CAP_PROP_IOS_DEVICE_ *沒有效果
self.capture = cvCreateCameraCapture(CV_CAP_ANY);
...
IplImage * frame = cvQueryFrame(self.capture);
_
NSLog(@"CV_CAP_PROP_IOS_DEVICE_WHITEBALANCE = %f", cvGetCaptureProperty(self.capture ,CV_CAP_PROP_IOS_DEVICE_WHITEBALANCE));
NSLog(@"CV_CAP_PROP_IOS_DEVICE_TORCH = %f", cvGetCaptureProperty(self.capture ,CV_CAP_PROP_IOS_DEVICE_TORCH));
NSLog(@"CV_CAP_PROP_IOS_DEVICE_FOCUS = %f", cvGetCaptureProperty(self.capture ,CV_CAP_PROP_IOS_DEVICE_FOCUS));
NSLog(@"CV_CAP_PROP_IOS_DEVICE_FLASH = %f", cvGetCaptureProperty(self.capture ,CV_CAP_PROP_IOS_DEVICE_FLASH));
NSLog(@"CV_CAP_PROP_IOS_DEVICE_EXPOSURE = %f", cvGetCaptureProperty(self.capture, CV_CAP_PROP_IOS_DEVICE_EXPOSURE));
然而,改變任何CV_CAP_PROP_IOS_DEVICE_的*有沒有影響,我發現它們中的大部分可以改爲0,1,2(在用cvGetCaptureProperty()查詢回數值後)
但它沒有效果:(
什麼想法?