Update app.py
Browse files
app.py
CHANGED
|
@@ -68,7 +68,7 @@ def ask_triton(image):
|
|
| 68 |
x1, y1, x2, y2 = map(int, match.groups())
|
| 69 |
draw = ImageDraw.Draw(image)
|
| 70 |
w, h = image.size
|
| 71 |
-
draw.rectangle((x1 / 1000 * w, y1 / 1000 * h, x2 / 1000 * w, y2 / 1000 * h), outline="green", width=
|
| 72 |
|
| 73 |
return image, output_text
|
| 74 |
|
|
|
|
| 68 |
x1, y1, x2, y2 = map(int, match.groups())
|
| 69 |
draw = ImageDraw.Draw(image)
|
| 70 |
w, h = image.size
|
| 71 |
+
draw.rectangle((x1 / 1000 * w, y1 / 1000 * h, x2 / 1000 * w, y2 / 1000 * h), outline="green", width=10)
|
| 72 |
|
| 73 |
return image, output_text
|
| 74 |
|