Skip to content

Cropped images do not keep their aspect ratio #1

@georgymh

Description

@georgymh

dataset/imagenetvid/scripts/crop_imagenet.py is cropping square images of objects but it's not retaining the original aspect ratio.

As an improvement, it should retain the aspect ratio and maybe fill the extra padding with the average color of the crop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions