Open lsh3163 opened 3 years ago
submission_crop.csv standard_crop.csv
ymin, xmin, height, width = row["ymin"], row["xmin"], row["height"], row["width"] label = row["label"] img_path = path image = Image.open(img_path) image = image.crop((xmin, ymin, xmin+width, ymin+height))
submission_crop.csv standard_crop.csv