android - 有没有一种有效的方法来进行 "continuous"自动对焦?

标签 android camera focus

我正在开发一个使用相机的 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 call autoFocus(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/

相关文章:

android - Cordova 网络应用程序

安卓 : How to get the dirty(changed) properties

delphi - 在 Delphi 7 中使用 WinAPI 从网络摄像头拍照

ios - 如何检查使用 UISegmentedControl 选择了哪个段

javascript - focus() 在 IE 11 中不起作用

javascript - 如何制作:hover appearance remain after click/focus in search bar

c# - 检测我的表单何时获得焦点

android - 当用户按下键盘上的按钮时,在字母键盘和数字键盘之间切换

java - 将按钮添加到 LinearLayout 不起作用

c# - 使用 Xamarin.Forms 访问相机