Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Data augmentation method by extracting objects and placing them on different backgrounds #131

Open
1 task done
TomyangSydney opened this issue Mar 25, 2023 · 0 comments
Assignees
Labels

Comments

@TomyangSydney
Copy link
Collaborator

TomyangSydney commented Mar 25, 2023

Guidelines

  • I agree to follow this project's Contributing Guidelines.

Description

We can try to generate some new images containing object with insufficient annotations. To generate new images, we can extract trash objects from the current background and place them on the background of other images and save it. Then we can use them to train the model.

Problem

Insufficient amount of data for several trash categories in TACO dataset.

Proposed Solution

We can build a pipeline to generate new images

  1. Extract the trash from existing images from the backgrounds based on the information from the annotation.json file
  2. Attempt to fill in the holes from the backgrounds and store new backgrounds
  3. Mix and match the trash onto the different backgrounds and save the images

We can combine those new images with the official TACO photos to train the Yolov5 network.

Alternatives Considered

  1. Obtain new images, apply manual annotations and add these images for training
  2. Use regular data augmentation method such as rotating the image
  3. Try other dataset
@TomyangSydney TomyangSydney added the enhancement New feature or request label Mar 25, 2023
@TomyangSydney TomyangSydney changed the title [Feature]: [Feature]: Data augmentation method by extracting objects and placing them on different background Mar 25, 2023
@TomyangSydney TomyangSydney changed the title [Feature]: Data augmentation method by extracting objects and placing them on different background [Feature]: Data augmentation method by extracting objects and placing them on different backgrounds Mar 25, 2023
@epierotti3 epierotti3 moved this to To-Do in TrashAI Apr 5, 2023
@hernandezforges hernandezforges moved this from To-Do to In Progress in TrashAI Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

No branches or pull requests

2 participants