Bhaskar Saranga commited on
Commit
5f086ec
1 Parent(s): 86967c6

Cosistance bbox thickness

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -112,7 +112,7 @@ def detectv7(img,model,device,iou_threshold=0.45,confidence_threshold=0.25):
112
  # Write results
113
  for *xyxy, conf, cls in reversed(det):
114
  label = f'{names[int(cls)]} {conf:.2f}'
115
- plot_one_box(xyxy, imgs, label=label, color=colors[names[int(cls)]], line_thickness=2)
116
 
117
  return imgs,fps_inference
118
 
 
112
  # Write results
113
  for *xyxy, conf, cls in reversed(det):
114
  label = f'{names[int(cls)]} {conf:.2f}'
115
+ plot_one_box(xyxy, imgs, label=label, color=colors[names[int(cls)]], line_thickness=1)
116
 
117
  return imgs,fps_inference
118