Refactor: Logging Cleanup

This commit is contained in:
ziesorx 2025-09-24 20:39:32 +07:00
parent 7a9a149955
commit 5176f99ba7
9 changed files with 37 additions and 72 deletions

View file

@ -200,11 +200,11 @@ class TrackingPipelineIntegration:
raw_detections = len(tracking_results.detections)
if raw_detections > 0:
class_names = [detection.class_name for detection in tracking_results.detections]
logger.info(f"[DEBUG] Raw detections: {raw_detections}, classes: {class_names}")
logger.debug(f"Raw detections: {raw_detections}, classes: {class_names}")
else:
logger.debug(f"[DEBUG] No raw detections found")
logger.debug(f"No raw detections found")
else:
logger.debug(f"[DEBUG] No tracking results or detections attribute")
logger.debug(f"No tracking results or detections attribute")
# Process tracking results
tracked_vehicles = self.tracker.process_detections(