Metadata-Version: 2.4
Name: photomosaic-video
Version: 0.1.0
Summary: Photomosaic generator that works on video too
Author-email: hinanohart <hinanohart@gmail.com>
License-Expression: MIT AND CC-BY-2.0
Project-URL: Homepage, https://github.com/hinanohart/photomosaic-video
Keywords: photomosaic,mosaic,video,image-processing,art
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Artistic Software
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Multimedia :: Video
Classifier: Topic :: Scientific/Engineering :: Image Processing
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.24
Requires-Dist: opencv-python<5,>=4.6
Requires-Dist: scipy>=1.10
Dynamic: license-file

# photomosaic-video

Still image: 2.3 s · 10 s of video: ~1 min · CPU only (Ryzen 7 7735HS). Built mostly by AI. Check the results yourself.

<img src="https://raw.githubusercontent.com/hinanohart/photomosaic-video/main/docs/demo.gif" width="100%" alt="A panda clip rebuilt frame by frame from a folder of dog photos">

<img src="https://raw.githubusercontent.com/hinanohart/photomosaic-video/main/docs/still_zoom.jpg" width="100%" alt="A still image rebuilt the same way, with one cell zoomed in to the photograph that fills it">

```bash
pip install photomosaic-video
photomosaic-video --demo                    # try it, no downloads
photomosaic-video clip.mp4 -t ./dog         # a video
photomosaic-video portrait.jpg -t ./dog     # a still image
```

Python 3.10+. Video also needs ffmpeg.

Photo packs and the full README: <https://github.com/hinanohart/photomosaic-video>

Thank you to [flutie8211](https://pixabay.com/users/flutie8211-17475707/) (Pixabay) for the panda clip.

Code: MIT. The 919 bundled photos: CC BY 2.0, credited in `photomosaic_video/ATTRIBUTION.md`.
