AVCaptureDevice 曝光模式

来源:互联网 发布:52单片机引脚功能 编辑:程序博客网 时间:2024/05/16 13:52

Exposure Modes


AVCaptureExposureModeContinuousAutoExposure  ---自动调节曝光

AVCaptureExposureModeLocked  --使用当前曝光


下面是设置为持续自动曝光的例子:

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


0 0
原创粉丝点击