fix minor bugs in REID re-track; add detection lost then detect mechanism;

lost了会在附近的pixel截取放大再做yolo,还不行就算了
This commit is contained in:
hjy
2026-04-16 22:25:51 +08:00
parent 7163663118
commit ab32e12c58
4 changed files with 215 additions and 40 deletions
+4
View File
@@ -91,6 +91,10 @@ register_keys:
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
# if a frame misses all detections, retry YOLO once inside a local ROI around the previous target bbox
target_lost_detection_compensation_enable: 1
target_lost_detection_roi_scale: 2.0
target_lost_detection_roi_min_size_px: 192
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