Moritz Kuhn

OpenMoji.py

Building an automation tool

YEAR

2019

DURATION

3 Days

Context

Fun

This Python script can make a mosaic version of any image by analyzing, sorting and placing images.

Mosaic of 'Robot' or 'Robot Face' emoji 🤖

🤖 🤖 🤖

The script first analyzes the target image and rasterizes it line by line according to its color values. Now the emoji with the matching average color value needs to be placed on each matrix tile.

😂 😂 😂

PyAutoGUI does the search, selection, and placement by typing on a virtual keyboard and moving the mouse by itself. The rasterizing and sorting happen during the initialization.

Stefan Mitschelen supervised the workshop. For demonstration purposes, I used the open-source OpenMoji emoji library to build mosaics of emojis.

Mosaic of 'Face with Tears of Joy' 😂

Thank you for your interest. Do you have a similar project in mind that you'd like to discuss or want to know more about the one above? Contact me!

Or have a look at my other projects →