我想在我的应用中实现人脸识别。
是可用于 Flutter 的任何人脸识别软件包。
答案 0 :(得分:0)
这里是一个有关Face Recognition...的软件包 还有一篇文章,checkout here...
答案 1 :(得分:0)
示例
import 'package:flutter_face_detection/flutter_face_detection.dart';
var photo = Image.asset("images/einstein.png");
var bitmap = Bitmap.fromAssetImage(photo.image as AssetImage);
var detector = FaceDetector(width: 280, height: 396);
for (var face in await detector.findFaces(bitmap)) {
print("Found a face at (${face.midPoint.x}, ${face.midPoint.y}) with confidence ${face.confidence}");
}