Skip to content

A color detection algorithm identifies pixels in an image that match a specified color or color range.

License

Notifications You must be signed in to change notification settings

rabahdj2002/Color-Detection-of-RGB-Images-Using-Python-and-OpenCV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Detection of RGB Images Using Python and OpenCV:

A color detection algorithm identifies pixels in an image that match a specified color or color range.

The extracted rgb values are then compared to a csv colors data sheet to select the matching color.

How To Use Code :


Install All Dependencies :

  • pip install -r requirements.txt

Replace line 5 with image path :

  • img_path = "sample.jpg"

Run python code :

  • python main.py

Finally Double Click To Select Area

Preview :


OUTPUT-1

About

A color detection algorithm identifies pixels in an image that match a specified color or color range.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages