Code to detect face in a real time video using webcam

please TELL me the MATLAB Code to detect or track a face in a real time video using A webcam in MATLAB* I AM DOING MY PROJECT IN FACE RECOGNITION, BUT NOT GETTING HELP FROM ANYWHERE. Thank you....

4 Comments

Do you have the computer vision toolbox?
how will i know wheather i have a computer vision tool box in my matlab version or not?
You can go to your add-ons and check !
Use
ver('vision')
to see if you have the Computer Vision toolbox installed.
Use
license('test','Video_and_Image_Blockset')
to see if you have a license for the Computer Vision toolbox.
It is possible to have a license for a product without having it installed; and in some cases it is possible to have a product installed without having a license for it.

Sign in to comment.

 Accepted Answer

Face detection and recognition are different things. So is tracking. In your search did you happen to include the Mathworks web site? If so, did you see this page: http://www.mathworks.com/products/computer-vision/description4.html

6 Comments

If I run the "vision.CascadeObjectDetector". It shows the following error:-
??? Undefined variable "vision" or class "vision.CascadeObjectDetector".
Error in ==> facedetect at 2 faceDetector = vision.CascadeObjectDetector();
Do you have the Computer Vision Toolbox installed?
i am doing face recognition in real time . i need help
do you still need help?
yes i do...can u help me
I'm also working on that(Master thesis) so we can chat together?

Sign in to comment.

More Answers (2)

umm... is there a code if for if I'm going to detect faces from a real-time video captured without a webcam??? for example detect faces from a live streamed video from a drone/quadcopter

1 Comment

vision.CascadeObjectDetector does not care where you get the image that you feed in.
You might have some difficulty getting the streaming live video, but possibly you could use http://www.mathworks.com/help/supportpkg/ipcamera/ug/ipcam.html

Sign in to comment.

how to detect object using webcam? we don't know pls help us.

Community Treasure Hunt

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

Start Hunting!