diff --git a/openbr/core/core.cpp b/openbr/core/core.cpp index 0d20c2c..1a23139 100644 --- a/openbr/core/core.cpp +++ b/openbr/core/core.cpp @@ -51,6 +51,8 @@ struct AlgorithmCore qFatal("downcast failed?"); downcast->transforms[0] = this->transform.data(); + downcast->init(); + TemplateList data(TemplateList::fromGallery(input)); // set the Train bool metadata, in case a Transform's project