Spaces:
Sleeping
Sleeping
Update sroie_inference.py
Browse files- sroie_inference.py +1 -1
sroie_inference.py
CHANGED
@@ -88,7 +88,7 @@ def prediction(image):
|
|
88 |
|
89 |
blur_boxes = []
|
90 |
for prediction, box in zip(true_predictions, true_boxes):
|
91 |
-
if prediction != 'O' and prediction
|
92 |
blur_boxes.append(box)
|
93 |
|
94 |
image = (blur(image, blur_boxes))
|
|
|
88 |
|
89 |
blur_boxes = []
|
90 |
for prediction, box in zip(true_predictions, true_boxes):
|
91 |
+
if prediction != 'O' and prediction != 'TOTAL':
|
92 |
blur_boxes.append(box)
|
93 |
|
94 |
image = (blur(image, blur_boxes))
|