From counting neighbors to edge detection
Draw a 5x5 grid. Shade some cells to make a pattern (like a letter 'L'). Count how many shaded neighbors each cell has. What pattern emerges?
Draw a 5x5 grid. Shade some cells to make a pattern (like a letter 'L'). Count how many shaded neighbors each cell has. What pattern emerges?
Click blocks to stack them.
# generated Python appears here
Output appears here.
Edge Detection App! Draw a shape on a grid. The app applies a convolution kernel to detect edges. This is the foundation of computer vision and CNNs!
Draw
Edges