From 69f1d86ea393b973c8eb16a7a97c6091559fbf1d Mon Sep 17 00:00:00 2001 From: Dustin Franklin Date: Tue, 28 Mar 2023 13:18:23 -0400 Subject: [PATCH] updated docs --- c/tracking/objectTracker.h | 2 +- docs/detectnet-tracking.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/c/tracking/objectTracker.h b/c/tracking/objectTracker.h index f012fe989..0fe26c78f 100644 --- a/c/tracking/objectTracker.h +++ b/c/tracking/objectTracker.h @@ -35,7 +35,7 @@ " --tracking flag to enable default tracker (IOU)\n" \ " --tracker=TRACKER enable tracking with 'IOU' or 'KLT'\n" \ " --tracker-min-frames=N the number of re-identified frames for a track to be considered valid (default: 3)\n" \ - " --tracker-lost-frames=N number of consecutive lost frames before a track is removed (default: 15)\n" \ + " --tracker-drop-frames=N number of consecutive lost frames before a track is dropped (default: 15)\n" \ " --tracker-overlap=N how much IOU overlap is required for a bounding box to be matched (default: 0.5)\n\n" \ /** diff --git a/docs/detectnet-tracking.md b/docs/detectnet-tracking.md index 58a92d224..100639508 100644 --- a/docs/detectnet-tracking.md +++ b/docs/detectnet-tracking.md @@ -30,7 +30,7 @@ There are other tracker settings you can change with the following command-line objectTracker arguments: --tracking flag to enable default tracker (IOU) --tracker-min-frames=N the number of re-identified frames for a track to be considered valid (default: 3) - --tracker-lost-frames=N number of consecutive lost frames before a track is removed (default: 15) + --tracker-drop-frames=N number of consecutive lost frames before a track is dropped (default: 15) --tracker-overlap=N how much IOU overlap is required for a bounding box to be matched (default: 0.5) ``` @@ -91,11 +91,11 @@ detections = net.Detect(img) for detection in detections: if detection.TrackStatus >= 0: # actively tracking print(f"object {detection.TrackID} at ({detection.Left}, {detection.Top}) has been tracked for {detection.TrackFrames} frames") - else: # if tracking was lost, this object will be removed the next frame + else: # if tracking was lost, this object will be dropped the next frame print(f"object {detection.TrackID} at ({detection.Left}, {detection.Top}) has lost tracking") ``` -If the track was lost (`TrackStatus=-1`), that object will no longer be included in the detections array on subsequent frames. +If the track was lost (`TrackStatus=-1`), that object will be dropped and no longer be included in the detections array on subsequent frames.

Next | Semantic Segmentation