opencv 分類器 訓練過程中,保存cmd的輸出日誌。
You can redirect the standard output to a file when invoking the tool. For instance, opencv_traincascade all_your_parameters > output.txt
will write everything to 'output.txt'.
命令如下: 在所有命令後,直接 > output.txt 就會保存在目錄下TXT中。
opencv_traincascade.exe -data xml -vec pos.vec -bg neg.txt -numPos 110 -numNeg 1200 -numStages 20 -w 20 -h 20 -maxFalseAlarmRate 0.5 -mode ALL > output.txt
效果