I create this project to learn adaboost.
You can use make to build this project.
cd detect_one/
mkdir build
cd build
cmake ..
make
The tool called fillpos can fill in the area specified in the picture. You can read detailed use mathod in FillSamples.