AVCaptureDevice 曝光模式

Exposure Modes


AVCaptureExposureModeContinuousAutoExposure  ---自動調節曝光

AVCaptureExposureModeLocked  --使用當前曝光


下面是設置爲持續自動曝光的例子:

if ([currentDevice isExposureModeSupported:AVCaptureExposureModeContinuousAutoExposure]) {
    CGPoint exposurePoint = CGPointMake(0.5f, 0.5f); // 曝光點爲中心
    [currentDevice setExposurePointOfInterest:exposurePoint];
    [currentDevice setExposureMode:AVCaptureExposureModeContinuousAutoExposure];
}


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章