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.
🤖 🤖 🤖
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.