Ask Your Question
0

How to use the files in haar_training and traincascade folder in openCV 2.4.6?

asked 2013-08-13 21:00:10 -0600

Michael Vance gravatar image

updated 2013-08-14 00:56:25 -0600

Does anyone have an idea how to use the files in there? If I have to build it, how do I do it? What is the proper procedure or usage of the files?

Please help, if possible, I prefer a Windows based approach, since our product is to be deployed in Windows.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-08-14 01:04:15 -0600

Haartraining and traincascade are both systems to train object detectors, based on HAAR features for the haartraining or based on LBP/HOG/HAAR featurs for the traincascade. It is based on the cascade classifier techniques used by Viola & Jones face detection framework, which is in principle a boosted cascade of weak classifiers. Go read some documentation on the internet about this technique, before you start digging into the code. It is important that you grasp the principle.

To use the files, create empty C++ projects, add all cpp and hpp files to your project. Build and use the resulting executables to train and detect with an objectdetector. Basically traincascade is the evolved system based on haartraining, so I would just stick to that one if I was you.

More information can be found in documents

  1. Cascade Classification
  2. Cascade Classification Training
  3. Cascade Classification Example on Face Detection
edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-08-13 21:00:10 -0600

Seen: 1,171 times

Last updated: Aug 14 '13