tonyassi commited on
Commit
527ac9a
·
verified ·
1 Parent(s): 82c8d7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from FootDetection import FootDetection
5
  foot_detection = FootDetection("cpu") # "cuda" for GPU or "mps" for App
6
 
7
  def detect(img):
8
- results = foot_detection.detect(img, threshold=0.1)
9
  img_with_boxes = foot_detection.draw_boxes(img)
10
  return img_with_boxes
11
 
 
5
  foot_detection = FootDetection("cpu") # "cuda" for GPU or "mps" for App
6
 
7
  def detect(img):
8
+ results = foot_detection.detect(img, threshold=0.3)
9
  img_with_boxes = foot_detection.draw_boxes(img)
10
  return img_with_boxes
11