Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

ReadMe.md

Outline

Border extraction

This python script will allow us to extract borders of objects in an image.

Setup Instructions

Install python3

sudo apt-get install python3

Install pip (package installer for python)

sudo apt-get install python3-pip

Install Numpy library with pip

pip3 install numpy

Install OpenCV library with pip

pip3 install opencv-python

Install tkinter library

sudo apt-get install python3-tk

Details/Output

User should select an image and the script returns an output image of borders of the objects in it.
The input image is converted into binary format and then we use morphological transformation of dilation minus erosion.
Note The threshold value while converting an image into binary format needs to be adjusted for every image.

Author

Github: invigorzz313

Morty Proxy This is a proxified and sanitized view of the page, visit original site.