Search code examples
computer-visioneye-detection

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?


Solution

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