Opencv

Athena on August 14th, 2011

Once you have a *.xml file that you created from training the classifier then you can test the performance of that classifier cascade against your prositive test or you could create a validation test set to test performance against. OpenCV comes with a built in performance utility C:\OpenCV2.2\bin>opencv_performance.exe -data “C:\My Documents\HaarClassifier\haarcascade\haarcascade.xml” -info “C:\My Documents\Positive Test […]

Continue reading about Performance Testing your Classifier

Athena on August 13th, 2011

Once your training is done there will be a number of directories created in your haarcascade location you specified when your training first began. The directories will be labelled from 0…N where N is the total number of stages the trainer completed. In each directory there will be one AdaBoostCARTHaarClassisifer.txt file and each of the […]

Continue reading about AdaBoostCARTHaarClassifier Text Files

Athena on August 13th, 2011

When going through the training stages you might find that your training has come to a halt where its progress isn’t getting any further and or it has exited out improperly. If this happens you can still turn the stages it did successfully complete into a Classifier Cascade XML. OpenCV comes with a built in […]

Continue reading about Converting an intermediate cascade set

Athena on August 13th, 2011

Once you have a *.vec file that you created from your positive images you are ready to train your classifier. OpenCV comes with a built in training utility opencv_haartraining.exe -data “C:\My Documents\HaarClassifier\haarcascade” -vec “C:\My Documents\Positive Test Set\positives.vec” -bg “C:\My Documents\Negative Test Set\negatives.txt” -npos 1134 -nneg 625 -nstages 20 Explanation of the code above: opencv_haartraining.exe is […]

Continue reading about Training a Haar Classifier

Athena on August 8th, 2011

OpenCV is an image processing library that I use in conjunction with C++ in Visual Studio. This library has proven to be very useful so far. I have experienced a number of crashes,  as well as using some of their supplied binaries.  Some of these I was able to get around by actually loading the […]

Continue reading about OpenCV