Spaces:
Sleeping
Sleeping
Update sroie_inference.py
Browse files- sroie_inference.py +1 -1
sroie_inference.py
CHANGED
@@ -93,7 +93,7 @@ def prediction(image):
|
|
93 |
|
94 |
image = (blur(image, blur_boxes))
|
95 |
|
96 |
-
|
97 |
font = ImageFont.load_default()
|
98 |
|
99 |
for prediction, box in zip(true_predictions, true_boxes):
|
|
|
93 |
|
94 |
image = (blur(image, blur_boxes))
|
95 |
|
96 |
+
draw = ImageDraw.Draw(image, "RGBA")
|
97 |
font = ImageFont.load_default()
|
98 |
|
99 |
for prediction, box in zip(true_predictions, true_boxes):
|