CloudAnts commited on
Commit
a711a5f
·
1 Parent(s): e37760c
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -117,6 +117,8 @@ def process_image():
117
  cropped_image_path = os.path.join(cropped_dir, f"cropped_object_{i + 1}.jpg")
118
  cv2.imwrite(cropped_image_path, cropped_image)
119
  print(f"Enhanced cropped image saved at {cropped_image_path}")
 
 
120
  print(f"Bounding box coordinates saved at {bounding_box_save_path}")
121
  reader = easyocr.Reader(
122
  ['en'],
 
117
  cropped_image_path = os.path.join(cropped_dir, f"cropped_object_{i + 1}.jpg")
118
  cv2.imwrite(cropped_image_path, cropped_image)
119
  print(f"Enhanced cropped image saved at {cropped_image_path}")
120
+ print(f"Checking contents of /mnt/data: {bounding_box_save_path}")
121
+ print(f"Directory listing: {os.listdir('/mnt/data')}")
122
  print(f"Bounding box coordinates saved at {bounding_box_save_path}")
123
  reader = easyocr.Reader(
124
  ['en'],