Skip to content
Educational Python implementation of the Canny Edge Detector
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
CannyEdge Update Apr 5, 2017 Update Nov 6, 2018 initial May 30, 2016


GitHub release Requirements Status

This repository contains an educational implementation of the Canny Edge Detector in Python 2.7. I wrote this to generate plots for my Bachelor's thesis about Numerical Edge Detection and not for productive applications.

The algorithm was splitted in it's 5 essential parts. You can find the corresponding functions in CannyEdge/


Requirements: You need to have Python 2.7, Numpy, SciPy and the Matplotlib installed. You can also use Python Anaconda which already includes all those libraries.

  • To generate the Edge Image of lena.jpg, call python lena.jpg 1.4 20 40
  • For general usage, call python -h
You can’t perform that action at this time.