mp-02 commited on
Commit
68b0d42
·
verified ·
1 Parent(s): 97095a3

Update cord_inference.py

Browse files
Files changed (1) hide show
  1. cord_inference.py +1 -1
cord_inference.py CHANGED
@@ -60,7 +60,7 @@ def prediction(image):
60
  bboxes = []
61
 
62
  for i, j in enumerate(true_predictions):
63
- if true_confidence_scores[i] < 0.9: #####################################àà
64
  true_predictions[i] = "O"
65
  preds.append(true_predictions[i])
66
  l_words.append(true_words[i])
 
60
  bboxes = []
61
 
62
  for i, j in enumerate(true_predictions):
63
+ if true_confidence_scores[i] < 0.85: #####################################àà
64
  true_predictions[i] = "O"
65
  preds.append(true_predictions[i])
66
  l_words.append(true_words[i])