Commit b0ac58012e69a9c0e351c4bdb188821e40e16c31
1 parent
56a27c91
Plot detection results
Showing
1 changed file
with
9 additions
and
6 deletions
scripts/pedestrianBaselineLBP.sh
| ... | ... | @@ -10,18 +10,21 @@ else |
| 10 | 10 | INRIA_PATH=$DATA/INRIAPerson |
| 11 | 11 | fi |
| 12 | 12 | |
| 13 | -ALG="Open+Cvt(Gray)+Rename(neg,0)+BuildScales(Blur(2)+LBP(1,2)+SlidingWindow(Hist(59)+Cat+LDA(isBinary=true),windowWidth=10,takeLargestScale=false,threshold=2),windowWidth=10,takeLargestScale=false,minScale=4)+ConsolidateDetections+Discard" | |
| 13 | +ALG="Open+Cvt(Gray)+BuildScales(Blur(2)+LBP(1,2)+SlidingWindow(Hist(59)+Cat+LDA(isBinary=true),windowWidth=10,takeLargestScale=false,threshold=2),windowWidth=10,takeLargestScale=false,minScale=4)+Discard" | |
| 14 | 14 | |
| 15 | 15 | # Josh's new algorithm (in progress) |
| 16 | 16 | # ALG="Open+Cvt(Gray)+Detector(Gradient+Bin(0,360,9,true)+Merge+Integral+IntegralSlidingWindow(RecursiveIntegralSampler(2,2,0,PCA(0.95))+Cat+LDA(0.95,isBinary=true)))" |
| 17 | 17 | |
| 18 | +#TEST=testSmall.xml | |
| 19 | +TEST=test.xml | |
| 20 | + | |
| 18 | 21 | br -useGui 0 \ |
| 19 | 22 | -algorithm "${ALG}" \ |
| 20 | 23 | -path $INRIA_PATH/img \ |
| 21 | - -train $INRIA_PATH/sigset/train.xml pedModel | |
| 24 | + -train $INRIA_PATH/sigset/train.xml pedModel \ | |
| 25 | + -enroll $INRIA_PATH/sigset/$TEST pedResults.xml | |
| 22 | 26 | |
| 23 | -br -algorithm pedModel \ | |
| 24 | - -path $INRIA_PATH/img \ | |
| 25 | - -enroll $INRIA_PATH/sigset/testSmall.xml pedResults.xml | |
| 27 | +br -evalDetection pedResults.xml $INRIA_PATH/sigset/$TEST pedEvalResults.csv \ | |
| 28 | + -plotDetection pedEvalResults.csv pedPlots.pdf | |
| 26 | 29 | |
| 27 | -br -parallelism 0 -algorithm Open+Draw+Show -path $INRIA_PATH/img -enroll pedResults.xml | |
| 30 | +#br -parallelism 0 -algorithm Open+Draw+Show -path $INRIA_PATH/img -enroll pedResults.xml | ... | ... |