mp-02 commited on
Commit
909061c
1 Parent(s): f4b0061

Update sroie_inference.py

Browse files
Files changed (1) hide show
  1. sroie_inference.py +1 -1
sroie_inference.py CHANGED
@@ -90,7 +90,7 @@ def prediction(image):
90
 
91
  blur_boxes = []
92
  for prediction, box in zip(true_predictions, true_boxes):
93
- if prediction != 'O' and prediction != 'TOTAL':
94
  blur_boxes.append(box)
95
 
96
  image = (blur(image, blur_boxes))
 
90
 
91
  blur_boxes = []
92
  for prediction, box in zip(true_predictions, true_boxes):
93
+ if prediction != 'O' and prediction != 'S-TOTAL':
94
  blur_boxes.append(box)
95
 
96
  image = (blur(image, blur_boxes))