diff --git a/openbr/plugins/regions.cpp b/openbr/plugins/regions.cpp index d4363b5..bd850aa 100644 --- a/openbr/plugins/regions.cpp +++ b/openbr/plugins/regions.cpp @@ -141,13 +141,15 @@ class CatColsTransform : public UntrainableMetaTransform void project(const Template &src, Template &dst) const { + int half = src.size()/2; + for (int i=0; i