HAAR FEATURE

Below are examples of the haar-like feature sets that are used in training. It displays what features are used based on the “mode” option used as well as the string representation that will be used in each of the AdaBoostCARTHaarClassifier.txt files created for each stage on the classifier.

1 if(mode == BASIC || CORE || ALL)
haar_x2         haar_y2
           			 
haar_x3         haar_y3
          			 
haar_x2_y2

1 if(mode != BASIC)
haar_x4         haar_y4
          
haar_point

1 if(mode == ALL)
tilted_haar_x2         tilted_haar_y2
               
tilted_haar_x3         tilted_haar_y3
               
tilted_haar_x4         tilted_haar_y4
               
tilted_haar_point

One thing to notice is that tilted_haar_point feature is actually commented out in the cvhaartraining.cpp source code. So if that is a feature you would like to use it will need to be uncommented and recompiled for an new executable that will now include that feature.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章