ColorBot 123
ColorBot 123
ColorBot 123
Colors Bot
COLORS BOT
Science Fair 2023
1. Introduction
Color identification system is a technology that can detect and identify
colors within an image or video feed. It is often used in a variety of
applications such as robotics, security systems, and quality control in
manufacturing. The system works by analyzing the visual data and
comparing it to a pre-defined set of colors to determine a match.
2. Objectives
2 Light Sensor 1 10
(LDR)
3 Display 1 30
(ST7789)
4 Controller (CPU) 1 30
Arduino NANO
# Description Picture Quantity Cost
(QAR)
5 PCB Board 1 10
6 Connection Lot 20
Wires
7 Power Switch 1 5
8 Battery 1 15
# Description Picture Quantity Cost
(QAR)
9 Enclosure 1 7
12 Super Glue 5 10
Total
190
(QAR)
4. hypothesis
One way to use hue to identify colors is to define a set of hue ranges for
different colors, and then use the hue value of a pixel in an image to
classify that pixel as belonging to one of the defined colors. For example, a
hue range of 0-30 degrees could be defined as red, 30-60 degrees as
orange, and so on.
There are several steps that be taken to create a color identification system
using a color sensor:
6. Application
7. Analysis of data
1. Data cleaning: Review the collected data and remove any color cards
that are not relevant to the color identification task or that contain
errors or inconsistencies.
2. Data labeling: Label the color cards with the corresponding color
values, either manually or through an automated process. This data
will be used to train and test the color identification system.
3. Data visualization: Use data visualization tools to view the distribution
of colors in the collected data. This can help to identify any patterns
or outliers in the data, and can aid in selecting appropriate feature
extraction and classification techniques.
4. Feature extraction: Extract color-related features from the objects,
such as hue, saturation, and value (HSV) or hue, saturation, lightness
(HSL) values. These features will be used to train the color
identification system.
5. Data splitting: Split the collected data into training and testing sets.
The training set will be used to train the color identification system,
while the testing set will be used to evaluate its performance.
6. Data normalization: Normalize the extracted color features, to make
sure that the data is in the same scale and have the same
distribution.
7. Data augmentation: If the collected data is not enough, data
augmentation can be applied to the training set, such as by applying
different transformations to the images or videos, to increase the size
of the data set.
Once the data has been analyzed, the color identification system can be
trained and tested using the processed data. The performance of the
system can be evaluated using metrics such as accuracy, precision, and
recall and fine-tuned as needed before deploying it in an application.
8. Observation
The HSV (Hue, Saturation, Value) color model is a way to represent colors
in a cylindrical coordinate system. It separates color information into three
components:
One of the main advantages of using the HSV color model for identification
is that it separates color information into distinct channels, which can make
it easier to manipulate or extract specific features of an image. Additionally,
the cylindrical nature of the HSV model can make it more intuitive to
understand and work with color. However, it is worth noting that the color
perception is a complex phenomenon, and different color models can be
used depending on the context of the application and the properties of the
image.