Panagiota Moraiti commited on
Commit
6654dec
·
1 Parent(s): 8d7cbb4

Modify video and code

Browse files
Files changed (2) hide show
  1. scripts/plot_tracks.py +1 -1
  2. videos/bear.mp4 +2 -2
scripts/plot_tracks.py CHANGED
@@ -21,7 +21,7 @@ def annotate_image(image, detections, class_names, trace_annotator):
21
  # Draw box
22
  _, width = image.shape[:2]
23
  text_size = 2.0*width/1024
24
- box_thickness = int(6 * width / 1024) # scale box thickness
25
  text_thickness = max(1, int(6 * width / 1024)) # scale text thickness, min 1
26
 
27
  box_annotator = sv.BoxAnnotator(thickness=box_thickness)
 
21
  # Draw box
22
  _, width = image.shape[:2]
23
  text_size = 2.0*width/1024
24
+ box_thickness = int(6 * width / 1024) # scale box thickness
25
  text_thickness = max(1, int(6 * width / 1024)) # scale text thickness, min 1
26
 
27
  box_annotator = sv.BoxAnnotator(thickness=box_thickness)
videos/bear.mp4 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:82eee63561b9e77ec313cabda901a8d3c6728e2894f044032741eaef24324617
3
- size 461263
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c926d94f9caff31cd80fe139cbdc71e39b1d7abbcc4184a2f29a642a443c0f5
3
+ size 296819