Skip to content

The code Detects the specified colour which can be changed inside the code and draws a rectangle around the detected colour using Contours. By default uses the in-built camera.

Notifications You must be signed in to change notification settings

Srishivanth/Colour-detection-using-OpenCV-and-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

This code was written to demonstrate the Colour detection algorithm using only Python and OpenCV.


The list "yellow" defines the colours in a scalar format and upon changing this to our needs we are able to detect various colours.

The code has bee optimized to exit from the continuous feed from the webcam when the key 1 is pressed.

About

The code Detects the specified colour which can be changed inside the code and draws a rectangle around the detected colour using Contours. By default uses the in-built camera.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages