File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed 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 ,
15- resolve_text_background_xyxy , PENDING_TRACK_ID ,
16+ resolve_text_background_xyxy ,
1617)
1718from supervision .config import CLASS_NAME_DATA_FIELD , ORIENTED_BOX_COORDINATES
1819from supervision .detection .core import Detections
Original file line number Diff line number Diff line change 1010PENDING_TRACK_COLOR = Color .GREY
1111PENDING_TRACK_ID = - 1
1212
13+
1314class ColorLookup (Enum ):
1415 """
1516 Enumeration class to define strategies for mapping colors to annotations.
Original file line number Diff line number Diff line change 11CLASS_NAME_DATA_FIELD = "class_name"
2- ORIENTED_BOX_COORDINATES = "xyxyxyxy"
2+ ORIENTED_BOX_COORDINATES = "xyxyxyxy"
You canβt perform that action at this time.
0 commit comments