Metadata-Version: 2.1
Name: mozyq
Version: 0.0.1
Summary: 
Author: Gilad Kutiel
Author-email: gilad.kutiel@gmail.com
Requires-Python: >=3.10,<3.13
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: cattrs (>=23.2.3,<24.0.0)
Requires-Dist: ffmpegio (>=0.10.0.post0,<0.11.0)
Requires-Dist: google-auth (>=2.32.0,<3.0.0)
Requires-Dist: opencv-python (>=4.10.0.84,<5.0.0.0)
Requires-Dist: requests (>=2.26.0,<3.0.0)
Requires-Dist: scipy (>=1.14.0,<2.0.0)
Requires-Dist: torchaudio (>=2.4.0,<3.0.0)
Requires-Dist: torchvision (>=0.19.0,<0.20.0)
Requires-Dist: tqdm (>=4.66.5,<5.0.0)
Requires-Dist: typer (>=0.12.3,<0.13.0)
Requires-Dist: websockets (>=12.0,<13.0)
Description-Content-Type: text/markdown

# mozyq

mozyq is a Python command line tool that takes a folder containing multiple photos and generates a video of photography mosaics from them. This tool is useful for creating stunning mosaic videos where each frame is a mosaic made from the photos in the input folder.

## Requirements
You need ffmpeg:
```
sudo apt install ffmpeg 
```

## Installation
```
pip install mozyq
```


## Usage

First you need to have a folder with enough photos. 
You should have at least 500 630x630 photos.
You can create one like this:
```
mkdir photos && seq -f '%03g' 999 | xargs -I {} -n 1 -P 32 wget https://picsum.photos/630 -O photos/{}.jpg
```

To generate a video run:
```
mzq photos/0000.jpg
```


