Skip to content

Recreating images with graphical objects using evolutionary computation.

Notifications You must be signed in to change notification settings

bartekk2908/Image_processing_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recreating images with graphical objects using evolutionary computation

Description

The goal of the project is to make program for recreating image provided by the user using graphic objects (e. g. letters, shapes, ect.) with proper parameters such as color, size, or position, in such a way to get the best recreation with the least number of used objects.

Example

Given image:

Gif showing process of recreating given image (around 210 objects used):

For more examples see Examples directory.

Usage

To use it, change image from picture directory for your image, then run generator.py file and the results will start to save in generated_im directory. In addition, at the bottom of generator.py file you can change parameters of evolutionary computation.

Inspiration

The inspiration for creating the program was the video by Spu7Nix, showing how to recreate images and videos using objects in Geometry Dash level editor.

Note

There are some things I would like to add to this project in the future like some small improvements, a lot of fun features, graphical interface or maybe CUDA optimization.

About

Recreating images with graphical objects using evolutionary computation.

Topics

Resources

Stars

Watchers

Forks

Languages