Commit 148d82db0bfb5e2abb787d87c803dd8ad100c88e
1 parent
e095c645
Fix evalFaceRecognition-LFW.sh
Explicitly store query/gallery file names as metadata in PairwiseCompare
Showing
1 changed file
with
3 additions
and
0 deletions
openbr/core/core.cpp
| @@ -280,6 +280,9 @@ struct AlgorithmCore | @@ -280,6 +280,9 @@ struct AlgorithmCore | ||
| 280 | TemplateList queries = q->read(); | 280 | TemplateList queries = q->read(); |
| 281 | TemplateList targets = t->read(); | 281 | TemplateList targets = t->read(); |
| 282 | 282 | ||
| 283 | + output.set("targetGallery", targetGallery.name ); | ||
| 284 | + output.set("queryGallery", queryGallery.name ); | ||
| 285 | + | ||
| 283 | // Use a single file for one of the dimensions so that the output makes the right size file | 286 | // Use a single file for one of the dimensions so that the output makes the right size file |
| 284 | FileList dummyTarget; | 287 | FileList dummyTarget; |
| 285 | dummyTarget.append(targets[0]); | 288 | dummyTarget.append(targets[0]); |