Cascade training error - Empty data folder error

asked 2015-02-25 11:47:57 -0500

Schawn gravatar image

I am using OpenCV 2.4.9 to try and build my own classifier. I am following the instructions on this site:

I was successful in creating a classifier XML file. I went to try an build a new different classifier and ran into the following error:

Training parameters are loaded from the parameter file in data folder! Please empty the data folder if you want to use your own set of parameters

I could not find any parameter file anywhere to empty. When I ran the second time I created a whole new directory structure from the first successful run.

Any help or understanding of how to fix this error?

edit retag flag offensive close merge delete


this is the folder, where your stage.xml's and the final cascade.xml are.

again, no fear. it's just a reminder, that you will use the same set of params (from your previous classifier), unless you clean it up.

also, the tutorial in the link is outdated. take anything there with a grain of salt.

berak gravatar imageberak ( 2015-02-25 12:22:10 -0500 )edit

That is what I thought, but that folder is empty. I created a whole new directory structure to do the second run and made sure it was empty. Not sure what would cause this.

Do you know of a newer or up-to-date tutorial that I could be using? I am using OpenCV 2.4.9

Schawn gravatar imageSchawn ( 2015-02-25 12:49:48 -0500 )edit