Skip to content

Riof88/Sobel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Sobel Edge Detection with OpenCV

This project demonstrates how to apply the Sobel operator for edge detection using OpenCV.
It reads an image, converts it to grayscale, and uses the Sobel filter to extract horizontal and vertical edges.

🧠 What’s Inside

  • Load and display an image using OpenCV
  • Convert image to grayscale
  • Apply Sobel filters in both X and Y directions
  • Visualize results using matplotlib

🖼️ Sample Workflow

  1. Load the image with OpenCV
  2. Convert to grayscale
  3. Apply cv2.Sobel() for x and y
  4. Display edge-detected output

🛠️ Tools & Libraries

  • Python
  • OpenCV (cv2)
  • NumPy
  • Matplotlib

Releases

No releases published

Packages

 
 
 

Contributors