Color Detection using Python - OpenCV and Pandas

preview_player
Показать описание
In this video We will be working with colors and you will get to learn about many concepts throughout this project.
Color detection is necessary to recognize objects, it is also used as a tool in various image editing and drawing apps.
This project will be exciting and fun to build.

Color 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. We will be using the somewhat same strategy to detect color names.

We are going to build an application through which you can automatically get the name of the color by clicking on them. So for this, we will have a data file that contains the color name and its values. Then we will calculate the distance from each color and find the shortest one.

Рекомендации по теме
Комментарии
Автор

you are a genius ! I understood all video... please, can you do videos about opencv, detection with camera ....

josemiguelc.tasayco
Автор

bro i am getting this error


cv2.imshow('image', img)
cv2.error: OpenCV(4.5.1) error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'cv::imshow'



can u please help me out on seems like a minor error

hardikpandey
Автор

Sir what if we want the program to dertect a live camera\

zahak
Автор

thank you so much for providing this video and the resources!!! It helps me a lot!

SAYKINGSEE
Автор

Sir its showing no such file or directory:'color.csv what should we do sir

MeghaJU-uy
Автор

please make tutorial series on opencv, tenserflow keras mobilenet2

ryl_ALi
Автор

Traceback (most recent call last):
File "<string>", line 3, in <module>
ModuleNotFoundError: No module named 'cv2'
> why is it showing like this

guttireddydharanireddy
Автор

CSV = pd.read_csv('colors.csv', names=index, header=None)

This part of this code is giving error it's showing 'colors.csv', names=index, no such file

What should I do ??

bunny__gaming
Автор

It's almost done but at the end in last 2lines I get error. I.e name "getcolourname" is not defined how to fix it

basavarajshellikeri
Автор

hello sir csv file problems..plz help me

dangeswati
Автор

Sir, I need your help to develop a code for detecting color of a painted car body and then comparing it with pre defined RGB values, so that the system can say that this is that particular color (for eg after detecting it should say 'this is tellurian blue'. I'm not a computer science engineer, I'm mechanical. But I need this for my final year project

giriprasath
Автор

color name is not changing for me...what should i do?

kashvi
Автор

Sir why cant i import cv2 and pandas sir?please help

sruthisammeta
Автор

Do you have full report about this project?

khulood
Автор

what is the machine learning algorithm used in here

shaiksalma
Автор

Error [2] no such file or directory
How to solve this error

gyxyicn
Автор

Sir, can you pls tell us why we used d?

khushiagarwal
Автор

could you do a video with color detection from a video?

_vibhavchavan
Автор

Can't understand the direction your going with this

rverm
Автор

Facing an error sir.... How may I contact you???

bhaveshgondane