-
Notifications
You must be signed in to change notification settings - Fork 0
/
ComandoCrearClasificador.txt
9 lines (6 loc) · 1.02 KB
/
ComandoCrearClasificador.txt
1
2
3
4
5
6
7
8
9
Crear Muestras
opencv_createsamples.exe -vec bin_desc.vec -info pos.info -bg neg.info -num 1800
Entrenar clasificador
opencv_traincascade.exe -data cascade -vec bin_desc.vec -bg neg.info -numPos 2000 -numNeg 3312 -numStages 40 -acceptanceRatioBreakValue (10e-3) -stageType BOOST -featureType LBP -w 24 -h 24 -bt GAB -minhitrate 0.95 -maxfalsealarm 0.45 -weightTrimRate 0.95 -maxDepth 1 -mem 1300 -mode ALL
opencv_traincascade.exe -data cascade -vec bin_desc.vec -bg neg.info -numPos 2000 -numNeg 3312 -numStages 40 -acceptanceRatioBreakValue (10e-3) -stageType BOOST -featureType LBP -w 24 -h 24 -bt GAB -minhitrate 0.95 -maxfalsealarm 0.45 -weightTrimRate 0.95 -maxDepth 3
opencv_traincascade.exe -data C:\OpenCV\build\x64\vc14\bin\cascade -vec C:\OpenCV\build\x64\vc14\bin\bin_desc.vec -bg C:\OpenCV\build\x64\vc14\bin\neg.info -numPos 100 -numNeg 3312 -numStages 40 -acceptanceRatioBreakValue (10e-3) -stageType BOOST -featureType HAAR -w 24 -h 24 -bt GAB -minhitrate 0.95 -maxfalsealarm 0.40 -weightTrimRate 0.95 -maxDepth 3 -mode ALL