Oct 31, 2020
no_cells_height = int(height/CELL_SIZE)
# number of cells in height of maze image
no_cells_width = int(width/CELL_SIZE)
# number of cells in width of maze image
initial_point = (0, 0)
# start point coordinates of maze
final_point = ((no_cells_height-1),(no_cells_width-1))
# end point coordinates of maze
This may help you.