AgML icon indicating copy to clipboard operation
AgML copied to clipboard

Generation of multiple annotations at once

Open ctyeong opened this issue 2 years ago • 3 comments

For synthesis, I'd like to suggest a feature to generate multiple types of annotation–bounding box, instance/class segmentation, etc.–per image at once. If I've understood correctly, the current version of AgML can only generate one type, and I need to synthesize again, if I need another type. It costs time, and the synthesized environment can change.

ctyeong avatar Feb 03 '23 19:02 ctyeong

Hi Taeyong, this isn't due to AgML, this is due to the way the underlying Helios generation works. However, I can take a look into this and see if there's a way to generate multiple types of annotations at once.

amogh7joshi avatar Feb 20 '23 19:02 amogh7joshi

Thanks @amogh7joshi I've just found that we can make a simple tweak on converter.py to generate instance segmentation while using object detection annotation. An examples is below. I'll do pull request if this'd help others as well.

image

image

ctyeong avatar Feb 20 '23 21:02 ctyeong

Thanks @ctyeong! Yes please make a PR.

masonearles avatar Feb 21 '23 04:02 masonearles