nielsr HF staff commited on
Commit
d3ef005
1 Parent(s): c51e657

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -1
README.md CHANGED
@@ -57,7 +57,6 @@ text = texts[i]
57
  boxes, scores, labels = results[i]["boxes"], results[i]["scores"], results[i]["labels"]
58
 
59
  # Print detected objects and rescaled box coordinates
60
- score_threshold = 0.1
61
  for box, score, label in zip(boxes, scores, labels):
62
  box = [round(i, 2) for i in box.tolist()]
63
  print(f"Detected {text[label]} with confidence {round(score.item(), 3)} at location {box}")
 
57
  boxes, scores, labels = results[i]["boxes"], results[i]["scores"], results[i]["labels"]
58
 
59
  # Print detected objects and rescaled box coordinates
 
60
  for box, score, label in zip(boxes, scores, labels):
61
  box = [round(i, 2) for i in box.tolist()]
62
  print(f"Detected {text[label]} with confidence {round(score.item(), 3)} at location {box}")