[英]Find eyes and mouth in an face image
I'm curious about finding the eyes from an image. 我很想从图像中找到眼睛。 Let's say I have an thresholded image and I have 3 blobs representing two eyes and the mouth.
假设我有一个阈值图像,我有3个斑点代表两只眼睛和嘴巴。 Is there a way to detect which of the region of pixels is eye region and approximate it's center?
有没有办法检测哪个像素区域是眼睛区域并接近它的中心?
I am not sure if I follow your question right! 我不确定我是否正确地回答你的问题! Do you want to process a gray level/ color image or a binary image.
是否要处理灰度/彩色图像或二进制图像。
You might find the following links relevant if you are trying to locate fiducial points on face images 如果您尝试在面部图像上找到基准点,您可能会发现以下相关链接
1) http://www.learnopencv.com/facial-landmark-detection/ 1) http://www.learnopencv.com/facial-landmark-detection/
2) http://danielnouri.org/notes/2014/12/17/using-convolutional-neural-nets-to-detect-facial-keypoints-tutorial/ 2) http://danielnouri.org/notes/2014/12/17/using-convolutional-neural-nets-to-detect-facial-keypoints-tutorial/
3) http://cmp.felk.cvut.cz/~uricamic/flandmark/ 3) http://cmp.felk.cvut.cz/~uricamic/flandmark/
I would actually recommend you to use dlib library. 我实际上建议你使用dlib库。
I used it recently. 我最近用过它。 You can use it very easily for object detection and if you want to train it for your own objects it is fairly easy using imglab.
您可以非常轻松地将它用于对象检测,如果您想为自己的对象训练它,使用imglab相当容易。
http://blog.dlib.net/2014/02/dlib-186-released-make-your-own-object.html http://blog.dlib.net/2014/02/dlib-186-released-make-your-own-object.html
See this. 看到这个。
You can check the following blog which is much equipped with facial landmarks detection including eye regions. 您可以查看以下博客,该博客配备了面部地标检测功能,包括眼部区域。 It will be very much easier to find approximate center of eye.
找到近似的眼睛中心会非常容易。 It gives six points (37-42 left eye & 43-48 right eye) of eye along the eye lid which can be used to calculate the eye center.
它沿着眼睑提供六个眼睛(37-42左眼和43-48右眼),可用于计算眼睛中心。
Detect eyes, nose, lips, and jaw with dlib, OpenCV, and Python 使用dlib,OpenCV和Python检测眼睛,鼻子,嘴唇和下巴
There are much more you may find them very much interesting and helpful. 你可能会发现它们非常有趣和有用。
OpenCV is the acronym of Open Computer Vision . OpenCV是Open Computer Vision的首字母缩写。 this is a project that works on face-recognition pattern-recognition face-traking and much much more.
这是一个致力于面部识别模式识别面部抄袭的项目,以及更多。
There is a well-written documentation and a lot of examples all over the web. 网上有很好的文档和很多例子。 I suggest you to take a look at this.
我建议你看看这个。
It works with Java,c++ and python. 它适用于Java,c ++和python。
Search for eye-traking if this is your main interest. 如果这是您的主要兴趣,请搜索眼睛盯着。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.