suny-sht commited on
Commit
3eb78a7
1 Parent(s): 076275f

bigger annotation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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] // 100
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