Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 936 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 936 Bytes

canny-edge-detector

The goal of this project is to create a canny edge detector from scratch. The only libraries used are numpy and Pillow. The only usage of Pillow is for easier image I/O.

To run this project, simply clone and run python3 main.py. To input your own files, change the path in main.py. Then, if you want to change the parameters, you can do so in the CannyEdgeDetector variable in main.py.

See some sample outputs below.

Image 1 (Source): test_images/swan.jpg Origin swan image

Output 1: Edges for swan image

Image 2 (Source): test_images/steam_valve.png Origin steam valve image

Output 2: Edges for steam valve image