📖 Table of Contents
Table of Contents
📝 About The Project
Colour detection is the process of detecting the name of any color. Simple isn’t it? Well, for humans this is an extremely easy task but for computers, it is not straightforward. Human eyes and brains work together to translate light into color. Light receptors that are present in our eyes transmit the signal to the brain. Our brain then recognizes the color. Since childhood, we have mapped certain lights with their color names.
In this color detection Python project, we are going to build an application through which you can automatically get the name of the color in a photo just by uploading it. So for this, we will use OpenCv2 for image manipulation, apply KMeans to identify the major colors and then plot the information using matplotlib.
💾 Project Files Description
- ColorDetect.py - The main file that detects color in a picture.
- ColorDetect.ipynb - Notebook version of ColorDetect.py file
- sample-image.jpg - A sample image from which colors would be detected.
📖 Getting Started
You are able to run the ColorDetect.py file by typing the following command in the command prompt:
$ python ColorDetect.py
📜 Credits
Tushar Mehndiratta