~/lightning

Maze Solver using Python and OpenCV

Lightningat PyCon India 2020 · 2020-10-02..10-05· [computer-vision, python]
links:none on file
slides:none on file

Image files become binary masks with cv2.threshold then contours are extracted and small gaps are closed by alternating erosion/dilation to fill cracks; the code subtracts the eroded image from the dilated one to isolate navigable passageways, traces a path through the contour graph and visualizes it with matplotlib. Implementation uses Python and OpenCV plus numpy, runs on a Heroku web app called main puzzle solver.heroku and automatically solves uploaded maze images.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.