coco/README.md
Ruben van de Ven 1702cce9d1 First version
2019-12-16 12:19:48 +01:00

465 B

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