Plz tell me how to detect the face of a person in an image.I want matlab code for this.

Risposte (3)

Depends on what you mean by "a" person. There is no face recognition (where your image matches a specific person in your database) built into MATLAB or any of the toolboxes, only face detection ( any human face, not caring who) in the Computer Vision System Toolbox. See this page: Face Detection by Computer Vision System Toolbox for face detection (all faces, we don't care who).
If you can't find code, you'll have to write your own. You can use papers that have been published here: VisionBib
If you have the Computer Vision System Toolbox, you can use the vision.CascadeObjectDetector to detect faces. The linked page contains code examples.
Additionally, you can look into this example as well:
Hope this helps.

2 Commenti

can u tell the alternate for vision.cascadeobjectdetector... because it is not working on my matlab
vision.CascadeObjectDetector not vision.cascadeobjectdetector
You need at least R2012a for it.

Accedi per commentare.

Categorie

Scopri di più su Image Processing and Computer Vision in Centro assistenza e File Exchange

Richiesto:

il 13 Gen 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by