Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Sh3b0/GeneticArt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GeneticArt

Applying genetic programming (evolutionary algorithm) to generate an artistic version of a reference input image

  • Assignment submission for Artificial Intelligence course

Quick testing:

Just replace input.bmp with another image of the same name (respecting the requirements below) then run a.out from the terminal

Requirements for the code to compile/run properly

  • Environment: any linux distribution with gcc compiler
  • Dependencies: OpenGL Utility Toolkit (GLUT) installed (GL/ has to exist in directory /usr/include/)
  • Input image: a valid 512x512 RGB bitmap *.bmp file (generated by software such as MS-Paint or Pinta)

Compilation under linux

  1. Specify the input image file location INPUT_IMAGE_PATH in main.cpp
  2. Open terminal, navigate cd to the directory containing main.cpp
  3. Run sh ./compile.sh to compile the source files into an output executable
  4. Execute the generated file using ./a.out

About

Applying genetic programming to generate an artistic version of an image.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published