apailang commited on
Commit
7218336
β€’
1 Parent(s): 05bc433

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -60,7 +60,7 @@ def predict2(image_np):
60
  category_index,
61
  use_normalized_coordinates=True,
62
  max_boxes_to_draw=20,
63
- min_score_thresh=0.1,
64
  agnostic_mode=False,
65
  line_thickness=2)
66
 
@@ -90,8 +90,8 @@ def predict4(image_np):
90
  result['detection_scores'][0],
91
  category_index,
92
  use_normalized_coordinates=True,
93
- max_boxes_to_draw=200,
94
- min_score_thresh=.10,
95
  agnostic_mode=False,
96
  line_thickness=2)
97
 
 
60
  category_index,
61
  use_normalized_coordinates=True,
62
  max_boxes_to_draw=20,
63
+ min_score_thresh=0.3,
64
  agnostic_mode=False,
65
  line_thickness=2)
66
 
 
90
  result['detection_scores'][0],
91
  category_index,
92
  use_normalized_coordinates=True,
93
+ max_boxes_to_draw=20,
94
+ min_score_thresh=.30,
95
  agnostic_mode=False,
96
  line_thickness=2)
97