Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|
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)
|