Error in getFeatures (line 39)
Face = FaceDetect('haarcascade_frontalface_alt2.xml',pic2);
Error in getPoints (line 39)
out = getFeatures(snapshot0);
Error in eyetracking (line 48)
[T] = getPoints(snapshot);
unable to run the code,these are the foll errors..
please anyone can help me out of this
mY OS is Win 8.1 64bit
also were tocopy the .xml file and how toinstall the mex file
I tried the code (22 lines, as it is, without editing) mentioned under "Example, Basic:" in "Snake2D.m". This is the error I am getting:
To use 'interp', you might need:
interp - Control System Toolbox
interp - Signal Processing Toolbox
interp - System Identification Toolbox
Error in InterpolateContourPoints2D (line 32)
Error in Snake2D (line 127)
Your File Information says only Image Processing Toolbox is required to use your submitted code.
Is there anything I am doing wrong? I just want to detect contour of an example image I have in:
Any comments will be appreciated.
I don't know whether i have misunderstood or not, but some of the important codes are wrong.
In the line 51 of file kalman.m, x(i,:) = (xp + K*([cc(i),cr(i)]' - H*xp))', you just predicte the current position with the current real position and plot them in the same time.
That's why you get such a perfect result.
And I take a reference to other version of Kalman code like this one.
Just change it to the following code:
x(i+1,:) = (xp + K*([cc(i),cr(i)]' - H*xp))';
Correct me if i'm wrong.