Commit b45acc4040e079d46e9fc40e663d89c4bcf608d0
Merge branch 'master' of https://github.com/biometrics/openbr
Showing
2 changed files
with
8 additions
and
4 deletions
scripts/evalAgeRegression-PCSO.sh
| @@ -4,6 +4,8 @@ if [ ! -f evalAgeRegression-PCSO.sh ]; then | @@ -4,6 +4,8 @@ if [ ! -f evalAgeRegression-PCSO.sh ]; then | ||
| 4 | exit | 4 | exit |
| 5 | fi | 5 | fi |
| 6 | 6 | ||
| 7 | -br -quiet -enroll "../data/PCSO/PCSO.db[query='SELECT File,Age,PersonID FROM PCSO WHERE Age >= 15 AND AGE <= 75', subset=1:200]" terminal.txt > Input.txt | 7 | +# Create a file list by querying the database |
| 8 | +br -quiet -algorithm Identity -enroll "../data/PCSO/PCSO.db[query='SELECT File,Age,PersonID FROM PCSO WHERE Age >= 15 AND AGE <= 75', subset=1:200]" terminal.txt > Input.txt | ||
| 8 | 9 | ||
| 9 | -br -algorithm AgeRegression -path ../data/PCSO/Images -enroll Input.txt Output.txt -evalRegression Output.txt Input.txt | 10 | +# Enroll the file list and evaluate performance |
| 11 | +br -algorithm AgeRegression -path ../data/PCSO/img -enroll Input.txt Output.txt -evalRegression Output.txt Input.txt |
scripts/evalGenderClassification-PCSO.sh
| @@ -4,6 +4,8 @@ if [ ! -f evalGenderClassification-PCSO.sh ]; then | @@ -4,6 +4,8 @@ if [ ! -f evalGenderClassification-PCSO.sh ]; then | ||
| 4 | exit | 4 | exit |
| 5 | fi | 5 | fi |
| 6 | 6 | ||
| 7 | -br -quiet -enroll "../data/PCSO/PCSO.db[query='SELECT File,Gender,PersonID FROM PCSO', subset=1:8000]" terminal.txt > Input.txt | 7 | +# Create a file list by querying the database |
| 8 | +br -quiet -algorithm Identity -enroll "../data/PCSO/PCSO.db[query='SELECT File,Gender,PersonID FROM PCSO', subset=1:8000]" terminal.txt > Input.txt | ||
| 8 | 9 | ||
| 9 | -br -algorithm GenderClassification -path ../data/PCSO/Images -enroll Input.txt Output.txt -evalClassification Output.txt Input.txt | 10 | +# Enroll the file list and evaluate performance |
| 11 | +br -algorithm GenderClassification -path ../data/PCSO/img -enroll Input.txt Output.txt -evalClassification Output.txt Input.txt |