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 2
2
name = " supervision"
3
3
description = " A set of easy-to-use utils that will come in handy in any Computer Vision project"
4
4
license = { text = " MIT" }
5
- version = " 0.26.0rc5 "
5
+ version = " 0.26.0rc6 "
6
6
readme = " README.md"
7
7
requires-python = " >=3.8"
8
8
authors = [
Original file line number Diff line number Diff line change 9
9
10
10
from supervision .annotators .base import BaseAnnotator , ImageType
11
11
from supervision .annotators .utils import (
12
+ PENDING_TRACK_ID ,
12
13
ColorLookup ,
13
14
Trace ,
14
15
resolve_color ,
@@ -1739,6 +1740,7 @@ def annotate(
1739
1740
"The `tracker_id` field is missing in the provided detections."
1740
1741
" See more: https://supervision.roboflow.com/latest/how_to/track_objects"
1741
1742
)
1743
+ detections = detections [detections .tracker_id != PENDING_TRACK_ID ]
1742
1744
1743
1745
self .trace .put (detections )
1744
1746
for detection_idx in range (len (detections )):
You can’t perform that action at this time.
0 commit comments