ahmedkhalf / Circle Evolution
Licence: gpl-3.0
Evolutionary Art Using Circles in Python
Stars: ✭ 237
Programming Languages
python
139335 projects - #7 most used programming language
Projects that are alternatives of or similar to Circle Evolution
triangula
Generate high-quality triangulated and polygonal art from images.
Stars: ✭ 3,775 (+1492.83%)
Mutual labels: art, genetic-algorithm, evolutionary-algorithms
Pagmo2
A C++ platform to perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model.
Stars: ✭ 540 (+127.85%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
Geneticalgorithmpython
Source code of PyGAD, a Python 3 library for building the genetic algorithm and training machine learning algorithms (Keras & PyTorch).
Stars: ✭ 435 (+83.54%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
Emoji Art Generator
Use a genetic algorithm to evolve an image by putting emojies on a canvas
Stars: ✭ 53 (-77.64%)
Mutual labels: genetic-algorithm, art
GeneticAlgorithmForFeatureSelection
Search the best feature subset for you classification mode
Stars: ✭ 82 (-65.4%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
tiny gp
Tiny Genetic Programming in Python
Stars: ✭ 58 (-75.53%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
Eaopt
🍀 Evolutionary optimization library for Go (genetic algorithm, partical swarm optimization, differential evolution)
Stars: ✭ 718 (+202.95%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
TorchGA
Train PyTorch Models using the Genetic Algorithm with PyGAD
Stars: ✭ 47 (-80.17%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
Mealpy
A collection of the state-of-the-art MEta-heuristics ALgorithms in PYthon (mealpy)
Stars: ✭ 72 (-69.62%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
Evolutionary.jl
Evolutionary & genetic algorithms for Julia
Stars: ✭ 142 (-40.08%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
Watchmaker
The Watchmaker Framework for Evolutionary Computation
Stars: ✭ 189 (-20.25%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
GeneticsJS
Evolutionary algorithms library for the web 🧬
Stars: ✭ 25 (-89.45%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
evoli
Genetic Algorithm and Particle Swarm Optimization
Stars: ✭ 22 (-90.72%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
NEATEST
NEATEST: Evolving Neural Networks Through Augmenting Topologies with Evolution Strategy Training
Stars: ✭ 13 (-94.51%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
goga
Go evolutionary algorithm is a computer library for developing evolutionary and genetic algorithms to solve optimisation problems with (or not) many constraints and many objectives. Also, a goal is to handle mixed-type representations (reals and integers).
Stars: ✭ 39 (-83.54%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
Jenetics
Jenetics - Genetic Algorithm, Genetic Programming, Evolutionary Algorithm, and Multi-objective Optimization
Stars: ✭ 616 (+159.92%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
Bluepyopt
Blue Brain Python Optimisation Library
Stars: ✭ 143 (-39.66%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
neuroevolution-robots
Neuroevolution demo through TensorFlow.js, Neataptic, and Box2D
Stars: ✭ 31 (-86.92%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
zoofs
zoofs is a python library for performing feature selection using a variety of nature-inspired wrapper algorithms. The algorithms range from swarm-intelligence to physics-based to Evolutionary. It's easy to use , flexible and powerful tool to reduce your feature size.
Stars: ✭ 142 (-40.08%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
Applying eanns
A 2D Unity simulation in which cars learn to navigate themselves through different courses. The cars are steered by a feedforward neural network. The weights of the network are trained using a modified genetic algorithm.
Stars: ✭ 1,093 (+361.18%)
Mutual labels: genetic-algorithm, evolutionary-algorithms
Evolutionary Art Using Circles
Getting Started
Installation
You can download the latest release using pip.
pip install circle-evolution
Usage
Command Line
You can easily start training an image by calling circle_evolution from your terminal
Example:
circle_evolution "Mona Lisa 64.jpg" --size 1 --genes 256 --max-generations 50000
Parameter | Description |
---|---|
--size | Image size {1: (64, 64), 2: (128, 128), 3: (256, 256)}. Default: 2 |
--genes | Number of circle to fit. Default: 256 |
--max-generations | Number of generations to run. Default: 500,000 |
Python Example Script
from circle_evolution import evolution
from circle_evolution import helpers
import numpy as np
import cv2
target = helpers.load_target_image("Mona Lisa 64.jpg", size=(64, 64))
e = evolution.Evolution((64, 64), target, genes=256)
e.evolve(max_generation=50000)
helpers.show_image(e.specie.phenotype)
np.savetxt("Checkpoint.txt", e.specie.genotype)
cv2.imwrite("OuputImage.jpg", e.specie.phenotype)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Contributors
Ahmed Khalf ahmedkhalf
Guilherme de Amorim guimorg
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].