Augmentor icon indicating copy to clipboard operation
Augmentor copied to clipboard

Augmentation for the bounding box

Open Bala93 opened this issue 6 years ago • 11 comments

Can the augmentation being applied to the image also be applied to the bounding box ?

For example, if the object in an image is given by bounding box. Applying the transformation to the object should also be applied to the bounding box. So that this tool can also be used in object detection tasks.

Thank you.

Bala93 avatar Apr 04 '18 13:04 Bala93

I am thinking of implementing this add-on feature. Can i contribute to your repository ?

Bala93 avatar Apr 04 '18 18:04 Bala93

Hi @Bala93 - this is currently not a feature and actually I'm prioritising a few other features right now, so if you wanna make a PR by all means be my guest. I'd say it might make sense to concentrate on getting this working with some of the more basic operations, such as flips and perhaps rotations, before trying to get it to work with the random distortion operation, for example. Many thanks for offering to contribute!

mdbloice avatar Apr 05 '18 09:04 mdbloice

Hi @mdbloice -- I am planning for some basic operations as you mentioned. Will do PR and update you.

Bala93 avatar Apr 05 '18 13:04 Bala93

@Bala93, Just checking if this has been implemented? I have a similar requirement for object detection. So, please let me know.

kmsravindra avatar May 16 '18 10:05 kmsravindra

@mdbloice @Bala93 I also have similar requirements for object detection. :cry:

manashmandal avatar Aug 15 '18 05:08 manashmandal

@mdbloice @kmsravindra @manashmndl I have made some changes in the code which will augment both the image and mask simultaneously. But that will work only when there is no overlap between masks. The changes made will work very well if there is only one object in an image. Will send the changes made in some time.

Bala93 avatar Aug 17 '18 05:08 Bala93

@Bala93 I guess I can work with non overlapping bounding boxes! Please comment here after you've pushed the updates. Thanks in advance.

manashmandal avatar Aug 17 '18 07:08 manashmandal

Thanks @Bala93

kmsravindra avatar Aug 17 '18 10:08 kmsravindra

@Bala93 Have you pushed your code? Where can I find it? Thanks.

jaelim avatar Sep 07 '18 18:09 jaelim

i'am looking for the same option, especially for darknet yolo box. I found this repo : https://github.com/lozuwa/impy

ghost avatar Oct 08 '18 15:10 ghost

@Bala93 Have you pushed your code? Where can I find it? Thanks.

xiaoyuan129 avatar Mar 06 '19 03:03 xiaoyuan129