Posts

Showing posts from January, 2019

Project: Create a dice grid from a photo with Python and PIL

Image
Some days ago a popular post on Reddit showed how an user of the platform made a portrait from a photo using dice; an impressive and relatively easy replicable task that would be an excellent project for beginners in Python :) That's why I've decided to code a program to create a grid of dice from a photo using Python and share the process of coding from start to finish in this blog in a series of posts. The skills developed in this project are: Real-life problems analysis Use and creation of modules in Python Use of the Python Image Library (Pillow) Use of Tkinter to create Graphic User Interfaces Use of docstrings to document the code Convert of Python Applications to Stand-Alone Windows executables  And below you can find the links to the posts: The logic behind the program Creation of the dice Create a grid of dice from a photo Design of the GUI Make a stand-alone executable Github: https://github.com/Nxz02/Pic2DicePy