Commit 5b392f42e028ed6f1602ec9b37a482946d12fa32

Authored by Josh Klontz
2 parents e52c11d1 6a6d404e

Merge branch 'master' of https://github.com/biometrics/openbr

Showing 1 changed file with 1 additions and 0 deletions
openbr/openbr_plugin.cpp
@@ -433,6 +433,7 @@ TemplateList TemplateList::fromGallery(const br::File &gallery) @@ -433,6 +433,7 @@ TemplateList TemplateList::fromGallery(const br::File &gallery)
433 for (int j=crossValidate-1; j>=1; j--) { 433 for (int j=crossValidate-1; j>=1; j--) {
434 Template allPartitionTemplate = newTemplates[i]; 434 Template allPartitionTemplate = newTemplates[i];
435 allPartitionTemplate.file.set("Cross_Validation_Partition", j); 435 allPartitionTemplate.file.set("Cross_Validation_Partition", j);
  436 + allPartitionTemplate.file.set("Label", i+templates.size());
436 // Insert templates for all the other partitions 437 // Insert templates for all the other partitions
437 newTemplates.insert(i+1, allPartitionTemplate); 438 newTemplates.insert(i+1, allPartitionTemplate);
438 } 439 }