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 个评论

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.

请先登录,再进行评论。

 采纳的回答

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 个评论

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
I'm also working on that(Master thesis) so we can chat together?

请先登录,再进行评论。

更多回答(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 个评论

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

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by