OpenCV Haartraining

opencv_haartraining.exe -data xml -vec pos.vec -bg neg/neg.txt -w 20 -h 20 -mem 144

opencv_haartraining.exe -data xml/ -vec pos.vec -bg neg/neg.txt -nstages 4 -nsplits 1 -minhitrate 0.999 -maxfalsealarm 0.5 -npos 20 -nneg 50 -w 20 -h 20 -mem 1024 -eqw 1 -mode all -bt GAB -minpos 10

opencv_haartraining.exe -data xml/ -vec pos.vec -bg neg/neg.txt -nstages 10 -nsplits 2 -minhitrate 0.999 -maxfalsealarm 0.5 -npos 15 -nneg 4 -w 20 -h 20 -mem 1024 -eqw 1 -mode all

opencv_haartraining.exe -data C:\C_Project\HandTraining\Haar2\xml -vec C:\C_Project\HandTraining\Haar2\pos.vec -bg C:\C_Project\HandTraining\Haar2\neg\neg.txt -npos 15 -nneg 10 -nsplits 2 -mem 1024 -nonsym -w 20 -h 20 -minpos 10 -nstages 4


opencv_traincascade.exe –size="20*20" xml haarcascade.xml


opencv_traincascade.exe -data xml -vec pos.vec -bg neg/neg.txt -nstages 10 -nsplits 1 -minhitrate 0.988 -maxfalsealarm 0.5 -npos 20 -nneg 50 -w 20 -h 20 -mem 1024 -mode all 

opencv_traincascade.exe -data xml -vec pos.vec -bg neg/neg.txt -numPos 20 -numNeg 50 -numStages 16 -w 20 -h 20 -mem 1024

opencv_traincascade.exe -data xml -vec pos.vec -bg neg/neg.txt -numPos 100 -numNeg 274 -featureType haar -w 20 -h 20 -numStages 20

opencv_createsamples.exe -vec pos.vec -info pos/pos.txt -w 30 -h 30 -num 35
274

opencv_haartraining.exe -data xml/ -vec pos.vec -bg neg/neg.txt -nstages 12 -nsplits 2 -minhitrate 0.999 -maxfalsealarm 0.5 -npos 35 -nneg 139 -w 30 -h 30 -mem 2048 -eqw 1 -mode all


opencv_createsamples.exe -info name763.dat -vec zhengmian_763.vec -num 763 -w 50 -h 55

opencv_traincascade.exe -data DATAHOG -vec 763.vec -bg negname.dat -numPos 700 -numNeg 2100 -featureType HOG -w 50 -h 55 -numStages 20



opencv_traincascade.exe -data xml -vec pos.vec -bg neg/neg.txt -numPos 100 -numNeg 274 -featureType Haar -w 20 -h 20 -numStages 20

opencv_createsamples.exe -vec pos.vec -info pos/pos.txt -w 20 -h 20 -num 20

 

posted @ 2016-09-28 13:46  一样菜  阅读(785)  评论(0编辑  收藏  举报