Pompei is a free Python package for creating photo mosaics from movie frames. It extracts frames from a video, resizes them into thumbnails, and saves them with related information in a directory. For a mosaic, the package matches image regions to movie-frame thumbnails and assembles selected thumbnails into a PNG file. Options control mosaic width, how often a thumbnail can be reused, iteration count, and the time and spatial gaps between source frames. An experimental candidate-selection approach uses Scikit-learn to identify thumbnails that may suit a mosaic; MoviePy is installed as a dependency, while Scikit-learn is needed for that approach. The project documentation describes modular code and demonstrates customization by subclassing MovieFrames and overriding a method. The command-line API has not been implemented, so the package is used through Python rather than a finished command-line interface. Pompei runs on Linux and can be installed with pip or from source. It is open source under the MIT licence, and the project page invites commit proposals and requests for help on GitHub. PyPI lists version 0.1.04, released January 29, 2015.
Who it is for
Pompei suits Python users on Linux who want to create photo mosaics from movie frames and adjust thumbnail selection or spacing. Its customization approach may also suit developers comfortable subclassing its code.
What is good
- Creates PNG mosaics from movie frames
- Controls thumbnail reuse and source-frame spacing
- Supports code customization through subclassing
- Open source under the MIT licence
What to know first
- Command-line API is not implemented
- Candidate selection requires Scikit-learn
- PyPI lists a 2015 release
Verdict
Pompei offers configurable movie-frame mosaics as a free, open-source Python package. Its lack of a command-line interface and the need to use Python are important considerations.
Get started with Pompei
- Install the package with pip or from its source code.
- Use Python to extract and store resized video-frame thumbnails.
- Set mosaic width, thumbnail reuse, iteration count, and source-frame spacing.
- Optionally use the experimental candidate-selection method, which requires Scikit-learn.
- Customize behavior by subclassing MovieFrames and overriding a method.
What the free plan stops at
The command-line API is not yet implemented. The experimental candidate-selection method requires Scikit-learn; MoviePy is installed as a dependency.
Questions about Pompei
Is Pompei free and open source?
Yes. It is listed at 0.00 USD per free, with no paid plans listed, and is released under the MIT licence.
What does Pompei make?
It matches image regions with thumbnails extracted from movie frames and assembles selected thumbnails into a PNG mosaic.
Which platform does it support?
The listed platform is Linux.
How can I install it?
It can be installed with pip or from its source code.
What dependencies does it use?
MoviePy is installed as a dependency. Scikit-learn is required for the experimental candidate-selection method.
How can I get help or contribute?
The project page invites users to ask for help or propose commits on GitHub.
Pompei plans and pricing
All plansCompared on photo mosaic software
- Free plan
- Yes
- Platform
- desktop
- Tile reuse controls
- Yes
- Output formats
- PNG