dennistrujillo commited on
Commit
06cbd50
·
verified ·
1 Parent(s): 2da8b95

Update app.py

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