Detect face area using Matlab

Image processing can be used to process various objects in various ways and one for them is the face detection. The face detection system has got many applications and developing such a system is even easier by use of the Image Processing ToolBox available in MATLAB.

The detection of face involves various tasks. They can be summarized in three steps as:-

  1. reading of a RGB image
  2. minimisation of background portion
  3. detection of face object

Here is the code for the detection of the face area. Save it as filename.m file and execute the code in matlab.

The sample output for the image read from my computer is shown below:-

 

 

 

 

The final output is the one with a detected area of the face.

The algorithm can be extended to detect even more precisely the area of the face.

SHARE Detect face area using Matlab

You may also like...

5 Responses

  1. thanks ashok sir…
    i am doing my project face identification and verification using gabor…. can you tell me how to extract the face point (fudicial point)like nose,eye,mouth… and how to get that value as arithmatic value…please sir….my mail id is [email protected]

  2. ASAD KHAN says:

    how to modify the same code for multiple faces

  3. Dulari says:

    Hello, How to detect eyes nose and lips from detected face ??

  4. sam ah says:

    I want to Detect ROI of face as well as eyes, nose and mouth . sent me to [email protected]

Leave a Reply

Your email address will not be published. Required fields are marked *

Share