bigger annotation
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ def draw_point_on_image(image, x_, y_):
|
|
95 |
image_copy = image.copy()
|
96 |
draw = ImageDraw.Draw(image_copy)
|
97 |
x, y = x_, y_ # Adjust these based on the actual structure of `point`
|
98 |
-
dot_radius = image.size[0] //
|
99 |
# Draw a red dot
|
100 |
draw.ellipse([(y-dot_radius, x-dot_radius), (y+dot_radius, x+dot_radius)], fill='red')
|
101 |
|
|
|
95 |
image_copy = image.copy()
|
96 |
draw = ImageDraw.Draw(image_copy)
|
97 |
x, y = x_, y_ # Adjust these based on the actual structure of `point`
|
98 |
+
dot_radius = image.size[0] // 40
|
99 |
# Draw a red dot
|
100 |
draw.ellipse([(y-dot_radius, x-dot_radius), (y+dot_radius, x+dot_radius)], fill='red')
|
101 |
|