Refactor Python code (#13448)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
6a234f3639
commit
1b26838def
22 changed files with 81 additions and 101 deletions
|
|
@ -172,7 +172,7 @@ class ObjectCounter:
|
|||
if self.draw_tracks:
|
||||
self.annotator.draw_centroid_and_tracks(
|
||||
track_line,
|
||||
color=self.track_color if self.track_color else colors(int(track_id), True),
|
||||
color=self.track_color or colors(int(track_id), True),
|
||||
track_thickness=self.track_thickness,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue