-
-
Notifications
You must be signed in to change notification settings - Fork 17.2k
Closed
Labels
StaleStale and schedule for closing soonStale and schedule for closing soonenhancementNew feature or requestNew feature or request
Description
🚀 Feature
imgaug is very popular and is easy to work with. I am wondering if I put in PR's which allowed use of imgaug, such as BoundingBox
instances, to be used in parts of the program if it would be approved.
e.g. The plot_one_box
function could accept then convert BoundingBox
instances to the proper format (tensor) for easy plotting of bboxes.
Example:
def plot_one_box(x, img, color=None, label=None, line_thickness=None):
# If bbox is instance of BoundingBox
if isinstance(x, BoundingBox):
# Convert to tensor
x = torch.tensor([x.x1, x.y1, x.x2, x.y2])
Motivation
I use imgaug, albumentations uses imgaug. It is very easy to use.
Pitch
Add functionality which allows use of imgaug.
Metadata
Metadata
Assignees
Labels
StaleStale and schedule for closing soonStale and schedule for closing soonenhancementNew feature or requestNew feature or request