[英]Set rect focus in camera android
I am doing an Android application that uses camera. 我正在做一个使用相机的Android应用程序。 I want that camera focuses in faces.
我想让相机对焦于面部。 My dude is: Nexus 5 front camera only has "Fixed" in focus mode.
我的兄长是:Nexus 5前置摄像头在对焦模式下只有“固定”状态。 Is there some way to use setRect areas or something like that.
是否有使用setRect区域的方法或类似方法。
I try to use facedetectionlistener and runs ok but when i also add a previewcallback to do some process stops running. 我尝试使用facedetectionlistener并运行正常,但是当我还添加一个previewcallback来执行一些进程停止运行。 ( Issue with preview callback [ANDROID] )
( 有关预览回调[ANDROID]的问题 )
Thanks 谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.