简体   繁体   English

使用Core Image iOs进行人脸检测

[英]Face Detection Using Core Image iOs

I'm trying to make an app using Core Image which detects human faces and extracts their eyes. 我正在尝试使用Core Image制作一个可检测人脸并提取眼睛的应用程序。 The problem is it detects animal faces as well. 问题在于它也可以检测出动物的面孔。 Can anyone please tell me if there is a way to avoid animal face detection from that using Core Image itself, or is there any condition to do so? 谁能告诉我是否有一种方法可以避免使用Core Image本身进行动物面部检测,或者有任何条件可以这样做?

CIFaceFeature类可以为您提供眼睛,嘴巴,isSmiling等的位置。从理论上讲,您可以手动检查“边界”类型的特征,这可能意味着动物,图形而不是人。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM