繁体   English   中英

如何从 google ml kit 人脸检测器拍摄相机照片?

[英]How to take camera picture from google ml kit face detector?

我尝试使用相机图片https://github.com/fernandoptrr/flutter-camera-practice ,这适用于 XFile 图片 = await _cameraController.takePicture();

然后尝试 google ml 套件示例, https://github.com/bharat-biradar/Google-Ml-Kit-plugin 我尝试使用人脸检测器并尝试使用 takePicture() 进行屏幕截图。 它给出“拍照时发生错误,无法使用未配置的表面”。

有人可以给我举个例子,用谷歌 ml 套件拍照吗?

看看这个 github 项目FaceRecognitionAuth

你可以在这个项目中找到全脸识别认证。 另外,如果您想自己制作,则需要遵循一些配置。 就像你设置你的

tflite_flutter

package。 您需要配置初始设置

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM