add lazy REID in code, better tracking to one target

就是yolo这一帧没检测到目标,因为正常来说前后的detections都是2,他这时候只是1,确实就是没检测到
This commit is contained in:
hjy
2026-04-16 21:43:44 +08:00
parent 19b8b1b472
commit 7163663118
13 changed files with 1081 additions and 152 deletions
+15
View File
@@ -89,6 +89,21 @@ register_keys:
# draw target observation result on overlay image and print debug info
# 0: off; 1: on
debug: 1
# lazy ReID only runs after the current ByteTrack target is lost
# first valid frame still bootstraps by choosing the target closest to image center
target_reid_enable: 1
target_reid_engine: "/home/hjy/HJY/Codes/AMP_ws/TargetPrediction/models/target_reid_osnet_x0_25_dukemtmcreid.trt"
target_reid_match_threshold: 0.65
target_reid_gap_threshold: 0.10
target_reid_min_crop_area: 2000.0
target_reid_max_crop_aspect_ratio: 0.90
target_reid_feature_update_interval: 5
target_reid_lost_timeout_frames: 150
target_reid_gallery_size: 10
target_reid_input_height: 256
target_reid_input_width: 128
target_reid_feature_dim: 512
target_reid_max_batch_size: 8
# record rgb, odometry, and slam cloud data as proprietary olx format for further processing in MindCloud(TM) software.
# save path: ws/src/odin_ros_driver/recorddata/{record_start_time}/