Ask Your Question

Performance Evaluation in Haar Cascade not working

asked 2015-10-07 06:08:41 -0500

Felicity gravatar image
E:\opencv\build\install\bin\opencv_performanced.exe -data classifier -info positive.txt -w 24 -h 30 -rs 30 > PerformanceGT01.txt

It gives an error: Unable to load classifier from classifier

Here is the screenview of the folder classifier: image description

I used the traincascade for training.

edit retag flag offensive close merge delete


I guess you need to use proper/full paths in every argument

LorenaGdL gravatar imageLorenaGdL ( 2015-10-07 06:20:30 -0500 )edit

i bet it is cascade.xml, not just cascade.

berak gravatar imageberak ( 2015-10-07 07:53:46 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-10-08 06:54:09 -0500

The performance tool is an old leftover from lost and deprecated times. No one has taken up the task to fully update it to the new C++ interface, so unless you have trained your model with the old interface (haartraining) which is again old deprecated and unsupported, then this will never work. To many changes have happened to model structures in the last months/years.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-10-07 06:08:41 -0500

Seen: 405 times

Last updated: Oct 07 '15