Inspiration for this project is the following post from Reddit.
The flow of data is as follows: PIL is used for image manipulation, and either
FFMPEG or OPENCV can be used to combine the generated images into a video.
Install either FFMPEG or OPENCV.
sudo apt install ffmpeggit clone https://github.com/surajkareppagol/sort-image
cd sort-imagepython3 -m venv .venv
source .venv/bin/activatepip install -r requirements.txtpython3 src/main.py [image]| Option | Description | Arguments |
|---|---|---|
| - | Image | None |
| s | Image split size | Number (default: 50) |
| a | Algorithm | Index number (0 - 6) |
| b | Builder | "ff" or "cv" |
The following algorithms are available:
Bubble SortSelection SortInsertion SortMerge SortQuick SortHeap Sort
Each algorithm creates a visually unique sorting video, making it easier to understand the sorting process.

