Spaces:
Runtime error
Runtime error
Jyothish CHANDRASENAN
commited on
Commit
·
010daaf
1
Parent(s):
a01b6c3
Update app.py
Browse files
app.py
CHANGED
@@ -127,7 +127,7 @@ def postprocessor(prediction, orig_img):
|
|
127 |
y = int(point[1])
|
128 |
points.append((x,y))
|
129 |
color = (255, 0, 0)
|
130 |
-
thickness =
|
131 |
result_image = cv2.circle(result_image, (x,y), radius=0, color=color, thickness=thickness)
|
132 |
result_image = cv2.putText(result_image,text[idx], (x-10,y+10), cv2.FONT_HERSHEY_SIMPLEX, 0.75, (255,0,0), thickness, cv2.LINE_AA)
|
133 |
|
|
|
127 |
y = int(point[1])
|
128 |
points.append((x,y))
|
129 |
color = (255, 0, 0)
|
130 |
+
thickness = 1
|
131 |
result_image = cv2.circle(result_image, (x,y), radius=0, color=color, thickness=thickness)
|
132 |
result_image = cv2.putText(result_image,text[idx], (x-10,y+10), cv2.FONT_HERSHEY_SIMPLEX, 0.75, (255,0,0), thickness, cv2.LINE_AA)
|
133 |
|