A Python program that converts images into image representations.
Warning
What?
Yeah, I mean, mosaics, like this:
| Original image | Mosaic |
|---|---|
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
Clone the project:
git clone https://github.com/agarnung/imageimage.gitInstall required dependencies (it is recommended tu use a virtual environment):
python3 -m pip install -r requirements.txtNote
Requirements generated with pipreqs . --force
Run the program in the root folder, e.g.:
python3 imageimage.py --file /opt/imageimage/assets/camera.tif --inputs /opt/imageimage/image_database/ --cols 25 --rows 25 --color_weight 1.0 --gradient_weight 0.1Please refer to the program help:
python3 imageimage.py --help- Añadir un máximo número de veces que se puede usar cada imagen del mosaico, para potenciar la heterogeneidad.





