kebincontreras commited on
Commit
6daeacc
·
verified ·
1 Parent(s): dda6b51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def detectar_objetos(image):
37
  label = f"Class {cls}"
38
 
39
  # Dibujar el cuadro y la etiqueta
40
- cv2.rectangle(annotated_image, (x1, y1), (x2, y2), color, thickness=3)
41
  cv2.putText(
42
  annotated_image, label, (x1, y1 - 10),
43
  cv2.FONT_HERSHEY_SIMPLEX, 0.5, color, thickness=1
 
37
  label = f"Class {cls}"
38
 
39
  # Dibujar el cuadro y la etiqueta
40
+ cv2.rectangle(annotated_image, (x1, y1), (x2, y2), color, thickness=2)
41
  cv2.putText(
42
  annotated_image, label, (x1, y1 - 10),
43
  cv2.FONT_HERSHEY_SIMPLEX, 0.5, color, thickness=1