From 3667813d1e34d6e84d27491ad4897984532ac6b9 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Thu, 18 Sep 2014 10:57:01 -0400 Subject: [PATCH] Reverted stasm to untrainable for now --- openbr/plugins/stasm4.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/openbr/plugins/stasm4.cpp b/openbr/plugins/stasm4.cpp index ab963bc..a295384 100644 --- a/openbr/plugins/stasm4.cpp +++ b/openbr/plugins/stasm4.cpp @@ -56,7 +56,7 @@ BR_REGISTER(Initializer, StasmInitializer) * \brief Wraps STASM key point detector * \author Scott Klum \cite sklum */ -class StasmTransform : public Transform +class StasmTransform : public UntrainableTransform { Q_OBJECT @@ -75,19 +75,6 @@ class StasmTransform : public Transform stasmCascadeResource.setResourceMaker(new StasmResourceMaker()); } - void train(const TemplateList &data) - { - // Check constants in stasm_lib and landmarks - // Check options for initasm - // Convert shape from one format to another (convshape.cpp) - // A, d, and e are the MUCT frontals - - // Build model using TASM - - // Read in shape file? Or maybe this should be done via a format - - } - void project(const Template &src, Template &dst) const { if (src.m().channels() != 1) -- libgit2 0.21.4