From 6b74e8acc783d36608437d652f0c8c67b98e3253 Mon Sep 17 00:00:00 2001 From: Jordan Cheney Date: Tue, 26 May 2015 16:53:09 -0400 Subject: [PATCH] Fixed bug introduced by removing model var --- openbr/plugins/imgproc/slidingwindow.cpp | 2 +- openbr/plugins/representation/square.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 openbr/plugins/representation/square.cpp diff --git a/openbr/plugins/imgproc/slidingwindow.cpp b/openbr/plugins/imgproc/slidingwindow.cpp index 8537699..31bf939 100644 --- a/openbr/plugins/imgproc/slidingwindow.cpp +++ b/openbr/plugins/imgproc/slidingwindow.cpp @@ -138,7 +138,7 @@ class SlidingWindowTransform : public MetaTransform u.file.set("Confidence", confidences[j]); const QRectF rect = OpenCVUtils::fromRect(rects[j]); u.file.appendRect(rect); - u.file.set(model, rect); + u.file.set("Face", rect); dst.append(u); } } diff --git a/openbr/plugins/representation/square.cpp b/openbr/plugins/representation/square.cpp new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/openbr/plugins/representation/square.cpp @@ -0,0 +1 @@ + -- libgit2 0.21.4