Find eyes and mouth in an face image

2019-05-14 11:26发布

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. Is there a way to detect which of the region of pixels is eye region and approximate it's center?

4条回答
爷、活的狠高调
2楼-- · 2019-05-14 11:41

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.

enter image description here

Detect eyes, nose, lips, and jaw with dlib, OpenCV, and Python

There are much more you may find them very much interesting and helpful.

查看更多
对你真心纯属浪费
3楼-- · 2019-05-14 11:51

OpenCV is the acronym of 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.

Search for eye-traking if this is your main interest.

查看更多
我想做一个坏孩纸
4楼-- · 2019-05-14 11:54

I would actually recommend you to use dlib library.

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.

http://blog.dlib.net/2014/02/dlib-186-released-make-your-own-object.html

See this.

查看更多
地球回转人心会变
5楼-- · 2019-05-14 11:56

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/

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/

查看更多
登录 后发表回答