This Maze Solver Works With OpenCv Library written with C++ language used (BFS+Shortest Path) algorithms to get the maze solved
in optimal
first it searches for the entrance of the maze
second it keeps moving on white pixels saving the parents of pixels and marking the visited ones to avoid unnecessary moves
third it moves on parents of pixels to draw the path it moved into