File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 22name = " supervision"
33description = " A set of easy-to-use utils that will come in handy in any Computer Vision project"
44license = { text = " MIT" }
5- version = " 0.26.0rc5 "
5+ version = " 0.26.0rc6 "
66readme = " README.md"
77requires-python = " >=3.8"
88authors = [
Original file line number Diff line number Diff line change 99
1010from supervision .annotators .base import BaseAnnotator , ImageType
1111from supervision .annotators .utils import (
12+ PENDING_TRACK_ID ,
1213 ColorLookup ,
1314 Trace ,
1415 resolve_color ,
@@ -1739,6 +1740,7 @@ def annotate(
17391740 "The `tracker_id` field is missing in the provided detections."
17401741 " See more: https://supervision.roboflow.com/latest/how_to/track_objects"
17411742 )
1743+ detections = detections [detections .tracker_id != PENDING_TRACK_ID ]
17421744
17431745 self .trace .put (detections )
17441746 for detection_idx in range (len (detections )):
You can’t perform that action at this time.
0 commit comments