Skip to content
Related Articles

Related Articles

Python – Edge extraction using pgmagick library
  • Last Updated : 08 May, 2020

Edge Extraction is techniqye to highlight the edges present in an image. Edge extraction is used for data extraction used in computer vision for feature detection and feature extraction.

Applications of Edge Extraction –

1. Medical Sciences
2. Fingerprint Scanning
3. Computer/Machine Vision
4. Liscense plate Detection
5. Road Mapping
6. Text Detection

For eg:

Let’s see how we can do this in Python using pgmagick library.

Code :

# importing module
from pgmagick.api import Image
img = Image('koala.jpeg')

Input Image:

Output Image:

Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.

To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :