Commit 3667813d1e34d6e84d27491ad4897984532ac6b9
1 parent
058266d7
Reverted stasm to untrainable for now
Showing
1 changed file
with
1 additions
and
14 deletions
openbr/plugins/stasm4.cpp
| ... | ... | @@ -56,7 +56,7 @@ BR_REGISTER(Initializer, StasmInitializer) |
| 56 | 56 | * \brief Wraps STASM key point detector |
| 57 | 57 | * \author Scott Klum \cite sklum |
| 58 | 58 | */ |
| 59 | -class StasmTransform : public Transform | |
| 59 | +class StasmTransform : public UntrainableTransform | |
| 60 | 60 | { |
| 61 | 61 | Q_OBJECT |
| 62 | 62 | |
| ... | ... | @@ -75,19 +75,6 @@ class StasmTransform : public Transform |
| 75 | 75 | stasmCascadeResource.setResourceMaker(new StasmResourceMaker()); |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | - void train(const TemplateList &data) | |
| 79 | - { | |
| 80 | - // Check constants in stasm_lib and landmarks | |
| 81 | - // Check options for initasm | |
| 82 | - // Convert shape from one format to another (convshape.cpp) | |
| 83 | - // A, d, and e are the MUCT frontals | |
| 84 | - | |
| 85 | - // Build model using TASM | |
| 86 | - | |
| 87 | - // Read in shape file? Or maybe this should be done via a format | |
| 88 | - | |
| 89 | - } | |
| 90 | - | |
| 91 | 78 | void project(const Template &src, Template &dst) const |
| 92 | 79 | { |
| 93 | 80 | if (src.m().channels() != 1) | ... | ... |