我在一个Android应用程序的工作使用的摄像头,并且注重我发现图像的唯一方法需要使用内置的自动对焦。它的功能是当你想拍照伟大的,但是当你正在使用的视频这是一个整体的其他故事。
有没有办法来反复调整的重点,而无需完全重新设置当前重点是什么?
解决方案请参阅这个。
修改的
不,我相信该网站将很快消失,但以防万一:
公共静态最后弦乐FOCUS_MODE_CONTINUOUS_VIDEO
针对视频拍摄连续自动对焦模式。相机不断地尝试对焦。这是理想的拍摄视频。应用程序仍可以调用 takePicture(Camera.ShutterCallback,Camera.PictureCallback,Camera.PictureCallback)在此模式下,但这个问题可能不会成为市场关注焦点。自动聚焦启动时的参数设置。应用程序不应该叫自动对焦(AutoFocusCallback)在此模式下。要停止连续对焦,应用程序应该改变对焦模式等模式。恒值:连续录像
I'm working on an android app using the camera, and the only means of focusing the image I've found requires the use of the built-in auto-focus. Its functionality is great when you're looking to take a picture, but when you're working with video it's a whole other story.
Is there a way to repeatedly adjust the focus without having to completely re-set the current focus?
解决方案See this.
edit
Not that I believe the site will go away anytime soon, but just in case:
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"
更多推荐
有没有一种有效的方法来做到"连续"自动对焦?
发布评论