testmail-gmail commited on
Commit
172bb66
·
1 Parent(s): b9a2424

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -132,8 +132,6 @@ def detect_Custom(img):
132
  if save_img or view_img:
133
  label = f'{names[int(cls)]} {conf:.2f}'
134
  plot_one_box(xyxy, im0, label=label, color=colors[int(cls)], line_thickness=3)
135
- W, H = 300, 300
136
- box_voc = pbx.convert_bbox(xyxy, from_type="yolo", to_type="voc", image_size=(W,H))
137
  if(cls == 1):
138
  x1 = int(xyxy[0].item())
139
  y1 = int(xyxy[1].item())
 
132
  if save_img or view_img:
133
  label = f'{names[int(cls)]} {conf:.2f}'
134
  plot_one_box(xyxy, im0, label=label, color=colors[int(cls)], line_thickness=3)
 
 
135
  if(cls == 1):
136
  x1 = int(xyxy[0].item())
137
  y1 = int(xyxy[1].item())