Dynamo Figures
A package for creating figures for publications.
Overview
Dynamo Figures provides helpful, easy-to-run tools for image and video processing. Use the search bar above or the side-panel on the left to find tools you’re looking for. A few common ones are listed below:
- Composite Image: Create cool visual effects by merging video frames using various composition modes
- Video to GIF: Convert videos to animated GIFs with frame rate and size control
- QR Code: Generate permanent QR codes from links, with optional logo embedding and recoloring
- Blur Faces: Anonymize faces in photos and videos by blurring, pixelating, or covering them (runs fully locally)
- Tex2Img: Convert a
.texfile into an SVG or PNG image, cropped to its content
Contributing
Please feel free to contribute, or request new tools by making an issue on our Github.
Installation
Install from PyPI
pip install dynamo-figures
With GPU acceleration (note the quotes), which can speed up the blurring faces tool:
pip install "dynamo-figures[gpu]"
Install from Local Directory
git clone git@github.com:dynamicmobility/dynamo-figures.git
cd dynamo-figures
pip install -e .
With GPU acceleration:
pip install -e ".[gpu]"
Dependencies
| Package | Version |
|---|---|
| Python | >= 3.8 |
| opencv-python | >= 4.0.0 |
| numpy | >= 1.20.0 |
| tqdm | >= 4.0.0 |
| Pillow | >= 8.0.0 |
| qrcode | >= 7.0.0 |
| cairosvg (optional, for SVG logos) | >= 2.5.0 |
License
All Rights Reserved 2023
Credits
Composite Video Generation inspired by renyunfan (renyf@connect.hku.hk) This codebase was built with help from AI coding agents.