diff --git a/sdk/openbr_plugin.cpp b/sdk/openbr_plugin.cpp index 212393a..fe00e26 100644 --- a/sdk/openbr_plugin.cpp +++ b/sdk/openbr_plugin.cpp @@ -463,7 +463,7 @@ TemplateList TemplateList::fromGallery(const br::File &gallery) for (int i=0; i 0) newTemplates[i].file.insert("Cross_Validation_Partition", rand()%crossValidate); } diff --git a/sdk/openbr_plugin.h b/sdk/openbr_plugin.h index 608c4d9..83a901a 100644 --- a/sdk/openbr_plugin.h +++ b/sdk/openbr_plugin.h @@ -126,7 +126,7 @@ void reset_##NAME() { NAME = DEFAULT; } * path | QString | Resolve complete file paths from file names * enrollAll | bool | Enroll zero or more templates per file * separator | QString | Seperate #name into multiple files - * Input_Index | int | Index of a template in a template list + * Index | int | Index of a template in a template list * Label | float | Classification/Regression class * Confidence | float | Classification/Regression quality * FTE | bool | Failure to enroll diff --git a/sdk/plugins/youtube.cpp b/sdk/plugins/youtube.cpp index b54f946..feec07e 100644 --- a/sdk/plugins/youtube.cpp +++ b/sdk/plugins/youtube.cpp @@ -28,7 +28,7 @@ class YouTubeFacesDBTransform : public UntrainableMetaTransform dst = src; // First input is the header in 'splits.txt' - if (src.file.getInt("Input_Index") == 0) return; + if (src.file.getInt("Index") == 0) return; const QStringList words = src.file.name.split(", "); dst.file.name = words[0] + "_" + words[1] + "_" + words[4] + ".mtx";