Realtime Color Detection (Webcam) [8] | OpenCV Python Tutorials for Beginners 2020

preview_player
Показать описание
In this video, we will learn how to detect any color in an image using the HSV space with the help of OpenCV Trackbars. We will also stack the images together to make the workflow smoother.

🚀🚀 My Urdu/Hindi AI YouTube Channel 🚀🚀

Code & Complete Course:

Premium Courses:
✔️ Computer Vision Game Development Course:
✔️ Computer Vision with Arduino Course:
✔️ Advanced Drone Programming Course:
✔️ Learn to Build Computer Vision Mobile Apps:
✔️ Jetson Nano Premium Course:

⚙️⚙️⚙️—-My Gear — ⚙️⚙️⚙️

Follow Me:

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

Quality work....Don't know why you have less views & likes???

hafizmuhammadabdullahbhatt
Автор

keep making videos!! u are a gr8 teacher

kumarshubham
Автор

Awesome tutorial, I was just wondering if you could share the settings for the main colors (such as blue, red, green, etc.)

woosal-kctr
Автор

thank you so much, you give me a way so good

nhutnguyen
Автор

Thank you brother, I love you so much.

werawutnunkesa
Автор

This tutorial is very good. I know you are able to extract color, but i wondering that we know that it is orange and yellow color but how computers understand by adjusting trackbars that it is orange and yellow?. All i want to detect color and print color name.

KidsEntertainment-nu
Автор

Fantastic tutorial. It was soo useful...

a.k_film_kingdom
Автор

Thanks, Murtaza, that 's cool! i like your tutorials...

jackyli
Автор

Cool, Why didn't you merge the trackbar....like min and max have separate tracks....one track should go from min to max???

hafizmuhammadabdullahbhatt
Автор

Hi! Could you explain the line: cv2.bitwise_and(img, img, mask=mask)? why are the inputs same and what is the role of the mask in the function

prabaldutta
Автор

are going to use any object detection algorithm like Faster RCNN ?

rebeenali
Автор

Really good video!
Could you please post a repository with the code?
I think the site from the description got migrated and i can't find any of the code there!
Would love to play with it myself!

krzysztofkrol
Автор

Can you explain why HSV was used there??

soumyajitchakraborty
Автор

how to do a function when the object is a certain color?

heisenolf
Автор

Why did we create the empty function?

davemystic
Автор

I dont know why but i keep having errors. So strange but i couldn't figure out. MAybe the tutorial is old. I did everything the same but i keep having error.
cv2.error: OpenCV(4.8.1) error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'cv::imshow'

evagok
Автор

Is anyone else getting this error like i tried searching alot but cant seem to find a way out of it :
cv2.error: OpenCV(4.7.0) error: (-215:Assertion failed) trackbar in function 'cv::getTrackbarPos'

MShandilya-zz
Автор

I'm receiving this error:
Traceback (most recent call last):
File "e:/Desktop Data/Programs/ColorDetector.py", line 38, in <module>
mask = cv2.inRange(imgHsv, lowerb, upper)
TypeError: Expected Ptr<cv::UMat> for argument 'lowerb'
What should I do?

hafizmuhammadabdullahbhatt
Автор

why is my mask coming all black right from the start

ishankrajpal