Watch this Author's files
I try to use the example 1 in train_cascade. However, It's pop up alert like below:
Attempted to access ufx(3); index out of bounds because numel(ufx)=2.
Error in train_stage_cascade (line 181)
currentthresh = ufx(co);
Error in train_cascade (line 532)[options , Xfa] = train_stage_cascade(Xtrain , ytrain , Xtest , ytest ,
Error in Try_face_dect (line 103)
[options , model]= train_cascade(options);
Please help me since I cannot found the reason.