From 1106f5325b8bd3dc4b5fe776d8abecbe3879b9d2 Mon Sep 17 00:00:00 2001
From: Alexey <AlexeyAB@users.noreply.github.com>
Date: Sun, 18 Feb 2018 16:44:58 +0000
Subject: [PATCH] Update Readme.md
---
src/yolo_v2_class.hpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/yolo_v2_class.hpp b/src/yolo_v2_class.hpp
index 5aa3631..8abb9e2 100644
--- a/src/yolo_v2_class.hpp
+++ b/src/yolo_v2_class.hpp
@@ -193,8 +193,7 @@
void update_cur_bbox_vec(std::vector<bbox_t> _cur_bbox_vec)
{
cur_bbox_vec = _cur_bbox_vec;
- good_bbox_vec_flags.resize(cur_bbox_vec.size());
- for (auto &i : good_bbox_vec_flags) i = true;
+ good_bbox_vec_flags = std::vector<bool>(cur_bbox_vec.size(), true);
cv::Mat prev_pts, cur_pts_flow_cpu;
for (auto &i : cur_bbox_vec) {
--
Gitblit v1.10.0