我正在开发一个使用相机的 Android 应用程序,我找到的对图像进行对焦的唯一方法是使用内置的自动对焦。当您想要拍照时,它的功能很棒,但当您处理视频时,它的功能就完全不同了。
有没有办法在不完全重新设置当前焦点的情况下重复调整焦点?
最佳答案
参见 this .
编辑
并不是说我相信该网站会很快消失,但以防万一:
public static final String FOCUS_MODE_CONTINUOUS_VIDEO
Continuous auto focus mode intended for video recording. The camera continuously tries to focus. This is ideal for shooting video. Applications still can call
takePicture(Camera.ShutterCallback, Camera.PictureCallback, Camera.PictureCallback)
in this mode but the subject may not be in focus. Auto focus starts when the parameter is set. Applications should not callautoFocus(AutoFocusCallback)
in this mode. To stop continuous focus, applications should change the focus mode to other modes. Constant Value:"continuous-video"
关于android - 有没有一种有效的方法来进行 "continuous"自动对焦?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7156403/