如何使用 MLKit FaceDetector 跟踪图像的人脸

How to track face with MLKit FaceDetector for images

可能有 Google 工程师的确认 that MLKit cannot determine whether two detected faces are of the same person. However, according to Face detection document:

Track faces across video frames Get an identifier for each unique detected face. The identifier is consistent across invocations, so you can perform image manipulation on a particular person in a video stream.

我想知道为什么它不适用于照片列表,因为视频只是相框的组合。目前似乎只有 MLKit 是用于人脸检测的设备上库,无需 API,如果 MLKit 也支持人脸识别器,那就太好了。

MLKit 面部跟踪是通过视频序列中的 the position and motion of the face 完成的。目前不支持人脸识别,未来也没有支持此功能的计划。