Project Documentation Color Detection
Project Documentation Color Detection
On
MAM SAIMA
We hereby certify that the work which is being presented in the project,
entitled “COLOR DETECTION USING OPENCV” in partial
fulfilment of the requirements for the award of the BSIT submitted in
the Ghazi university dera ghazi khan is an original work carried out
during the period of 2020-24, under the supervision of Mam saima
Department of Computer Science and Engineering, Ghazi university
Dera Ghazi khan
The matter presented in the project has not been submitted by us for the
award of any other degree of this or any other places.
Supervisor Name
CERTIFICATE
TABLE OF CONTENTS
1 Abstract 3
3 Problem Formulation 5
4 Dataset of Colors 6
5 Calculating Distance 7
6 Required tools 8
7 Output 9
8 Feasibility Analysis 14
9 References 15
Abstract
the name of any color. 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
that will be used for testing the color recognition, a .csv file that will be
Literature Review
[1] Color can be identified from the sensory optic nerves of the eyes.
boundary.
implementations can
also be used in agricultural industry like especially detection of quality
of soil.
[3] Color Detection can be used in agriculture industry to find the weeds
the along with the crops. Via color detection weeds can be identified and
destroyed and the crops can be saved. It can be also used in medical
industries to detect the disease and other disorders especially in face and
human eye and the reduction of human effort. Through computer vision
various task can be done that is done by human eye, whether to detect
the object or identify its color. By this method it is very helpful to detect
based object detection has been a research hotspot in recent years. This
paper provides a detailed review on deep learning based object detection
Then, three other common tasks, namely salient object detection, face
Simple isn’t it? Well, for humans this is an extremely easy task but
Human eyes and brains work together to translate light into color.
Light receptors that are present in our eyes transmit the signal to
color names.
Problem Formulation
This is a genetic disease and cannot be easily cured. In this disease the
help of technology .
Take the image path of which you want to find the colors in.
Now calculate the minimum distance from all the color and get the
mouse.
image.
Display the color name of the point along with the R, G, B values
Dataset of colors
256*256*256 = 16,581,375.
corresponding names. The CSV file for our dataset has been taken
we will be using this dataset only to get the colors for the mouse clicks.
Calculating Distance
Explanation of Code:
We need a function in the program that is going to return the color of the
point where the mouse is clicked. And as we know for getting the color
we need to get the distance and then compare it with the dataset.
ithBlueColor)
Required tools
OpenCV:
to images.
Pandas:
Pandas is Python Package which stands for Python and data
Image Processing:
Technical Feasibility:
any kind of internet and there can’t be any issue regarding component
Programming Device
Programming individuals
Color Blindness
https://www.sciencedirect.com/science/article/abs/pii/S003335069
8005903
Pandas documentation
https://pandas.pydata.org/docs/
OpenCv Documentation
https://opencv.org/