From 993e3a38aab390625a1ac2b425c75883bbc684fe Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Sat, 27 Jan 2018 21:57:04 +0000 Subject: [PATCH] Tracking is simplified --- src/yolo_v2_class.hpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/yolo_v2_class.hpp b/src/yolo_v2_class.hpp index d0f56d0..bddf7d3 100644 --- a/src/yolo_v2_class.hpp +++ b/src/yolo_v2_class.hpp @@ -58,7 +58,8 @@ YOLODLL_API int get_net_width() const; YOLODLL_API int get_net_height() const; - YOLODLL_API std::vector<bbox_t> tracking_id(std::vector<bbox_t> cur_bbox_vec, int const frames_story = 6, int const max_dist = 150); + YOLODLL_API std::vector<bbox_t> tracking_id(std::vector<bbox_t> cur_bbox_vec, bool const change_history = true, + int const frames_story = 6, int const max_dist = 150); #ifdef OPENCV std::vector<bbox_t> detect(cv::Mat mat, float thresh = 0.2, bool use_mean = false) -- Gitblit v1.10.0