Ask Your Question
0

How do I evaluate the performance of Haar Cascade in test data ? How do we classify the set of images in different categories using Haar Cascade, just like CNN does?

asked 2019-03-02 16:46:34 -0600

richa gravatar image

updated 2019-03-03 03:44:29 -0600

LBerger gravatar image

How do I evaluate the performance of Haar Cascade in test data (i.e. confusion matrix)? How do we classify the set of images in different categories like cat and dog using Haar Cascade, just like CNN does?

edit retag flag offensive close merge delete

Comments

I would say don't do that. It is a waste of time. Deep learning will outperform Haar Cascade classifier.

Eduardo gravatar imageEduardo ( 2019-03-03 06:53:18 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-03-03 02:30:11 -0600

berak gravatar image

updated 2019-03-03 02:52:10 -0600

How do we classify the set of images in different categories like cat and dog using Haar Cascade, just like CNN does?

you can't do this.

cascade classifiers are binary, detect a single class, or the absence of it.

if you want to build a confusion matrix for a single class(ifier), you'll need annotated images (ground truth face boxes), test those with your trained classifier, and evaluate the detections using IOU

long story short: IF you have several classes to detect, use a cnn, not cascades.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-03-02 16:46:34 -0600

Seen: 615 times

Last updated: Mar 03 '19