Maze solver using image processing