cascade - OpenCV traincascade parameters -
i try train lbp cascade classifier emotion recognition i've managed 650 faces positives , 1002 negatives. these parameters:
numpos: 650 numneg: 1002 numstages: 20 precalcvalbufsize[mb] : 1500 precalcidxbufsize[mb] : 1500 stagetype: boost featuretype: lbp samplewidth: 24 sampleheight: 24 boosttype: gab minhitrate: 0.995 maxfalsealarmrate: 0.5 weighttrimrate: 0.95 maxdepth: 2 maxweakcount: 100
the positives consists of 650 frontal faces laughing , negatives consists of faces not laughing , of others random pics of animals, nature, trucks etc
i don't why doesn't find of parameters have default values. suggestion appreciated.
i have increased number of positive faces 735 , negative 1700. xml loaded correctly detects random parts background or face , laughing doesn't change result.
Comments
Post a Comment