i识别人的扫描图像中的眼睛
我想开发一个 iPhone 应用程序,它应该识别 QR 阅读器扫描的图像中人的眼睛、脸部和肤色。
如何在图像中检测眼睛?
I want to develop an iPhone app which should recognise the eyes, face, and skin color of a person in an image which is scanned by QR Reader.
How can eyes be detected in an image?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
虽然这可能是可能的,但我只是警告您,无论编程如何,它都会有一定程度的不准确性。任何面部/视网膜检测软件都可能被欺骗,并且考虑到 iPhone 摄像头的质量,它无法捕获足够的细节来准确评估两个视网膜之间的几何相关性。此外,在识别面部颜色方面,由于光线条件的变化,可能会出现问题。在荧光灯下,人的肤色会比在白炽灯或自然光下显得更蓝。也许还有另一种方法可以解决这个问题?
Although it may be possible, I'm just warning you that it will have, regardless of the programming, a degree of inaccuracy. Any face/retina detection software is able to be tricked, and considering the quality of the iPhone's camera, it can't capture enough detail to accurately evaluate the geometric relevancy between two retinas. Also, about recognizing the face color, it might be problematic due to varying light conditions. Under florescent lights, the person's skin tone would appear more blue than under incandescent or natural lighting. Maybe there is another way to go about this?
为了定位眼睛,我使用了 Roberto Valenti、Theo Gevers 在我的硕士论文中“使用等照度曲率进行精确眼中心定位和跟踪”中描述的算法,并取得了非常好的结果:
http://www.science.uva.nl/research/publications/2008/ValentiCVPR2008/CVPR%2008.pdf
对于人脸检测/定位,使用Viola-Jones算法,有可能某个地方有 Objective-C 实现。 (OpenCV 有它,或者)
For localizing the eyes I've used the algorithm described in "Accurate Eye Center Location and Tracking Using Isophote Curvature" by Roberto Valenti, Theo Gevers in my master thesis and achieved very good results with it:
http://www.science.uva.nl/research/publications/2008/ValentiCVPR2008/CVPR%2008.pdf
For face detection / localization, use the Viola-Jones algorithm, there is probably a objective-c implementation out there somewhere. (OpenCV has it, alternatively)