How to calculate accuracy or evaluate my face detection output

Hi,
I am able to detect faces captured by webcam. How can I know the accuracy rate of my output.
Thanks in advance

 Accepted Answer

You need to have a set of validation images whose classification is known, and which are not used to test or tune the algorithm. After you have debugged the classification, you run the classification on the validation set without telling the algorithm which class they are, and then observe what fraction of them it gets right.

More Answers (1)

1 Comment

Thanks for the link. Its relevant to the work. looking into some more theory behind it. Thanks again.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!