Skip to content

This script take two colour ranges from user through track bars and then detects the shared edge between the two if any in the input image.

Notifications You must be signed in to change notification settings

Aditya-Singh-SSJ2/Shared-Edge-Detection-Between-2-Colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shared-Edge-Between-2-Colors-Using-OPENCV-PYTHON

This script prompts the user to select two ranges of color using the trackbars, and returns all the shared edges between the two colors if any in the input image. I have chosen blue and pink as an example (see Input.png and Output.png) and have successfully detected all the shared edges between them.

Libraries used:-

  1. openCV2
  2. numpy

Example:

The file input.png (attched along with the code) when passed through the code with user thresholding the blue and pink colour gives the output as output.png (attched along with the code).

Contact:

linkedin.com/in/aditya-singh-243ba8197

About

This script take two colour ranges from user through track bars and then detects the shared edge between the two if any in the input image.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages