DataScienceLover commited on
Commit
2cc8f62
·
verified ·
1 Parent(s): 3751ddb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ model = YOLO("models/best.pt")
13
 
14
  def draw(image_for_drawing):
15
  #detections = []
16
- results = model.predict(image_for_drawing, conf=0.5)
17
  #Перебираем результаты
18
  for result in results:
19
  # Получаем bounding boxes в формате [x1, y1, x2, y2, conf, class_id]
 
13
 
14
  def draw(image_for_drawing):
15
  #detections = []
16
+ results = model.predict(image_for_drawing, conf=0.25)
17
  #Перебираем результаты
18
  for result in results:
19
  # Получаем bounding boxes в формате [x1, y1, x2, y2, conf, class_id]