- Given a Maze image as input , the task is to find and display the path through the maze.
- Given an obstacle as input , the task is to find a new path through the maze , avoiding the obstacle.
The entire code has been written in Python3 . I have used the PIL(Python Imaging Library) to deal with all the image related work.
Other Modules used : numpy(for storing the pixel data) and matplotlib(for plotting and displaying the images).
I have used a recursive function , which among all the possible paths returns the shortest path in the maze.