Android ACTION_IMAGE_CAPTURE自动对焦拍照 [英] Android ACTION_IMAGE_CAPTURE auto focus on take picture

查看:613
本文介绍了Android ACTION_IMAGE_CAPTURE自动对焦拍照的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用Camera API做为我们的自订相机应用程式。然而,事实证明是一个非常困难的问题。许多设备需要额外的测试,因为它们似乎执行意外的行为。因此,我们决定迁移到Android的摄像头意图。

We were using Camera API for our custom camera application. However, it turned out to be a very hard problem. Many devices required extra testing as they seemed to perform unexpected behaviors. So, we have decided to migrate to Android's camera intent.

但是,我们正在处理图像检索任务,所以我们不希望我们的用户向我们发送模糊的图片。以前,我们使用自动对焦作为用户点击拍照按钮。 Android相机意图执行比我们更差,因为它不尝试在拍摄之前自动对焦。 Android的相机有这样的选择,但我们不想离开这个决定对我们的用户,因为他们可能不会选择该选项。

However, we are dealing with image retrieval tasks so, we don't want our users to send us blurry pictures. Previously, we were using autofocus as user taps on take picture button. Android camera intent performs worse than ours because it does not try to autofocus just before taking the picture. Android's camera does have such option but we don't want leave that decision up to our users because, they will probably will not select that option.

是否可以在拍摄照片之前自动聚焦的选项启动相机意图?

Is it possible to launch the camera intent with the option which auto focusses just before taking the picture? Thank you!

推荐答案


可以使用自动聚焦选项启动相机意图在拍摄照片之前?

Is it possible to launch the camera intent with the option which auto focusses just before taking the picture?

否。是否使用自动对焦,闪光或任何其他相机功能的决定是在用户和相机应用程序的开发人员之间。您没有得到投票。

No. The decision of whether or not to use auto-focus, or a flash, or any other camera feature, is between the user and the developers of the camera app. You do not get a vote.

这篇关于Android ACTION_IMAGE_CAPTURE自动对焦拍照的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆