Skip to content

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

Open
tpham3783 wants to merge 4 commits intoBelval:masterfrom
tpham3783:master
Open

Add feature to generate objects (ie. alpha-masked objects from png imgs)#259
tpham3783 wants to merge 4 commits intoBelval:masterfrom
tpham3783:master

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.

1 participant