SlideShare a Scribd company logo
2
Most read
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 05 | May 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 1399
Real-Time Color Detection Using Python and OpenCV
Mayank Kaushal1, Barjinder Singh2
1Computer Science and Engineering, Lovely Professional University, Phagwara, Jalandhar,Punjab, India
2Department of Computer Science and Engineering, Lovely Professional University, Phagwara, Jalandhar, Punjab,
India
-------------------------------------------------------------------------***--------------------------------------------------------------------------
ABSTRACT:
The main purpose of this application is the methodology
identifying the shade of colours in real time with an exact
predication with their names. A study says a normal
human can able to clearly identify but for computer it is
tough task. Many project and research papers are written
on this task. But we use different techniques and method
for this project. NumPy and OpenCV libraries used in
python language. OpenCV provides a real-time optimized
Computer Vision library, tools, and hardware. Computer
Vision is the base or mostly used for Artificial
Intelligence. Computer-Vision is playing a major role in
self-driving cars, robotics as well as in photo correction
apps.
Keyword: OpenCV, NumPy, HSV values.
INTRODUCTION:
Colour Detection it is a process of detecting the name of
colour form image and video. It is very simple task for
human to detect the colour from any sources but for
computer cannot detect the colour easily. The eye and
brain of human work together to convert light to colour.
The signal is transmitted to the brain via light receptors in
our eyes. The colour is then recognized by our brain. we
have mapped certain lights with their color names. We will
be using the somewhat same strategy to detect color
names. In this project we detect three different colours
Red, Green, and Blue with the help of fundamentals
computer vision. After successful compilation when we
execute the code then the capture the video through the
webcam and read the video stream in an image frame. And
we obtain the name of the pixel with the three different
colours Red, Green and Blue and it is helpful in recognizing
colour and in robotic and it is helpful in driver less car and
this system is useful in self-driving car, to detect the
traffic signals.
EXISTING SYSTEM:
In the existing system they have gone through with opencv
but there is no exact colour representation of colour with
accuracy. In this project we use only three colours BGR
(blue, green, red) and image capture through webcam and
we use hsv that can be identify the brightness or intensity
of the colour. When we show a picture in front of the
camera it automatically shows the name of the colour and
it is detect multiple colours at the same time.
Methodology:
1. The first step is to capture the video through the
webcam with “cv2.VideoCapture()”.
2. It is reading the video from the webcam in image
frames with “cv2.imread()”
3. Convert the image frame in BGR (BLUE, GREEN,
RED) to HSV(hue-saturation-value It stores color
information in a cylindrical representation of
RGB color points. Hue value varies from 0-179
Saturation value varies from 0-255 and Value
value varies from 0-255. It is mostly used for
color segmentation purpose.)
“hsv=cv2.cvtColor(image, cv2.Color_BGR2HSV)” .
4. Set the minimum and maximum range of HSV for
red green and blue and define the mask for
highlight a specific object from the image .
”mask=cv2.inRange(hsv, min, max)”.
5. We use kernel for blur an image and Dilation for
remove noises from the image. For each colour.
“Cv2.dilate()”
6. We use bitwise_and operator between the image
frame and mask is performed to specifically detect
the particular colour and leave other colour.
“Cv2.bitwise_and()”.
7. Create contour for the individual colours to
display the detected coloured region distinguish.
8. Output is detected of the colours name in the real
time.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 05 | May 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 1400
System Architecture:
The above architecture diagrams show the capability of
the project. It consists of well define sequence diagram
this is abstracted form the source code. It leverages the
rich capabilities of the technology such as OpenCV library
in Python.
The above architecture makes the process more efficient
based on principles and properties related to each other.
As we know that Red, Green and Blue are the primary
colours and every colours has brightness and intensity
that’s why we use HSV and their values for better
performance for each colour. The present colour detection
project captures the image from the webcam as an input
and looks for the three different colours red, green and
blue in the captured image.
FUTURE SCOPE:
Computer vision has still not attained a level wherein it
can be directly put into use to solve life problems as it is
still in its developments phase. Computer vision is a sub-
part on Machine Learning.
Some real - world Application based on colour detection:
In Self driving car this system is useful in detecting traffic
light and vehicle backlights and makes decision where he
should stop the car and where he should start and
continue driving.
Industrial Robo this application use in industry to pick
and place different coloured object by the robotic arm.
EXPERIMENTAL RESULTS:
CONCLUSION:
In this paper we work on only three colour Red, Green, and
Blue and we also detect multiple colour in real time. In this
various steps are implemented using OpenCV platform. We
firstly convert the image frame in BGR to HSV(hue-
saturation-value) and give their maximum and minimum
values and we learnt about the colour intensity and
brightness and we learned about colours how we can
extract colour names from an image and how to convert
BGR to HSV and we described the range of HSV for each
colours. In this paper we define mask for highlight a
specific object from the image. We also learned how we
can detect the particular colour and leave others colours.
This is used in numerous image editing and drawing apps.
Output
colour
detection
Bitwise_and
operator b/w
image and
mask
Capture image
through
webcam
Create
contour to
track each
colour
Convert
Image in
BGR to HSV
Define the
range create
mask

More Related Content

What's hot (20)

PPTX
Travel and Tour Advisory
Uday Raj Karki
 
DOC
Edi layer
Sheetal Verma
 
PDF
Automated attendance system using Face recognition
IRJET Journal
 
PPTX
Virtual Mouse using hand gesture recognition
MuktiKalsekar
 
PPTX
virtual mouse using hand gesture.pptx
sivaeswarreddy
 
PDF
Current Trends in Internet of Things (IOT)
Dr. Mazlan Abbas
 
PPTX
IOT PPT.pptx
KaranSharma686387
 
DOC
Online blood bank management system
skk4646
 
PDF
Conference management system
Piyush Virmani
 
PPT
Currency converter
Syeda Khadizatul maria
 
PPTX
Image compression models
priyadharshini murugan
 
PPTX
Hand gesture recognition
Bhawana Singh
 
PPT
Weather Display app
Taresh Khandekar
 
PPT
Digital Signature
Adarsh Kumar Yadav
 
PPTX
Blood Bank(Web Application)
maheshkarthikd
 
PPTX
Color fundamentals and color models - Digital Image Processing
Amna
 
PDF
Intermediate: 5G and Extended Reality (XR)
3G4G
 
PPTX
color detection using open cv
Anil Pokhrel
 
PDF
The IoT Advantage
Barcoding, Inc.
 
PPTX
Cursor movement by hand gesture.pptx
RastogiAman
 
Travel and Tour Advisory
Uday Raj Karki
 
Edi layer
Sheetal Verma
 
Automated attendance system using Face recognition
IRJET Journal
 
Virtual Mouse using hand gesture recognition
MuktiKalsekar
 
virtual mouse using hand gesture.pptx
sivaeswarreddy
 
Current Trends in Internet of Things (IOT)
Dr. Mazlan Abbas
 
IOT PPT.pptx
KaranSharma686387
 
Online blood bank management system
skk4646
 
Conference management system
Piyush Virmani
 
Currency converter
Syeda Khadizatul maria
 
Image compression models
priyadharshini murugan
 
Hand gesture recognition
Bhawana Singh
 
Weather Display app
Taresh Khandekar
 
Digital Signature
Adarsh Kumar Yadav
 
Blood Bank(Web Application)
maheshkarthikd
 
Color fundamentals and color models - Digital Image Processing
Amna
 
Intermediate: 5G and Extended Reality (XR)
3G4G
 
color detection using open cv
Anil Pokhrel
 
The IoT Advantage
Barcoding, Inc.
 
Cursor movement by hand gesture.pptx
RastogiAman
 

Similar to Real-Time Color Detection Using Python and OpenCV (20)

PDF
Image Processing In Open CV. Image Processing In Open CV. Image Processing In...
Antoinette Williams
 
PDF
Implementation of Computer Vision Applications using OpenCV in C++
IRJET Journal
 
DOCX
newcgreppainnewcgreppainnewcgreppainnewcgreppainnewcgreppain
LekhakXerox
 
PPTX
Android based application for graph analysis final report
Pallab Sarkar
 
PDF
Corrosion Detection Using A.I : A Comparison of Standard Computer Vision Tech...
csandit
 
PDF
CORROSION DETECTION USING A.I. : A COMPARISON OF STANDARD COMPUTER VISION TEC...
cscpconf
 
PDF
IRJET- An Optimized Approach for Deaf and Dumb People using Air Writing
IRJET Journal
 
PDF
Deblurring, Localization and Geometry Correction of 2D QR Bar Codes Using Ric...
IJERA Editor
 
PDF
IRJET- Universal Currency Identifier
IRJET Journal
 
DOCX
MAJOR PROJECT
sandeep amaravadi
 
PDF
IRJET- Cloth Matching and Color Selection using Intelligent Robotic System
IRJET Journal
 
PDF
IRJET- Oranges Sorting using Arduino Microcontroller
IRJET Journal
 
PDF
Automatic License Plate Detection in Foggy Condition using Enhanced OTSU Tech...
IRJET Journal
 
PDF
IRJET- Image based Approach for Indian Fake Note Detection by Dark Channe...
IRJET Journal
 
PDF
Hardware realization of Stereo camera and associated embedded system
IJERA Editor
 
PDF
COMPARATIVE STUDY ON AUTOMATED NUMBER PLATE EXTRACTION USING OPEN CV AND MATLAB
IRJET Journal
 
PDF
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
IRJET Journal
 
PDF
Complete End-to-End Low Cost Solution to a 3D Scanning System with Integrate...
AIRCC Publishing Corporation
 
PDF
A Wireless Network Infrastructure Architecture for Rural Communities
AIRCC Publishing Corporation
 
PDF
Complete End-to-End Low Cost Solution to a 3D Scanning System with Integrated...
AIRCC Publishing Corporation
 
Image Processing In Open CV. Image Processing In Open CV. Image Processing In...
Antoinette Williams
 
Implementation of Computer Vision Applications using OpenCV in C++
IRJET Journal
 
newcgreppainnewcgreppainnewcgreppainnewcgreppainnewcgreppain
LekhakXerox
 
Android based application for graph analysis final report
Pallab Sarkar
 
Corrosion Detection Using A.I : A Comparison of Standard Computer Vision Tech...
csandit
 
CORROSION DETECTION USING A.I. : A COMPARISON OF STANDARD COMPUTER VISION TEC...
cscpconf
 
IRJET- An Optimized Approach for Deaf and Dumb People using Air Writing
IRJET Journal
 
Deblurring, Localization and Geometry Correction of 2D QR Bar Codes Using Ric...
IJERA Editor
 
IRJET- Universal Currency Identifier
IRJET Journal
 
MAJOR PROJECT
sandeep amaravadi
 
IRJET- Cloth Matching and Color Selection using Intelligent Robotic System
IRJET Journal
 
IRJET- Oranges Sorting using Arduino Microcontroller
IRJET Journal
 
Automatic License Plate Detection in Foggy Condition using Enhanced OTSU Tech...
IRJET Journal
 
IRJET- Image based Approach for Indian Fake Note Detection by Dark Channe...
IRJET Journal
 
Hardware realization of Stereo camera and associated embedded system
IJERA Editor
 
COMPARATIVE STUDY ON AUTOMATED NUMBER PLATE EXTRACTION USING OPEN CV AND MATLAB
IRJET Journal
 
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
IRJET Journal
 
Complete End-to-End Low Cost Solution to a 3D Scanning System with Integrate...
AIRCC Publishing Corporation
 
A Wireless Network Infrastructure Architecture for Rural Communities
AIRCC Publishing Corporation
 
Complete End-to-End Low Cost Solution to a 3D Scanning System with Integrated...
AIRCC Publishing Corporation
 
Ad

More from IRJET Journal (20)

PDF
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
IRJET Journal
 
PDF
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
IRJET Journal
 
PDF
Kiona – A Smart Society Automation Project
IRJET Journal
 
PDF
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
IRJET Journal
 
PDF
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
IRJET Journal
 
PDF
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
IRJET Journal
 
PDF
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
IRJET Journal
 
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
IRJET Journal
 
PDF
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
IRJET Journal
 
PDF
BRAIN TUMOUR DETECTION AND CLASSIFICATION
IRJET Journal
 
PDF
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
IRJET Journal
 
PDF
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
IRJET Journal
 
PDF
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
IRJET Journal
 
PDF
Breast Cancer Detection using Computer Vision
IRJET Journal
 
PDF
Auto-Charging E-Vehicle with its battery Management.
IRJET Journal
 
PDF
Analysis of high energy charge particle in the Heliosphere
IRJET Journal
 
PDF
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
IRJET Journal
 
PDF
Auto-Charging E-Vehicle with its battery Management.
IRJET Journal
 
PDF
Analysis of high energy charge particle in the Heliosphere
IRJET Journal
 
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
IRJET Journal
 
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
IRJET Journal
 
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
IRJET Journal
 
Kiona – A Smart Society Automation Project
IRJET Journal
 
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
IRJET Journal
 
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
IRJET Journal
 
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
IRJET Journal
 
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
IRJET Journal
 
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
IRJET Journal
 
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
IRJET Journal
 
BRAIN TUMOUR DETECTION AND CLASSIFICATION
IRJET Journal
 
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
IRJET Journal
 
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
IRJET Journal
 
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
IRJET Journal
 
Breast Cancer Detection using Computer Vision
IRJET Journal
 
Auto-Charging E-Vehicle with its battery Management.
IRJET Journal
 
Analysis of high energy charge particle in the Heliosphere
IRJET Journal
 
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
IRJET Journal
 
Auto-Charging E-Vehicle with its battery Management.
IRJET Journal
 
Analysis of high energy charge particle in the Heliosphere
IRJET Journal
 
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
IRJET Journal
 
Ad

Recently uploaded (20)

PDF
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
PPTX
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PPTX
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
PDF
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
DOC
MRRS Strength and Durability of Concrete
CivilMythili
 
PPTX
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
DOCX
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
PPTX
Types of Bearing_Specifications_PPT.pptx
PranjulAgrahariAkash
 
PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PPTX
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
PPTX
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
PDF
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
PPTX
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 
PPTX
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
PPT
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
PPTX
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
PPTX
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
MRRS Strength and Durability of Concrete
CivilMythili
 
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
Types of Bearing_Specifications_PPT.pptx
PranjulAgrahariAkash
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 

Real-Time Color Detection Using Python and OpenCV

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 05 | May 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 1399 Real-Time Color Detection Using Python and OpenCV Mayank Kaushal1, Barjinder Singh2 1Computer Science and Engineering, Lovely Professional University, Phagwara, Jalandhar,Punjab, India 2Department of Computer Science and Engineering, Lovely Professional University, Phagwara, Jalandhar, Punjab, India -------------------------------------------------------------------------***-------------------------------------------------------------------------- ABSTRACT: The main purpose of this application is the methodology identifying the shade of colours in real time with an exact predication with their names. A study says a normal human can able to clearly identify but for computer it is tough task. Many project and research papers are written on this task. But we use different techniques and method for this project. NumPy and OpenCV libraries used in python language. OpenCV provides a real-time optimized Computer Vision library, tools, and hardware. Computer Vision is the base or mostly used for Artificial Intelligence. Computer-Vision is playing a major role in self-driving cars, robotics as well as in photo correction apps. Keyword: OpenCV, NumPy, HSV values. INTRODUCTION: Colour Detection it is a process of detecting the name of colour form image and video. It is very simple task for human to detect the colour from any sources but for computer cannot detect the colour easily. The eye and brain of human work together to convert light to colour. The signal is transmitted to the brain via light receptors in our eyes. The colour is then recognized by our brain. we have mapped certain lights with their color names. We will be using the somewhat same strategy to detect color names. In this project we detect three different colours Red, Green, and Blue with the help of fundamentals computer vision. After successful compilation when we execute the code then the capture the video through the webcam and read the video stream in an image frame. And we obtain the name of the pixel with the three different colours Red, Green and Blue and it is helpful in recognizing colour and in robotic and it is helpful in driver less car and this system is useful in self-driving car, to detect the traffic signals. EXISTING SYSTEM: In the existing system they have gone through with opencv but there is no exact colour representation of colour with accuracy. In this project we use only three colours BGR (blue, green, red) and image capture through webcam and we use hsv that can be identify the brightness or intensity of the colour. When we show a picture in front of the camera it automatically shows the name of the colour and it is detect multiple colours at the same time. Methodology: 1. The first step is to capture the video through the webcam with “cv2.VideoCapture()”. 2. It is reading the video from the webcam in image frames with “cv2.imread()” 3. Convert the image frame in BGR (BLUE, GREEN, RED) to HSV(hue-saturation-value It stores color information in a cylindrical representation of RGB color points. Hue value varies from 0-179 Saturation value varies from 0-255 and Value value varies from 0-255. It is mostly used for color segmentation purpose.) “hsv=cv2.cvtColor(image, cv2.Color_BGR2HSV)” . 4. Set the minimum and maximum range of HSV for red green and blue and define the mask for highlight a specific object from the image . ”mask=cv2.inRange(hsv, min, max)”. 5. We use kernel for blur an image and Dilation for remove noises from the image. For each colour. “Cv2.dilate()” 6. We use bitwise_and operator between the image frame and mask is performed to specifically detect the particular colour and leave other colour. “Cv2.bitwise_and()”. 7. Create contour for the individual colours to display the detected coloured region distinguish. 8. Output is detected of the colours name in the real time.
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 05 | May 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 1400 System Architecture: The above architecture diagrams show the capability of the project. It consists of well define sequence diagram this is abstracted form the source code. It leverages the rich capabilities of the technology such as OpenCV library in Python. The above architecture makes the process more efficient based on principles and properties related to each other. As we know that Red, Green and Blue are the primary colours and every colours has brightness and intensity that’s why we use HSV and their values for better performance for each colour. The present colour detection project captures the image from the webcam as an input and looks for the three different colours red, green and blue in the captured image. FUTURE SCOPE: Computer vision has still not attained a level wherein it can be directly put into use to solve life problems as it is still in its developments phase. Computer vision is a sub- part on Machine Learning. Some real - world Application based on colour detection: In Self driving car this system is useful in detecting traffic light and vehicle backlights and makes decision where he should stop the car and where he should start and continue driving. Industrial Robo this application use in industry to pick and place different coloured object by the robotic arm. EXPERIMENTAL RESULTS: CONCLUSION: In this paper we work on only three colour Red, Green, and Blue and we also detect multiple colour in real time. In this various steps are implemented using OpenCV platform. We firstly convert the image frame in BGR to HSV(hue- saturation-value) and give their maximum and minimum values and we learnt about the colour intensity and brightness and we learned about colours how we can extract colour names from an image and how to convert BGR to HSV and we described the range of HSV for each colours. In this paper we define mask for highlight a specific object from the image. We also learned how we can detect the particular colour and leave others colours. This is used in numerous image editing and drawing apps. Output colour detection Bitwise_and operator b/w image and mask Capture image through webcam Create contour to track each colour Convert Image in BGR to HSV Define the range create mask