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

Add feature to generate objects (ie. alpha-masked objects from png imgs) #259

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tpham3783
Copy link

to aid AI training for object localization.

To generate a sample dataset, run:

run.py -c 60 -b 100 --text_color black -num -let -id images -w 200 -w 300 -wd 600 -k 20 -rk -d 3 -na 3 -bl 2 -rbl -i /tmp/alpha.txt -it object

where /tmp/alpha.txt is a listing of png files like the following:

/tmp/car.png
/tmp/person.png
/tmp/banana.png

Your Name added 4 commits April 12, 2022 10:03
…ages)

to aid AI training for object localization.

To generate a sample dataset, run:

run.py -c 60 -b 100 --text_color black -num -let -id images -w 200 -w 300 -wd 600 -k 20 -rk -d 3 -na 3 -bl 2 -rbl -i /tmp/alpha.txt -it object

where /tmp/alpha.txt is a listing of png files like the follwing:

/tmp/car.png
/tmp/person.png
/tmp/banana.png
…s equal to 1 pix width, a scenario that causes division by zero
@Belval Belval force-pushed the master branch 8 times, most recently from 8e5b3a0 to 11cdbfa Compare July 18, 2022 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant