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.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CannyEdge Update core.py Apr 5, 2017
README.md Update README.md Nov 6, 2018
detector.py initial May 30, 2016

README.md

PythonCannyEdge

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/core.py.

Usage

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 detector.py lena.jpg 1.4 20 40
  • For general usage, call python detector.py -h
You can’t perform that action at this time.