Commit f82644f113223e578d657be2e323932eeebcd2af
1 parent
e3778811
Updated pedestrian baseline alg
Showing
1 changed file
with
3 additions
and
1 deletions
scripts/pedestrianBaselineLBP.sh
| @@ -6,8 +6,10 @@ | @@ -6,8 +6,10 @@ | ||
| 6 | #Make sure you set your data path. This will likely by your openbr/data directory. | 6 | #Make sure you set your data path. This will likely by your openbr/data directory. |
| 7 | INRIA_PATH=$DATA/INRIAPerson | 7 | INRIA_PATH=$DATA/INRIAPerson |
| 8 | 8 | ||
| 9 | +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" | ||
| 10 | + | ||
| 9 | br -useGui 0 \ | 11 | br -useGui 0 \ |
| 10 | - -algorithm "Open+Cvt(Gray)+Rename(neg,0)+BuildScales(Blur(2)+LBP(1,2)+SlidingWindow(Hist(59)+Cat+LDA(isBinary=true),windowWidth=10,takeLargestScale=false,threshold=3),windowWidth=10,takeLargestScale=false,minScale=4)+Discard" \ | 12 | + -algorithm "${ALG}" \ |
| 11 | -path $INRIA_PATH/img \ | 13 | -path $INRIA_PATH/img \ |
| 12 | -train $INRIA_PATH/sigset/train.xml pedModel \ | 14 | -train $INRIA_PATH/sigset/train.xml pedModel \ |
| 13 | -enroll $INRIA_PATH/sigset/testSmall.xml pedResults.xml | 15 | -enroll $INRIA_PATH/sigset/testSmall.xml pedResults.xml |