amangoeliitb / Genetic-Algorithm

A genetic algorithm implementation in Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Genetic-Algorithm

A genetic algorithm implementation in Java

We have programmed a Genetic Algorithm in Java that takes an image as input and approximates the image using circles/rectangles of different dimensions and colors

Steps to run the algorithm:

First put the image file (jpg) in the same directory as the algorithm files

Now running the code is simple. Just provide the image name (without any extension) as the first argument to the java command

Example: java GeneticAlgorithm my_image

About

A genetic algorithm implementation in Java


Languages

Language:Java 100.0%