SlideShare a Scribd company logo
1 of 44
Download to read offline
Realization of
an object color tracker
based on the raspberry pi board
University Kasdi Merbah Ouargla
Presented by :
❖ Kouinini Ilyes
❖ Mazouzi Abdessatar
Under the supervision of :
Dr. BENACER Imad
Faculty of New Technologies of Information
and Communication
CONTENTS
1. Introduction.
2. Introduction to digital image processing.
3. Hardware and software description.
4. Object tracking using color detection with
raspberry pi board.
5. Conclusion.
INTRODUCTION
1. Introduction
Autonomous Mobile Robots (AMRs) has achieved the greatest success
over the recent years, and it takes a big place in the world of research and
development nowadays, on the other hand, earlier robots regardless of
their success they have a big disadvantage which was: the lack of mobility
and autonomous navigation, furthermore, AMRs can move around their
environment, and designed for a structured environment to rely on a
guided path to navigate around the desired workspace.
Mobile robots were designed for point-to-point tasks where the path
doesn’t change over the time, Nowadays researchers are focusing on the
development of a mobile robot that can navigate in their workspace
autonomously.
1
1. Introduction
Autonomous mobile systems
Mobile systems can be defined as systems that are not attached to the environment and can move in a certain
space, and they can be classified into three principal groups according to the environment that they move
across:
❑ Ground mobile systems
❑ Aerial mobile systems
❑ Water and underwater mobile systems
The main mechanical and electronic parts of an autonomous mobile robot are the following:
▪ Mechanical parts
▪ Actuators
▪ Sensors
▪ Computers
▪ Power unit
▪ Electronics 2
1. Introduction
Mobile robots applications
➢ medical services
➢ cleaning applications
➢ Applications in agriculture
➢ inspection and surveillance
➢ space missions
➢ cargo handler robots
➢ military robots
Mobile robots sensors
➢ Position sensors
➢ Velocity sensors
➢ Distance sensors
➢ Robot vision
Sensors are windows for a robot to the environment,
they allow robots to understand and measure the geo
metric and physical properties of objects in their work
environment, there are some other important robotic
sensors such as Gyroscope, GPS, force sensors … etc.
3
The objective of this work is to design a prototype of an autonomous mobil
e robot that capable of identifying and track objects by their colors using robot vi
sion, which uses a camera to acquire visual information of the surrounded enviro
nment, this information analyzed and processed based on image processing algor
ithms to detect objects according to their colors, by applying color segmentation
method using python programming language and OpenCV.
This robot consists of several components (Raspberry Pi, Arduino board, IR
proximity sensor, Camera) and each one plays an important role, this robot has a
powered fixed four wheels’ chassis, as a processing unit we used the Raspberry P
i 3 Model B+ with a camera module utilized as a vision of this robot, the speed an
d direction of the robot wheels are controlled via an Arduino Nano board which r
eceive orders from the Raspberry Pi via serial communication, in addition to the c
amera, the robot equipped with a Sharp IR distance sensor to measure the distan
ce between robot and objects continuously.
4
Digital image processing
In computer science, digital image processing is the use of a digital computer
to process digital images through an algorithm.
digital image processing technic used in two principal application areas:
▪ Extracting information and Improvements of pictorial information for human
interpretation.
▪ Processing image data for storage, transmission, and representation for
autonomous machine perception.
What is digital image processing?
2. Digital image processing
5
Image analysis tasks
Figure 2.1: Four possible levels of image representation for image analysis in
which objects have to be detected and classified. 6
There are three types of digital image
processing are distinguished:
o Low-level Processing
o Mid-level processing
o High-level processing
The use of colors in computer vision is the basis
of modern digital image processing which make
it much powerful technic used currently in several
areas such as Medical use, Machines, Robots, se
curity . etc.
Colors is a powerful descriptor that makes the
object identification much simpler and the data
extraction from scenes more easier. In color imag
es we distinguish a thousand of color shades co
mpared to just about
two dozen shades of gray.
Digital image processing levels Color image processing
2. Digital image processing
7
Application of digital image processing
❑ Image sharpening and enhancement
❑ Medical field
❑ Machine/Robot vision
❑ Video processing
Constraints of digital image processing
❑ Lose the information in 3D to 2D
❑ Interpretation of image(s).
❑ Noises in images.
❑ A huge amount of data
2. Digital image processing
8
Hardware & Software
description
3. Hardware & software description
A system is a Hardwar having software embedded on it, and perhaps
additional parts either mechanic or electronic, the use of Hardware-software
combination can easily achieve the purpose wanted with the best performance
and less cost.
This project is based on this Hardwar-Software combination, the Hard part
is consists of the Raspberry Pi which is the brain of the project, a camera,
Arduino board, DC motors and motor drives, and the software part consists
of the operating system (OS), programming language and the libraries used
for image processing.
9
3. Hardware & software description
Hardware part
The Raspberry Pi
The Raspberry Pi is a versatile, small and cheap
single-board computer. Its hardware features and
the capability of using open source software have
allowed different implementations in different areas
.
10
Raspberry Pi camera
High definition camera module compatible with the Raspberry Pi model A and model B. Provides
high sensitivity, low noise image capture in an ultra-small and lightweight design. The camera
module connects to the Raspberry Pi board via the CSI connector designed specifically for
interfacing to cameras. The CSI bus is capable of extremely high data rates, and it exclusively
carries pixel data to the processor.
Arduino board
the Arduino board it’s open-source electronics prototyping platform based on flexible,
easy-to-use hardware and software. It’s intended for artists, designers, hobbyists, and
anyone interested in creating interactive objects or environments. In simple terms, the
Arduino is a tiny computer system that can be programmed with your instructions to int
eract with various forms of input and output.
3. Hardware & software description
DC Gearbox Motor "TT Motor"
DC motors are widely used to run the wheels of the autonomous mobile
robot, in this project, a DC Gearbox Motor used to control the robot motion.
11
The MX1508 Motor Drive
The MX1508 board can drive two DC motors independently. It has Dual H-bridge motor driver
can drive two DC motors in either direction or a 4-wire two-phase stepper motor. This board
control The motor speed with a Pulse Width Modulated (PWM) signal to the IN connections.
3. Hardware & software description
Sharp IR GP2Y0A41SK0F distance sensor
The sharp IR is a distance measuring sensor unit, composed of an integrated combination
of PSD (position sensitive detector), IR-LED (infrared emitting diode) and signal processing
circuit. This device outputs the voltage corresponding to the detection distance.
Camera Module Pan Tilt Mount
This Pan-tilt mount is a suitable way to this project to customize a full range motion,
it includes two servo motors to rotate roughly 250° horizontally and vertically roughl
y 150°.
12
Software part
The Raspbian OS
Raspbian is the name given to a customized variant of the popular Debian Linux distribution. Raspbian
takes Debian as its base, or parent distribution, and adds custom tools and software to make using
the Raspberry Pi as easy as possible.
Python Programming language
Python is a general-purpose, object-oriented, and open-source computer programming language.
It is commonly used for both standalone programs, and scripting applications in a wide variety of
domains, by hundreds of thousands of developers
Open cv
Initially developed by Intel, OpenCV (Open Source Computer Vision) is a free cross-platform libra
ry for real-time image processing that has become a standard tool for all things related to Compute
r Vision
3. Hardware & software description
13
this project is about the autonomous robot, which can consist
of several components such as(the Raspberry Pi, the Arduino board,
wheels, Pi camera . . . Etc.).
Each component has a very important role in assuring the
Proper function of the project. Whose all the components need to be
assembled and connected to provide the required functionality, some
of these components are made only to execute commands given by
other components while the other would communicate among each
other.
Raspberry pi setup & components assembly
3. Hardware & software description
14
The Raspberry Pi setup
Before the use of the raspberry pi board it needs some obligatory setups, to be ready to go:
Install the Raspbian OS:
▪ Download Raspbian
▪ Writing Raspbian on SD card
▪ Connection of Raspberry Pi
Once all connections are done, then boot the board up and it will ask the user to
log in, the Raspbian default username and password:
▪ Username: pi
▪ Password: raspberry
3. Hardware & software description
15
Raspberry Pi configuration
The initial installation has finished, now the board needs some configurations as this project require, the Ra
spberry Pi comes with several features to enable depending on the user utilization, such as the Pi camera an
d the remote desktop .. etc.
the Raspi-config is a command line used to access the configurations of the Raspberry board through the ter
minal:
❑ change the Raspbian Hostname
❑ Enable Raspberry Pi features
▪ Enable SSH feature
▪ Enable the use of Pi camera.
▪ Enable the use of GPIO pins.
▪ Enable Serial communication.
❑ Set up the remote access
❑ Install OpenCV on the Raspbian OS
3. Hardware & software description
16
Install the Pi camera module
➢ The Pi camera it’s like the Raspberry Pi
itself is supplied as a bare circuit board.
It has to connect to the CSI connectors.
Programming the Pi Camera Module:
There are several ways to capture pictures or stream live video through the camera module, in our
project the Pi Camera has been programmed via utilization Python programming language.
3. Hardware & software description
17
Interfacing Arduino with Raspberry Pi
The functionality of this project requires that these the Pi &
Arduino boards must communicate together, to do that the tw
o boards are connected using USB Serial Communication.
serial communication
We can achieve Serial communication with aid of Python
programming language which provide a preinstalled library
for Serial communication, that enables to read and send data
over Serial port.
3. Hardware & software description
18
Control the wheels with Arduino
the MX1508 DC Motor Driver has been used to control both the speed and the direction of the wheel
s, it comes incorporates an H-bridge for both motors, therefor it can drive the motors in either direct
ion and the speed of the motors is controlled with a Pulse Width Modulated (PWM) signal.
3. Hardware & software description
19
Sharp IR with Arduino
In this project, the Sharp IR proximity sensor is used
to calculate the distances for each instance between
our robot and the target object.
3. Hardware & software description
20
Assembled robot
3. Hardware & software description
21
we went through the necessary setups of the Raspberry Pi board, we
took the basic installation, starting with the installation of Raspbian
OS, which is an important step for the Pi to be used, furthermore, we
used the rapi-config to configure the board, and enabled some useful
features such as the remote access which allows us to remotely
access the robot. Also, we showed programming and assembly of
different components which our robot consist of.
3. Hardware & software description
22
Object tracking
using color detection
with raspberry pi board
4. Object tracking using color detection with raspberry pi board
Object detection has been recently a very dominant field in computer vision sciences , it consists of finding
the Object location in a scene using image features.
Digital images have properties known as image feature which plays the main rule in the development of
advanced computer vision algorithms, it makes the camera an extremely powerful
sensor used to detect, identify and track objects in the camera view.
Applications based object recognition has a variety of uses, some of which are: Self-driving car, Autonomous
mobile robots, security and surveillance etc. Mobile robots can navigate in their environments autonomously,
which needs a path planning algorithm to determine its position and direction.
This project uses a vision based-navigation to extract features required for the localization process.
23
In this section, we will discuss color object detection in some
important color spaces used in computer vision and compare
between the results of color detection obtained in each color
space.
The algorithm of color image segmentation based in
different color space is explained as follows:
Comparative of color detection in different colors paces
Figure 4.1: Flow Chart for Object Tracking by
Color Detection
4. Object tracking using color detection with raspberry pi board
24
Color space conversion
The Transformation of an image with
RGB color space to an HSV image
using equations:
The transformation between YCrCb
and RGB image using the equation:
4. Object tracking using color detection with raspberry pi board
25
Color detection in The RGB color space
RGB color space is an additive color space where colors are obtained by a combination of Red, Green, and
Blue Values . The Figure below shows the different Channels Blue ( B ), Green ( G ), Red ( R ) of the RGB
color space shown separately. For two image with different lightness.
Figure 4.2: Different Channels R, G, and B of the RGB colors pace shown separately.
4. Object tracking using color detection with raspberry pi board
26
In the RGB color space, the information of specific color is separated into three
channels and the same channels encodes the brightness information which makes
color-based segmentation difficult in this color spaces, and It’s clear that the change
in illumination in both images, affects all the three RGB components.
Figure 4.3: Histogram of R, G, B for the same image with different lightness.
27
Color detection in The YCrCb color space
The YCrCb color space is different from the RGB color space, in the YCrCb color spaces the Y channel
encodes the luminance which is independent of the color information. Which mean that the luminance
and the chrominance are separated into different channels.
Figure 4.4: YCrCb color space components for two
image with different lightness conditions.
Figure 4.5: Histogram Y, Cr,Cb components for two
images with different illumination.
4. Object tracking using color detection with raspberry pi board
28
Color detection in the HSV Color space
The HSV Color space has the following component H: Hue (the Color), S: Saturation (shades of the color),
V: Value (Intensity). HSV color space uses one channel to describe the color information (H), which make it
flexible to specify a color.
Figure 4.6: Hue ( H ), Saturation ( S ) and Value ( V ) components in
HSV color space.
4. Object tracking using color detection with raspberry pi board
29
Color histogram can be used for color segmentation for regions with a particular color, HSV colors
histogram for each component for the red, blue, green and yellow colors shown below,
And we observe that the Hue histogram is obviously different form color to another which refer
that the H component represents the color itself, which make color identification is quite efficient
in HSV color space.
Figure 4.7: Histograms of the HSV colors pace components for differe
nt colors. 30
Color detection in the RGB, YcrCb, HSV color spaces uses the boundaries (Lower Values and Upper Values)
for the specific color to be detected.
Color
boundaries
R G B
THmin THmax THmin THmax THmin THmax
Red 17 64 14 41 41 199
Blue 57 220 10 88 5 32
Green 0 27 0 100 0 41
Yellow 0 46 95 179 97 195
Results of color detection
RGB Color Space
Table 4.1: RGB min and max threshold values of red, blue, green
, yellow colors.
Figure 4.8: RGB Color detection
results
4. Object tracking using color detection with raspberry pi board
31
Color
boundaries
Y Cr Cb
THmin THmax THmin THmax THmin THmax
Red 10 75 125 191 5 117
Blue 8 148 26 113 139 168
Green 15 78 98 113 35 135
Yellow 11 255 10 255 16 80
Color
boundaries
H S V
THmin THmax THmin THmax THmin THmax
Red 0 41 78 255 89 160
Blue 89 130 89 255 8 255
Green 45 79 119 255 7 255
Yellow 13 45 60 255 9 255
YCrCb Color Space
HSV Color Space
Figure 4.9: YCrCb Color detection
results
Figure 4.10: YCrCb Color detection
results
32
Table 4.2: Y, Cr, Cb min and max threshold values of r
ed, blue, green, yellow colors.
Table 4.3: H, S, V min and max threshold values of re
d, blue, green, yellow colors
Final result of color detection
Figure 4.11: Find contours and draw a red rectangle around the object
s.
4. Object tracking using color detection with raspberry pi board
33
Path planning for color abject following
The robot localization and path planning is the final step in this project, which consist of
color object follower and which mean that the mobile robot follows a specific object and
set its direction according to that object location, the algorithm of object following we
used is as follows:
Figure 4.11: color abject following algorithm. 34
As seen in this section image color segmentation have been described
, however the results that obtained in color detection using different
color spaces doesn’t the same, and due to the change of illumination
in the environment the results can be affected.
The robot is designed to track color objects by path planning
algorithm to keep the object in sight and driving forward and backward
to maintain a constant distance between the robot and the object.
This idea can be used for the surveillance, traffic monitoring,
human-computer interaction, intelligent transportation, and robotics
and also in the field of medical.
4. Object tracking using color detection with raspberry pi board
35
Conclusion
5. Conclusion
In this project we designed a prototype of a color object tracker via Raspberry Pi board, using image
processing technique to identify and track objects by their colors, we showed a satisfactory result,
otherwise, we faced some constraints, the issue we observed that achieving real-time processing
which was a big challenge due to some reasons, the low-quality camera used in the project, and the
change in illumination which affects the result of colors identification. In a result of that the processing
time depends on the performance of the camera and the raspberry pi.
Despite the complexity of the image processing technique, we showed that the embedded computing
platforms such as Raspberry Pi 3 Model B+, are powerful enough to carry out real-time computer
vision processing.
As can be seen, there are many areas it can push this project further, for more advanced applications,
this project can be equipped with artificial intelligence algorithms and developed as an autonomous
vehicle capable of identifying objects, traffic signs and traffic lights.
36
Thank you for
your attention !

More Related Content

Similar to Colour tracking robot.pdf

IRJET-Automatic Self-Parking Chair using Nissan Technology
IRJET-Automatic Self-Parking Chair using Nissan TechnologyIRJET-Automatic Self-Parking Chair using Nissan Technology
IRJET-Automatic Self-Parking Chair using Nissan TechnologyIRJET Journal
 
IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...
IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...
IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...IRJET Journal
 
Raspberry Pi based voice-operated personal assistant (Neobot)
Raspberry Pi based voice-operated personal assistant (Neobot)Raspberry Pi based voice-operated personal assistant (Neobot)
Raspberry Pi based voice-operated personal assistant (Neobot)CloudTechnologies
 
PC-based mobile robot navigation sytem
PC-based mobile robot navigation sytemPC-based mobile robot navigation sytem
PC-based mobile robot navigation sytemANKIT SURATI
 
MOBILE REMOTE SURVEILLANCE TOWER
MOBILE REMOTE SURVEILLANCE TOWERMOBILE REMOTE SURVEILLANCE TOWER
MOBILE REMOTE SURVEILLANCE TOWERIRJET Journal
 
IRJET - Bus Indication for Blind People using RFID & Raspberry Pi
IRJET - Bus Indication for Blind People using RFID & Raspberry PiIRJET - Bus Indication for Blind People using RFID & Raspberry Pi
IRJET - Bus Indication for Blind People using RFID & Raspberry PiIRJET Journal
 
IRJET- Pick and Place Robot for Color based Sorting
IRJET-  	  Pick and Place Robot for Color based SortingIRJET-  	  Pick and Place Robot for Color based Sorting
IRJET- Pick and Place Robot for Color based SortingIRJET Journal
 
Ijsrdv1 i4049
Ijsrdv1 i4049Ijsrdv1 i4049
Ijsrdv1 i4049ijsrd.com
 
Ijaems apr-2016-17 Raspberry PI Based Artificial Vision Assisting System for ...
Ijaems apr-2016-17 Raspberry PI Based Artificial Vision Assisting System for ...Ijaems apr-2016-17 Raspberry PI Based Artificial Vision Assisting System for ...
Ijaems apr-2016-17 Raspberry PI Based Artificial Vision Assisting System for ...INFOGAIN PUBLICATION
 
Obstacle detection using laser
Obstacle detection using laserObstacle detection using laser
Obstacle detection using laserRohith R
 
Omni Directional Robot
Omni Directional RobotOmni Directional Robot
Omni Directional Robotprashanth15
 
Presentation IOT Robot
Presentation IOT RobotPresentation IOT Robot
Presentation IOT RobotVatsal N Shah
 
SISR - Smart Indoor Surveillance Robot using IoT for day to day usage PPT.pptx
SISR - Smart Indoor Surveillance Robot using IoT for day to day usage PPT.pptxSISR - Smart Indoor Surveillance Robot using IoT for day to day usage PPT.pptx
SISR - Smart Indoor Surveillance Robot using IoT for day to day usage PPT.pptxSanjaySTippannavar1
 
IRJET - Gesture Controlled Home Automation using CNN
IRJET -  	  Gesture Controlled Home Automation using CNNIRJET -  	  Gesture Controlled Home Automation using CNN
IRJET - Gesture Controlled Home Automation using CNNIRJET Journal
 
Object Sorting by using IR Sensor and Raspberry Pi
Object Sorting by using IR Sensor and Raspberry PiObject Sorting by using IR Sensor and Raspberry Pi
Object Sorting by using IR Sensor and Raspberry Piijtsrd
 
saranyanec524.pptx
saranyanec524.pptxsaranyanec524.pptx
saranyanec524.pptxSunesh N.V
 

Similar to Colour tracking robot.pdf (20)

IRJET-Automatic Self-Parking Chair using Nissan Technology
IRJET-Automatic Self-Parking Chair using Nissan TechnologyIRJET-Automatic Self-Parking Chair using Nissan Technology
IRJET-Automatic Self-Parking Chair using Nissan Technology
 
IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...
IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...
IoT-based Autonomously Driven Vehicle by using Machine Learning & Image Proce...
 
Raspberry Pi based voice-operated personal assistant (Neobot)
Raspberry Pi based voice-operated personal assistant (Neobot)Raspberry Pi based voice-operated personal assistant (Neobot)
Raspberry Pi based voice-operated personal assistant (Neobot)
 
IRJET-V8I686.pdf
IRJET-V8I686.pdfIRJET-V8I686.pdf
IRJET-V8I686.pdf
 
PC-based mobile robot navigation sytem
PC-based mobile robot navigation sytemPC-based mobile robot navigation sytem
PC-based mobile robot navigation sytem
 
MOBILE REMOTE SURVEILLANCE TOWER
MOBILE REMOTE SURVEILLANCE TOWERMOBILE REMOTE SURVEILLANCE TOWER
MOBILE REMOTE SURVEILLANCE TOWER
 
IRJET - Bus Indication for Blind People using RFID & Raspberry Pi
IRJET - Bus Indication for Blind People using RFID & Raspberry PiIRJET - Bus Indication for Blind People using RFID & Raspberry Pi
IRJET - Bus Indication for Blind People using RFID & Raspberry Pi
 
IRJET- Pick and Place Robot for Color based Sorting
IRJET-  	  Pick and Place Robot for Color based SortingIRJET-  	  Pick and Place Robot for Color based Sorting
IRJET- Pick and Place Robot for Color based Sorting
 
Ijsrdv1 i4049
Ijsrdv1 i4049Ijsrdv1 i4049
Ijsrdv1 i4049
 
Ijaems apr-2016-17 Raspberry PI Based Artificial Vision Assisting System for ...
Ijaems apr-2016-17 Raspberry PI Based Artificial Vision Assisting System for ...Ijaems apr-2016-17 Raspberry PI Based Artificial Vision Assisting System for ...
Ijaems apr-2016-17 Raspberry PI Based Artificial Vision Assisting System for ...
 
Obstacle detection using laser
Obstacle detection using laserObstacle detection using laser
Obstacle detection using laser
 
SASTRA
SASTRASASTRA
SASTRA
 
Omni Directional Robot
Omni Directional RobotOmni Directional Robot
Omni Directional Robot
 
IMAGE PROCESSING BASED INTRUDER DETECTION USING RASPBERRY PI
IMAGE PROCESSING BASED INTRUDER DETECTION USING RASPBERRY PIIMAGE PROCESSING BASED INTRUDER DETECTION USING RASPBERRY PI
IMAGE PROCESSING BASED INTRUDER DETECTION USING RASPBERRY PI
 
Presentation IOT Robot
Presentation IOT RobotPresentation IOT Robot
Presentation IOT Robot
 
SISR - Smart Indoor Surveillance Robot using IoT for day to day usage PPT.pptx
SISR - Smart Indoor Surveillance Robot using IoT for day to day usage PPT.pptxSISR - Smart Indoor Surveillance Robot using IoT for day to day usage PPT.pptx
SISR - Smart Indoor Surveillance Robot using IoT for day to day usage PPT.pptx
 
201001162_report
201001162_report201001162_report
201001162_report
 
IRJET - Gesture Controlled Home Automation using CNN
IRJET -  	  Gesture Controlled Home Automation using CNNIRJET -  	  Gesture Controlled Home Automation using CNN
IRJET - Gesture Controlled Home Automation using CNN
 
Object Sorting by using IR Sensor and Raspberry Pi
Object Sorting by using IR Sensor and Raspberry PiObject Sorting by using IR Sensor and Raspberry Pi
Object Sorting by using IR Sensor and Raspberry Pi
 
saranyanec524.pptx
saranyanec524.pptxsaranyanec524.pptx
saranyanec524.pptx
 

Recently uploaded

CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 

Recently uploaded (20)

CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 

Colour tracking robot.pdf

  • 1. Realization of an object color tracker based on the raspberry pi board University Kasdi Merbah Ouargla Presented by : ❖ Kouinini Ilyes ❖ Mazouzi Abdessatar Under the supervision of : Dr. BENACER Imad Faculty of New Technologies of Information and Communication
  • 2. CONTENTS 1. Introduction. 2. Introduction to digital image processing. 3. Hardware and software description. 4. Object tracking using color detection with raspberry pi board. 5. Conclusion.
  • 4. 1. Introduction Autonomous Mobile Robots (AMRs) has achieved the greatest success over the recent years, and it takes a big place in the world of research and development nowadays, on the other hand, earlier robots regardless of their success they have a big disadvantage which was: the lack of mobility and autonomous navigation, furthermore, AMRs can move around their environment, and designed for a structured environment to rely on a guided path to navigate around the desired workspace. Mobile robots were designed for point-to-point tasks where the path doesn’t change over the time, Nowadays researchers are focusing on the development of a mobile robot that can navigate in their workspace autonomously. 1
  • 5. 1. Introduction Autonomous mobile systems Mobile systems can be defined as systems that are not attached to the environment and can move in a certain space, and they can be classified into three principal groups according to the environment that they move across: ❑ Ground mobile systems ❑ Aerial mobile systems ❑ Water and underwater mobile systems The main mechanical and electronic parts of an autonomous mobile robot are the following: ▪ Mechanical parts ▪ Actuators ▪ Sensors ▪ Computers ▪ Power unit ▪ Electronics 2
  • 6. 1. Introduction Mobile robots applications ➢ medical services ➢ cleaning applications ➢ Applications in agriculture ➢ inspection and surveillance ➢ space missions ➢ cargo handler robots ➢ military robots Mobile robots sensors ➢ Position sensors ➢ Velocity sensors ➢ Distance sensors ➢ Robot vision Sensors are windows for a robot to the environment, they allow robots to understand and measure the geo metric and physical properties of objects in their work environment, there are some other important robotic sensors such as Gyroscope, GPS, force sensors … etc. 3
  • 7. The objective of this work is to design a prototype of an autonomous mobil e robot that capable of identifying and track objects by their colors using robot vi sion, which uses a camera to acquire visual information of the surrounded enviro nment, this information analyzed and processed based on image processing algor ithms to detect objects according to their colors, by applying color segmentation method using python programming language and OpenCV. This robot consists of several components (Raspberry Pi, Arduino board, IR proximity sensor, Camera) and each one plays an important role, this robot has a powered fixed four wheels’ chassis, as a processing unit we used the Raspberry P i 3 Model B+ with a camera module utilized as a vision of this robot, the speed an d direction of the robot wheels are controlled via an Arduino Nano board which r eceive orders from the Raspberry Pi via serial communication, in addition to the c amera, the robot equipped with a Sharp IR distance sensor to measure the distan ce between robot and objects continuously. 4
  • 9. In computer science, digital image processing is the use of a digital computer to process digital images through an algorithm. digital image processing technic used in two principal application areas: ▪ Extracting information and Improvements of pictorial information for human interpretation. ▪ Processing image data for storage, transmission, and representation for autonomous machine perception. What is digital image processing? 2. Digital image processing 5
  • 10. Image analysis tasks Figure 2.1: Four possible levels of image representation for image analysis in which objects have to be detected and classified. 6
  • 11. There are three types of digital image processing are distinguished: o Low-level Processing o Mid-level processing o High-level processing The use of colors in computer vision is the basis of modern digital image processing which make it much powerful technic used currently in several areas such as Medical use, Machines, Robots, se curity . etc. Colors is a powerful descriptor that makes the object identification much simpler and the data extraction from scenes more easier. In color imag es we distinguish a thousand of color shades co mpared to just about two dozen shades of gray. Digital image processing levels Color image processing 2. Digital image processing 7
  • 12. Application of digital image processing ❑ Image sharpening and enhancement ❑ Medical field ❑ Machine/Robot vision ❑ Video processing Constraints of digital image processing ❑ Lose the information in 3D to 2D ❑ Interpretation of image(s). ❑ Noises in images. ❑ A huge amount of data 2. Digital image processing 8
  • 14. 3. Hardware & software description A system is a Hardwar having software embedded on it, and perhaps additional parts either mechanic or electronic, the use of Hardware-software combination can easily achieve the purpose wanted with the best performance and less cost. This project is based on this Hardwar-Software combination, the Hard part is consists of the Raspberry Pi which is the brain of the project, a camera, Arduino board, DC motors and motor drives, and the software part consists of the operating system (OS), programming language and the libraries used for image processing. 9
  • 15. 3. Hardware & software description Hardware part The Raspberry Pi The Raspberry Pi is a versatile, small and cheap single-board computer. Its hardware features and the capability of using open source software have allowed different implementations in different areas . 10
  • 16. Raspberry Pi camera High definition camera module compatible with the Raspberry Pi model A and model B. Provides high sensitivity, low noise image capture in an ultra-small and lightweight design. The camera module connects to the Raspberry Pi board via the CSI connector designed specifically for interfacing to cameras. The CSI bus is capable of extremely high data rates, and it exclusively carries pixel data to the processor. Arduino board the Arduino board it’s open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It’s intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. In simple terms, the Arduino is a tiny computer system that can be programmed with your instructions to int eract with various forms of input and output. 3. Hardware & software description DC Gearbox Motor "TT Motor" DC motors are widely used to run the wheels of the autonomous mobile robot, in this project, a DC Gearbox Motor used to control the robot motion. 11
  • 17. The MX1508 Motor Drive The MX1508 board can drive two DC motors independently. It has Dual H-bridge motor driver can drive two DC motors in either direction or a 4-wire two-phase stepper motor. This board control The motor speed with a Pulse Width Modulated (PWM) signal to the IN connections. 3. Hardware & software description Sharp IR GP2Y0A41SK0F distance sensor The sharp IR is a distance measuring sensor unit, composed of an integrated combination of PSD (position sensitive detector), IR-LED (infrared emitting diode) and signal processing circuit. This device outputs the voltage corresponding to the detection distance. Camera Module Pan Tilt Mount This Pan-tilt mount is a suitable way to this project to customize a full range motion, it includes two servo motors to rotate roughly 250° horizontally and vertically roughl y 150°. 12
  • 18. Software part The Raspbian OS Raspbian is the name given to a customized variant of the popular Debian Linux distribution. Raspbian takes Debian as its base, or parent distribution, and adds custom tools and software to make using the Raspberry Pi as easy as possible. Python Programming language Python is a general-purpose, object-oriented, and open-source computer programming language. It is commonly used for both standalone programs, and scripting applications in a wide variety of domains, by hundreds of thousands of developers Open cv Initially developed by Intel, OpenCV (Open Source Computer Vision) is a free cross-platform libra ry for real-time image processing that has become a standard tool for all things related to Compute r Vision 3. Hardware & software description 13
  • 19. this project is about the autonomous robot, which can consist of several components such as(the Raspberry Pi, the Arduino board, wheels, Pi camera . . . Etc.). Each component has a very important role in assuring the Proper function of the project. Whose all the components need to be assembled and connected to provide the required functionality, some of these components are made only to execute commands given by other components while the other would communicate among each other. Raspberry pi setup & components assembly 3. Hardware & software description 14
  • 20. The Raspberry Pi setup Before the use of the raspberry pi board it needs some obligatory setups, to be ready to go: Install the Raspbian OS: ▪ Download Raspbian ▪ Writing Raspbian on SD card ▪ Connection of Raspberry Pi Once all connections are done, then boot the board up and it will ask the user to log in, the Raspbian default username and password: ▪ Username: pi ▪ Password: raspberry 3. Hardware & software description 15
  • 21. Raspberry Pi configuration The initial installation has finished, now the board needs some configurations as this project require, the Ra spberry Pi comes with several features to enable depending on the user utilization, such as the Pi camera an d the remote desktop .. etc. the Raspi-config is a command line used to access the configurations of the Raspberry board through the ter minal: ❑ change the Raspbian Hostname ❑ Enable Raspberry Pi features ▪ Enable SSH feature ▪ Enable the use of Pi camera. ▪ Enable the use of GPIO pins. ▪ Enable Serial communication. ❑ Set up the remote access ❑ Install OpenCV on the Raspbian OS 3. Hardware & software description 16
  • 22. Install the Pi camera module ➢ The Pi camera it’s like the Raspberry Pi itself is supplied as a bare circuit board. It has to connect to the CSI connectors. Programming the Pi Camera Module: There are several ways to capture pictures or stream live video through the camera module, in our project the Pi Camera has been programmed via utilization Python programming language. 3. Hardware & software description 17
  • 23. Interfacing Arduino with Raspberry Pi The functionality of this project requires that these the Pi & Arduino boards must communicate together, to do that the tw o boards are connected using USB Serial Communication. serial communication We can achieve Serial communication with aid of Python programming language which provide a preinstalled library for Serial communication, that enables to read and send data over Serial port. 3. Hardware & software description 18
  • 24. Control the wheels with Arduino the MX1508 DC Motor Driver has been used to control both the speed and the direction of the wheel s, it comes incorporates an H-bridge for both motors, therefor it can drive the motors in either direct ion and the speed of the motors is controlled with a Pulse Width Modulated (PWM) signal. 3. Hardware & software description 19
  • 25. Sharp IR with Arduino In this project, the Sharp IR proximity sensor is used to calculate the distances for each instance between our robot and the target object. 3. Hardware & software description 20
  • 26. Assembled robot 3. Hardware & software description 21
  • 27. we went through the necessary setups of the Raspberry Pi board, we took the basic installation, starting with the installation of Raspbian OS, which is an important step for the Pi to be used, furthermore, we used the rapi-config to configure the board, and enabled some useful features such as the remote access which allows us to remotely access the robot. Also, we showed programming and assembly of different components which our robot consist of. 3. Hardware & software description 22
  • 28. Object tracking using color detection with raspberry pi board
  • 29. 4. Object tracking using color detection with raspberry pi board Object detection has been recently a very dominant field in computer vision sciences , it consists of finding the Object location in a scene using image features. Digital images have properties known as image feature which plays the main rule in the development of advanced computer vision algorithms, it makes the camera an extremely powerful sensor used to detect, identify and track objects in the camera view. Applications based object recognition has a variety of uses, some of which are: Self-driving car, Autonomous mobile robots, security and surveillance etc. Mobile robots can navigate in their environments autonomously, which needs a path planning algorithm to determine its position and direction. This project uses a vision based-navigation to extract features required for the localization process. 23
  • 30. In this section, we will discuss color object detection in some important color spaces used in computer vision and compare between the results of color detection obtained in each color space. The algorithm of color image segmentation based in different color space is explained as follows: Comparative of color detection in different colors paces Figure 4.1: Flow Chart for Object Tracking by Color Detection 4. Object tracking using color detection with raspberry pi board 24
  • 31. Color space conversion The Transformation of an image with RGB color space to an HSV image using equations: The transformation between YCrCb and RGB image using the equation: 4. Object tracking using color detection with raspberry pi board 25
  • 32. Color detection in The RGB color space RGB color space is an additive color space where colors are obtained by a combination of Red, Green, and Blue Values . The Figure below shows the different Channels Blue ( B ), Green ( G ), Red ( R ) of the RGB color space shown separately. For two image with different lightness. Figure 4.2: Different Channels R, G, and B of the RGB colors pace shown separately. 4. Object tracking using color detection with raspberry pi board 26
  • 33. In the RGB color space, the information of specific color is separated into three channels and the same channels encodes the brightness information which makes color-based segmentation difficult in this color spaces, and It’s clear that the change in illumination in both images, affects all the three RGB components. Figure 4.3: Histogram of R, G, B for the same image with different lightness. 27
  • 34. Color detection in The YCrCb color space The YCrCb color space is different from the RGB color space, in the YCrCb color spaces the Y channel encodes the luminance which is independent of the color information. Which mean that the luminance and the chrominance are separated into different channels. Figure 4.4: YCrCb color space components for two image with different lightness conditions. Figure 4.5: Histogram Y, Cr,Cb components for two images with different illumination. 4. Object tracking using color detection with raspberry pi board 28
  • 35. Color detection in the HSV Color space The HSV Color space has the following component H: Hue (the Color), S: Saturation (shades of the color), V: Value (Intensity). HSV color space uses one channel to describe the color information (H), which make it flexible to specify a color. Figure 4.6: Hue ( H ), Saturation ( S ) and Value ( V ) components in HSV color space. 4. Object tracking using color detection with raspberry pi board 29
  • 36. Color histogram can be used for color segmentation for regions with a particular color, HSV colors histogram for each component for the red, blue, green and yellow colors shown below, And we observe that the Hue histogram is obviously different form color to another which refer that the H component represents the color itself, which make color identification is quite efficient in HSV color space. Figure 4.7: Histograms of the HSV colors pace components for differe nt colors. 30
  • 37. Color detection in the RGB, YcrCb, HSV color spaces uses the boundaries (Lower Values and Upper Values) for the specific color to be detected. Color boundaries R G B THmin THmax THmin THmax THmin THmax Red 17 64 14 41 41 199 Blue 57 220 10 88 5 32 Green 0 27 0 100 0 41 Yellow 0 46 95 179 97 195 Results of color detection RGB Color Space Table 4.1: RGB min and max threshold values of red, blue, green , yellow colors. Figure 4.8: RGB Color detection results 4. Object tracking using color detection with raspberry pi board 31
  • 38. Color boundaries Y Cr Cb THmin THmax THmin THmax THmin THmax Red 10 75 125 191 5 117 Blue 8 148 26 113 139 168 Green 15 78 98 113 35 135 Yellow 11 255 10 255 16 80 Color boundaries H S V THmin THmax THmin THmax THmin THmax Red 0 41 78 255 89 160 Blue 89 130 89 255 8 255 Green 45 79 119 255 7 255 Yellow 13 45 60 255 9 255 YCrCb Color Space HSV Color Space Figure 4.9: YCrCb Color detection results Figure 4.10: YCrCb Color detection results 32 Table 4.2: Y, Cr, Cb min and max threshold values of r ed, blue, green, yellow colors. Table 4.3: H, S, V min and max threshold values of re d, blue, green, yellow colors
  • 39. Final result of color detection Figure 4.11: Find contours and draw a red rectangle around the object s. 4. Object tracking using color detection with raspberry pi board 33
  • 40. Path planning for color abject following The robot localization and path planning is the final step in this project, which consist of color object follower and which mean that the mobile robot follows a specific object and set its direction according to that object location, the algorithm of object following we used is as follows: Figure 4.11: color abject following algorithm. 34
  • 41. As seen in this section image color segmentation have been described , however the results that obtained in color detection using different color spaces doesn’t the same, and due to the change of illumination in the environment the results can be affected. The robot is designed to track color objects by path planning algorithm to keep the object in sight and driving forward and backward to maintain a constant distance between the robot and the object. This idea can be used for the surveillance, traffic monitoring, human-computer interaction, intelligent transportation, and robotics and also in the field of medical. 4. Object tracking using color detection with raspberry pi board 35
  • 43. 5. Conclusion In this project we designed a prototype of a color object tracker via Raspberry Pi board, using image processing technique to identify and track objects by their colors, we showed a satisfactory result, otherwise, we faced some constraints, the issue we observed that achieving real-time processing which was a big challenge due to some reasons, the low-quality camera used in the project, and the change in illumination which affects the result of colors identification. In a result of that the processing time depends on the performance of the camera and the raspberry pi. Despite the complexity of the image processing technique, we showed that the embedded computing platforms such as Raspberry Pi 3 Model B+, are powerful enough to carry out real-time computer vision processing. As can be seen, there are many areas it can push this project further, for more advanced applications, this project can be equipped with artificial intelligence algorithms and developed as an autonomous vehicle capable of identifying objects, traffic signs and traffic lights. 36
  • 44. Thank you for your attention !