From 39912d2240a899e6109d054b5a67fc9a189be048 Mon Sep 17 00:00:00 2001 From: AlexeyAB Date: Thu, 16 Mar 2017 00:23:47 +0300 Subject: [PATCH] Small fix --- src/yolo_v2_class.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/yolo_v2_class.hpp b/src/yolo_v2_class.hpp index 0116cce4..a846f4aa 100644 --- a/src/yolo_v2_class.hpp +++ b/src/yolo_v2_class.hpp @@ -8,10 +8,6 @@ #include "opencv2/imgproc/imgproc_c.h" // C #endif // OPENCV -//extern "C" { -//#include "image.h" -//} - #ifdef YOLODLL_EXPORTS #define YOLODLL_API __declspec(dllexport) #else @@ -39,7 +35,7 @@ public: YOLODLL_API Detector(std::string cfg_filename, std::string weight_filename, int gpu_id = 0); YOLODLL_API ~Detector(); - YOLODLL_API std::vector Detector::detect(std::string image_filename, float thresh = 0.2); + YOLODLL_API std::vector detect(std::string image_filename, float thresh = 0.2); YOLODLL_API std::vector detect(image_t img, float thresh = 0.2);