TheoBH commited on
Commit
137b75c
·
verified ·
1 Parent(s): 436a31d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ def segment(image_file_name, x, y, prompt):
109
  output_image = output_image.astype(np.uint8)
110
 
111
  # Dessiner un point blanc avec une bordure noire pour indiquer le point d'intérêt
112
- thickness, radius = 6, -1
113
  keypoint_px = _normalized_to_pixel_coordinates(x, y, image.width, image.height)
114
  cv2.circle(output_image, keypoint_px, thickness + 5, (0, 0, 0), radius)
115
  cv2.circle(output_image, keypoint_px, thickness, (255, 255, 255), radius)
 
109
  output_image = output_image.astype(np.uint8)
110
 
111
  # Dessiner un point blanc avec une bordure noire pour indiquer le point d'intérêt
112
+ thickness, radius = 6, 10
113
  keypoint_px = _normalized_to_pixel_coordinates(x, y, image.width, image.height)
114
  cv2.circle(output_image, keypoint_px, thickness + 5, (0, 0, 0), radius)
115
  cv2.circle(output_image, keypoint_px, thickness, (255, 255, 255), radius)