I am trying to create a head detector using the LBP functions in OpenCV using the traincascade utility. It is reliable that a head detector will lead to something similar to the OpenCV profile created by Vladimir Pivarevsky. I want to recreate the model because the current model only handles the front and left sides.
I follow the Naotoshi Seo tutorial and use the dataset from the Irshad Ali website . Unfortunately, the resulting model slowly performs many false positives.
Tracing is performed as follows:
opencv_traincascade -data "data" -vec "samples.vec" -bg "out_negatives.dat" -numPos 26000 -numNeg 4100 -numStages 16 -featureType LBP -w 20 -h 20 -bt GAB -minHitRate 0.995 -maxFalseAlarmRate 0.3 -weightTrimRate 0.95 -maxDepth 1 -maxWeakCount 100 -maxCatCount 256 -featSize 1
I tried using a different dataset, now the front face from http://fei.edu.br/~cet/facedatabase.html , but the result is still the same: slow detection and a lot of false positives.
Does anyone have any knowledge or experience in creating a cascading haar / lbp model? Please give any suggestion so that I can improve the accuracy of the model. I tried using the built-in OpenCV model and the result is good (lbpfrontalface.xml). Thank you very much!
bonchenko
source share