Ask Your Question
0

Performance Evaluation in Haar Cascade not working

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

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

Comments

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

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

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

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

1 answer

Sort by ยป oldest newest most voted
0

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

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

Stats

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

Seen: 471 times

Last updated: Oct 07 '15