简体   繁体   中英

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. 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/

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/

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.

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.

在此输入图像描述

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

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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