Commit dd11c491d99091650c5aa2ec7b4557443aaaf554
1 parent
3e7095cb
修复过滤未生效的问题
Showing
1 changed file
with
1 additions
and
1 deletions
src/reprocessing_module/snapshot_reprocessing.cpp
@@ -30,7 +30,7 @@ static void box_expansion(video_object_info& obj_info, float expand_ratio, int f | @@ -30,7 +30,7 @@ static void box_expansion(video_object_info& obj_info, float expand_ratio, int f | ||
30 | 30 | ||
31 | void snapshot_reprocessing::screen_effective_snapshot(vector<onelevel_det_result> &vec_det_result){ | 31 | void snapshot_reprocessing::screen_effective_snapshot(vector<onelevel_det_result> &vec_det_result){ |
32 | 32 | ||
33 | - for (auto det_result : vec_det_result) | 33 | + for (auto& det_result : vec_det_result) |
34 | { | 34 | { |
35 | int effective_count = 0; | 35 | int effective_count = 0; |
36 | int effective_idx = 0; | 36 | int effective_idx = 0; |