/moore-edge-detection

Learn the Moore Neighborhood Algorithm with this simple Python implementation for edge detection.

Primary LanguageJupyter Notebook

Moore Edge Detection

This repository contains a straightforward Python implementation of the Moore Neighborhood Algorithm for edge detection. It's designed for learning purposes and requires the following dependencies:

  • OpenCV (cv2)
  • NumPy
  • Matplotlib

To install the required packages, you can use the following pip command:

pip install opencv-python-headless numpy matplotlib

Explore the Jupyter Notebook for a step-by-step demonstration of Moore Neighborhood Edge Detection on sample images.

Feel free to clone the repository and experiment with edge detection on your own images!

Usage

  1. Clone the repository:

    git clone https://github.com/Ilia-Abolhasani/moore-edge-detection.git
    
  2. Navigate to the project folder:

    cd moore-edge-detection
  3. Open the Jupyter Notebook to learn and experiment:

    jupyter notebook Moore Project.ipynb

Enjoy your exploration of edge detection with the Moore Neighborhood Algorithm!