Spaces:
Running
Running
dennistrujillo
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -37,6 +37,7 @@ def process_images(img_dict):
|
|
37 |
|
38 |
# Load and preprocess image
|
39 |
img = img_dict['image']
|
|
|
40 |
points = img_dict['points'][0] # Accessing the first (and possibly only) set of points
|
41 |
if len(points) >= 6:
|
42 |
x_min, y_min, x_max, y_max = points[0], points[1], points[3], points[4]
|
|
|
37 |
|
38 |
# Load and preprocess image
|
39 |
img = img_dict['image']
|
40 |
+
print(image.type())
|
41 |
points = img_dict['points'][0] # Accessing the first (and possibly only) set of points
|
42 |
if len(points) >= 6:
|
43 |
x_min, y_min, x_max, y_max = points[0], points[1], points[3], points[4]
|