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

1 次查看(过去 30 天)
I want matlab code for detecting the face of a person in an image. can anybody help me,it is urgent.

回答(3 个)

Mischa Kim
Mischa Kim 2014-1-13
Hello Tawheed, have you checked File Exchange?

Image Analyst
Image Analyst 2014-1-13
编辑:Image Analyst 2014-1-13
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

Anand
Anand 2014-1-13
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.

Community Treasure Hunt

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

Start Hunting!

Translated by