GiovaniValdrighi / edge-detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Edge Detection

Project for the discipline of Introduction to Computer Graphics at the undergraduate course of Applied Mathematics at EMAp FGV. The first is the implementation of the Canny algorithm to detect edges on images. An edge is the contour of an object on an image that is represented as a change of color or lightness. The algorithm focuses on detecting these changes in both horizontal and vertical directions. The implementation is available at the link and can be used with your own images.

Edge Detection

Files organization

The files of the project are separated in the following folders:

  • docs/: contains HTML files of the web page, and the Javascript code for the algorithm.
  • docs/imgs/: contains the files of all images used.
  • notebooks/: contains a Jupyter Notebook with the implementation of the Canny algorithm using Python.

Requirements

The implementations that was made with Javascript had the intent to be used by any user that has not contact with programming, so to run you just need to access the web page. The version in the Jupyter Notebook made uses of Python and Anaconda. The libraries used are:

  • numpy
  • PIL

How to run

As already mentioned, to run the Javascript version it is just needed to access the web page. To run the Python version, run all cells in notebooks/edge-detection.ipynb with Anaconda.

Reference

About


Languages

Language:Jupyter Notebook 100.0%