Python code to submit rotated images to the Cloud Vision API + R code for visualizing it. This repository was used to create this animation.
All tools used:
- Python to rotate the image and get predictions from the API for each rotation.
- R, ggplot2, gganimate for building the animations.
- ffmpeg to render the animations.
- A video editor to stitch all the animations together.
Disclaimer: This was my first time working with gganimate (and working around a few bugs which surfaced), as a result my R code is messier than my typical R code.
Max Woolf (@minimaxir)
Max's open-source projects are supported by his Patreon. If you found this project helpful, any monetary contributions to the Patreon are appreciated and will be put to good creative use.
MIT