How to extract successive frames from a video sequence to track a face using camshift algorithm?

1 view (last 30 days)
I have attached camshift.m file.(I looked into the sample code from:- https://in.mathworks.com/help/vision/examples/face-detection-and-tracking-using-camshift.html )
After running the following code only one frame is detected. This code is not able to track the face from the entire video.
These are the errors I am getting,
1. Error using SystemProp.parseInputs (line 742) vision.CascadeObjectDetector System object constructor supports only 1 value-only inputs. You have specified 3 value-only inputs. A common cause of this error is misspelling a property name.
2. Error in D:\R2013a\toolbox\matlab\system\+matlab\+system\SystemProp.p>SystemProp.setProperties (line 203)
3. Error in vision.CascadeObjectDetector (line 179) setProperties(obj,nargin,varargin{:},'ClassificationModel');
4. Error in camshift (line 10) noseDetector = vision.CascadeObjectDetector('Nose', 'UseROI', true);

Answers (0)

Categories

Find more on Large Files and Big Data in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!