tsarjak / canny-edge-detector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

canny-edge-detector

Runs the canny-edge detector algorithm on input image and applies Ptiling thresholding.

Libraries Required 1. Numpy - for matrix operations 2. Python Imaging Library (PIL) - for loading and saving image 3. Matplotlib - for viewing the processed image 4. ArgParse - for passing arguments from the terminal

  • How to run the program
    1. Installing required libraries sudo pip install numpy pillow matplotlib

    2. Running the code python SPT308-CV.py --imagePath "<path-to-image>" --ptilingprop <num-edges-in-percentage>

    3. For help regarding running the program python SPT308-CV.py --help

About

License:MIT License


Languages

Language:Python 100.0%