Simple examples of genetic algorithms. University project, originally with MATLAB, (to be) transcoded in Python.
The project is managed with Rye (astral-sh/rye).
- Install Rye
rye synccreates the venv frompyproject.toml- Open the Jupyter notebook and select the Python kernel in
.venv.
Genetic algorithm vs Active contour.

the genetic algorithm has been speeded up to compare the behavior, not the performance
Note
Not transcoded in Python yet, there is only the (french 🥖) MATLAB code
MATLAB code for active contours :
Active Contour MATLAB algorithm from Ritwik Kumar Ritwik Kumar (2022). Snakes: Active Contour Models (https://www.mathworks.com/matlabcentral/fileexchange/28109-snakes-active-contour-models), MATLAB Central File Exchange. Retrieved April 7, 2022.
MIT, except for the active contour MATLAB algorithm, see activeContoursSnakesDemo/license.txt.
Use the Cite this repository GitHub button, or directly the CITATION.cff file.
