Commit 4320551065b623ae3d44b75078de1e00d9d409a1
1 parent
a63dd3d2
修复人脸抠图更新问题
Showing
1 changed file
with
2 additions
and
0 deletions
src/reprocessing_module/snapshot_reprocessing.cpp
@@ -666,6 +666,8 @@ int snapshot_reprocessing::update_face_bestsnapshot(vector<DeviceMemory*> vec_de | @@ -666,6 +666,8 @@ int snapshot_reprocessing::update_face_bestsnapshot(vector<DeviceMemory*> vec_de | ||
666 | info.confidence = obj_info.confidence; | 666 | info.confidence = obj_info.confidence; |
667 | info.index = obj_info.index; | 667 | info.index = obj_info.index; |
668 | 668 | ||
669 | + vec_obj_info.push_back(info); | ||
670 | + | ||
669 | total_face_snapshot_info[new_obj].obj_pos = { info.left , info.top ,info.right - info.left , info.bottom - info.top }; | 671 | total_face_snapshot_info[new_obj].obj_pos = { info.left , info.top ,info.right - info.left , info.bottom - info.top }; |
670 | 672 | ||
671 | //存人脸关键点、检测框及大图 | 673 | //存人脸关键点、检测框及大图 |