aniketmaurya / chitra

A multi-functional library for full-stack Deep Learning. Simplifies Model Building, API development, and Model Deployment.

Home Page:https://chitra.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

resize image with bounding boxes

aniketmaurya opened this issue · comments

Is your feature request related to a problem? Please describe.

Right now there is no way to resize image along with the bounding boxes.

Describe the solution you'd like

from chitra.image import Chitra

label = 'Dog'
bbox = [ 70,  25, 190, 210]
image = Chitra(image_path, bboxes=bbox, labels=label)

# the resize function should resize image along with bounding box
image.resize((224, 224)

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.