/kongzbg

Primary LanguageGo

Make kongz images without background

Commands to run before (using 4000 as the maximum id for now, babies still being born):

mkdir assets
cd assets
mkdir metadata
cd metadata
for i in $(seq 1 4000)
do 
	wget "https://kongz.herokuapp.com/api/metadata/$i"
	sleep 1
done
cd ..
mkdir images
for i in $(seq 1 4000)
do
	wget -c "$(cat metadata/$i | jq -r .image)" -O images/$i
	sleep 2
done
mkdir images-nobg

Then:
go run cmd/kongzbg/main.go