Skip to content

Commit

Permalink
Revert the name
Browse files Browse the repository at this point in the history
Revert the name back to create_cropped_images to ensure this method works with other templates.
  • Loading branch information
huynguyentran committed Jan 29, 2025
1 parent e8ac6fd commit d4d7753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eye_ai/eye_ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def get_bounding_box(svg_path: Path) -> tuple:
bbox = (x_min, y_min, x_min + width, y_min + height)
return bbox

def create_images_directory(self, bag_path: Path, ds_bag: DatasetBag, output_dir: Path, crop_to_eye: bool,
def create_cropped_images(self, bag_path: Path, ds_bag: DatasetBag, output_dir: Path, crop_to_eye: bool,
exclude_list: Optional[list] = None) -> tuple:
"""
Retrieves images and saves them to the specified directory and separated into two folders by class. Optionally choose to crop the images or not.
Expand Down

0 comments on commit d4d7753

Please sign in to comment.