Playful interface for the COCO dataset.
Find a file
Ruben van de Ven 1702cce9d1 First version
2019-12-16 12:19:48 +01:00
www First version 2019-12-16 12:19:48 +01:00
coco.sql First version 2019-12-16 12:19:48 +01:00
generate_lonely_segments.py First version 2019-12-16 12:19:48 +01:00
README.md First version 2019-12-16 12:19:48 +01:00
server.py First version 2019-12-16 12:19:48 +01:00
tools.py First version 2019-12-16 12:19:48 +01:00

Build array of images sorted by size:

python zoom_animation.py --annotations ../../datasets/COCO/annotations/instances_train2017.json --output zoom --category_id 18

Turn into png

cd zoom/dog
for file in *.svg; do inkscape -z -f "${file}" -w 640 -e "../dog_png/${file}.png"; done

Turn png into mp4

cd ../dog_png
#ffmpeg -r 1 -i %d_*.png -pix_fmt yuv420p bloch2.mp4
ffmpeg -f image2 -pattern_type glob -i '*.png' ../dog.mp4