从api level 14开始,安卓引入了Camera.Face 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.我的问题是,使用这些属性,是否有可能创建一个已知面孔及其属性的数据库/列表,然后将显示为已知面孔的新面孔进行匹配?
发布于 2013-05-07 05:55:45
不,仅使用该API是不可能的。Facial recognition和face detection是两种不同的技术。
从面部检测算法获得的信息量太简单,不能应用于识别算法。您可以做的最好的是使用边界矩形来进一步分析图像。
https://stackoverflow.com/questions/16407894
复制相似问题