Skip to content

joyMajumder123/CanaryEdgeDetection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

CanaryEdgeDetection

🧠 Canny Edge Detection (Python Implementation)

This project demonstrates a manual implementation of the Canny Edge Detection algorithm in Python β€” without using OpenCV or other pre-built computer vision libraries. It walks through each step of the edge detection process and allows threshold tuning via sliders (if run in Google Colab) or static values (if run locally in VS Code).


πŸ“Œ Features

  • Full implementation of:
    • Grayscale conversion
    • Gaussian blur
    • Sobel filter (gradient magnitude & direction)
    • Non-maximum suppression
    • Double thresholding
    • Edge tracking by hysteresis
  • Interactive threshold sliders in Google Colab
  • Image upload support in both Colab and local Python (VS Code) setup
  • Output includes:
    • Final edge-detected image (saved to disk)
    • Summary statistics (dimensions, intensity, pixel count)

πŸ”§ Requirements

Install dependencies using:

`bash pip install numpy matplotlib pillow ipywidgets

Here is a demo example- https://colab.research.google.com/drive/1u36QuJlq3I7cPghyyYBel61J-cyxZ3Hb?usp=sharing#scrollTo=A_fpJCsHt0ER

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages