From 4163d62cdfd14e7e222380f8fd9f78bbccdb936d Mon Sep 17 00:00:00 2001 From: Austin Van Blanton Date: Sun, 11 Aug 2013 12:21:02 -0400 Subject: [PATCH] No need to check for empty in CatCols --- openbr/plugins/regions.cpp | 1 - 1 file changed, 0 insertions(+), 1 deletion(-) diff --git a/openbr/plugins/regions.cpp b/openbr/plugins/regions.cpp index e6c30fa..d4363b5 100644 --- a/openbr/plugins/regions.cpp +++ b/openbr/plugins/regions.cpp @@ -141,7 +141,6 @@ class CatColsTransform : public UntrainableMetaTransform void project(const Template &src, Template &dst) const { - if (src.empty()) return; dst.file = src.file; Mat m = OpenCVUtils::toMatByRow(src); // right now this just splits src in half and joins them horizontally -- libgit2 0.21.4