Spaces:
Sleeping
Sleeping
Update cord_inference.py
Browse files- cord_inference.py +1 -1
cord_inference.py
CHANGED
@@ -69,7 +69,7 @@ def prediction(image):
|
|
69 |
d[i] = d[i] + ", " + l_words[id]
|
70 |
d = {k: v.strip() for (k, v) in d.items()}
|
71 |
|
72 |
-
# TODO:
|
73 |
|
74 |
draw = ImageDraw.Draw(image, "RGBA")
|
75 |
font = ImageFont.load_default()
|
|
|
69 |
d[i] = d[i] + ", " + l_words[id]
|
70 |
d = {k: v.strip() for (k, v) in d.items()}
|
71 |
|
72 |
+
# TODO:process the json
|
73 |
|
74 |
draw = ImageDraw.Draw(image, "RGBA")
|
75 |
font = ImageFont.load_default()
|