Commit 4163d62cdfd14e7e222380f8fd9f78bbccdb936d
1 parent
e6bc189e
No need to check for empty in CatCols
Showing
1 changed file
with
0 additions
and
1 deletions
openbr/plugins/regions.cpp
| @@ -141,7 +141,6 @@ class CatColsTransform : public UntrainableMetaTransform | @@ -141,7 +141,6 @@ class CatColsTransform : public UntrainableMetaTransform | ||
| 141 | 141 | ||
| 142 | void project(const Template &src, Template &dst) const | 142 | void project(const Template &src, Template &dst) const |
| 143 | { | 143 | { |
| 144 | - if (src.empty()) return; | ||
| 145 | dst.file = src.file; | 144 | dst.file = src.file; |
| 146 | Mat m = OpenCVUtils::toMatByRow(src); | 145 | Mat m = OpenCVUtils::toMatByRow(src); |
| 147 | // right now this just splits src in half and joins them horizontally | 146 | // right now this just splits src in half and joins them horizontally |