From 768f1515794253bd028f00afc0c4b76ad6bb91fb Mon Sep 17 00:00:00 2001 From: Austin Van Blanton Date: Tue, 30 Jul 2013 15:10:50 -0400 Subject: [PATCH] Fix some things for HoG --- openbr/plugins/keypoint.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbr/plugins/keypoint.cpp b/openbr/plugins/keypoint.cpp index 098120a..45053ba 100644 --- a/openbr/plugins/keypoint.cpp +++ b/openbr/plugins/keypoint.cpp @@ -15,6 +15,7 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include +#include #include #include "openbr_internal.h" #include "openbr/core/opencvutils.h" @@ -194,7 +195,7 @@ class HoGDescriptorTransform : public UntrainableTransform Size winStride = Size(0,0); Size padding = Size(0,0); hog.compute(src, descriptorVals, winStride, padding, locations); - Mat HoGFeats = Mat(descriptorVals, true); + Mat HoGFeats = Mat(descriptorVals, true); dst += HoGFeats; } }; -- libgit2 0.21.4