gpt4 book ai didi

ios - 在 Swift 4 中手动设置 iOS 相机的曝光

转载 作者:行者123 更新时间:2023-11-28 23:46:20 25 4
gpt4 key购买 nike

如何设置光圈以及它在图像中的效果如何?我已经管理了 ISO 和快门速度。但我无法设置光圈值。

最佳答案

光圈是固定的机械尺寸,无法更改 - 既不能通过代码也不能通过设备设置。

您可以通过 AVCaptureDevice .lensAperture 属性获取光圈(镜头光阑的大小) ,但您无法更改它。

Apple 文档:https://developer.apple.com/documentation/avfoundation/avcapturedevice/1624589-lensaperture

关于ios - 在 Swift 4 中手动设置 iOS 相机的曝光,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52605909/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com