从 API 级别 14 开始,android 引入了 Camera.Face api。此 api 为您提供以下字段:
int id - An unique id per face while the face is visible to the tracker.
Point leftEye - The coordinates of the center of the left eye.
Point mouth - The coordinates of the center of the mouth.
Rect rect - Bounds of the face.
Point rightEye - The coordinates of the center of the right eye.
int score -The confidence level for the detection of the face.
我的问题是,使用这些属性是否可以创建已知面孔及其属性的数据库/列表,然后匹配出现已知面孔的新面孔?