A Python program that visualizes the process of solving a maze by skeletonizing an image and finding the optimal path between two points.
- Clone the Repository:
git clone https://github.com/luc1d-ed/Pixela-Maze.git
cd Pixela-Maze
Alternatively, download the ZIP file and extract it.
- Install Dependencies: Ensure you have Python installed, then install the required packages using:
pip install -r requirements.txt
It's recommended to use Jupyter Notebook, especially for marking the start and end points.
-
Choose Your Maze:
Obtain a maze image you want to solve (e.g., from Maze Toys)
-
Place the Image in the Appropriate Directory:
Pixela-Maze/
├── Mazes/
│ ├── Maze.toys/
│ │ └── {image_file}
│ ├── Examples/
├── Breadth-first.py
├── Notebook.ipynb
├── requirements.txt
-
Update the Image Path:
In the Jupyter Notebook, update the filename in the second code block (or on line 11):
-
Set Start and End Points:
-
Run the Notebook:
Execute the cells one by one to solve your maze.
Feel free to open issues or submit pull requests for any improvements.