2013-05-06 57 views
3

从API级别14开始,android引入了Camera.Face api。这个API提供了以下字段:使用android 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. 

我的问题是,使用这些属性是有可能与它们的属性创建熟悉的面孔的数据库/列表,然后搭配新面孔,显示多达熟悉的面孔?

回答

3

不,不可能仅凭这个API。 Facial recognitionface detection是两种不同的技术。

从人脸检测算法获得的信息量太过于简单,无法应用于识别算法。最好的办法是使用边界矩形来进一步分析图像。

+0

我明白他们是不同的。我只是不知道android的人脸检测中给出的数据是否可以用来创建面部识别 – Peter 2013-05-06 21:57:38