Your videos are incredible, I have been watching them all day, as I've been working on a CV project and this has been so helpful! You have done such a brilliant job
Hi, this video and series really helped me with a project that made my robot track and move towards a pink blob or shape. You are an amazing teacher because before this tutorial I did not know anything about OpenCV and with your help I made something super cool happen so thank you :)
@@CrypticFate5 U can implement a python program in Raspberry pi with a camera connected, it's a small computer that runs Linux where u can use its GPIO pins for various peripherals such as motors and sensors.
you probably dont give a damn but does anybody know of a way to get back into an Instagram account..? I was stupid lost the account password. I love any tips you can give me!
@Wyatt Easton thanks for your reply. I found the site thru google and Im in the hacking process atm. Looks like it's gonna take a while so I will reply here later with my results.
wow, this is actually the first time i've seen these really handy integrated highgui trackbar features. that's super handy for my image processing prototyping!
Simply amazing, I am newby about opencv, nevertheless, the exemples managed on these video series are clear as crystal water. In a whole day, i feel as confident I can begin to handle a simple test by my own. Thanks so much
Sir/Anyone How cv2.inrange function is working could you please explain a bit. And 9:23 line no: 19 , why taking same image frame two times. Thank you in advance
@@abdultaufiq2237 @Abdul Taufiq what is happening here is.. "mask=cv2.inrange(image,LB,UB)" It will give you a kind of filter. Means when you use "mask" on any image(line no 19 ) then any "pixel" of that image is whose value is in between "LB and UB" will be set to 255(white) otherwise it will be 0(black).
Teacher, first congratulations for the channel. I need your help, I have a simple image with a range of 5 placements where the quantity is identified, how do I identify the biggest color type red and say where the X,Y is, and if you can help me, and only for create an alert?
can you use the camera to detect the objects color values in HSV or BGR, then use these values along with the track-bar to fine tune the result? thank you great video...:)
What can be done so that it does not detect another blue color. I am building an autonomous vehicle and performing color tracking. What can be done to prevent the vehicle from heading towards another object of the same color?
Hello, Great video! Can this method be used to track a small black object (7.5cm radius) over a white background going at 75mph(33.5m/s) over a 10 meter frame length captured by the camera? Do you think it would be able to track such a fast small object?
My trackbar doesn't show the values automatically like in the video. Also the sequence these bars appear in the window is not the same as that in program. That is not the case in this video. The code is exactly the same. Is it because of version difference of opencv? I'm at version 4.2.0
Hi, Thanks for posting this OpenCV videos. Here I have a doubt why should we use hsv image to mask, why can't we do same on normal bgr (original) image. is there any disadvantage. I wrote same code to mask on original bgr image and working fine (I used same image example you have used). Do we get any problem when I use some other image which has more different colours. Please reply.
Hi, at first, thank you so much for the video. I have a little question. I've trying to track white objects. I had tried to use the follow parameters = l_w = ([240,240,240]) , u_w = ([255,255,255)]. I was not successful. Can you help me with the parameters? What are the best one to detect white objects? Thank you!
I want to detect a black color material placed on another black color material....Is this possible?? Do I have to do edge detection in this case??could you explain how??
How would you use this and then have the camera only look at a specific location and tag it when it sees the color you are looking for. I want to put a box on the screen and then whenever the color flys by it I want to have a counter tick off and have that go continuously.
Everything is working very fine and smoothly when I am working on Pycharm, but for some reason I had to switch over to Google Colab and when i ran cv2.namedWindow("Tracking") this is what i got "Your session crashed after requesting an X window. The X Window System is not available in Colab." Any suggestions would ,mean a lot ..Thanks
nice work. I try to detect blue circle from real-time webcam and mark circle border on that blue target, I want to develop this in javascript and opencv.js, but HoughCircles not working for videos but it is working on an image, please guide we with this any example.
is it possible to compare the brightness/whiteness of an object in an image(white object with green background) Thank you in advance 😀 I really really need your help.
Hi, our school lab is trying to develop a simple tool to help our vision impair students to recognize the color from testing results. Can you help us? Thx!
why are my hsv upper and lower points aree different ? in this video, for blue colour l_b = (110,50,50) and u_b =(130,255,255) while i tried, for blue colour l_b= (0,114,0) and u_b = (21,223,255) can anyone explain this?
whenever i try to capture video it is giving this error.What to do ??pls help me [ WARN:0] global C:\projects\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (681) CvCapture_MSMF::initStream Failed to set mediaType (stream 0, (640x480 @ 30) MFVideoFormat_RGB24(unsupported media type)
mask has range values for type of blue he is trying to detect, he and those values with the output from his video capture to only display the blue object
hi there.. every time i run the program and capture a video from the camera the video stops unless i keep pressing the space or the enter button to keep the video capturing ..anyone here knows the problem ?
I am getting this error (line 14, in hsv = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV) # convert color to HSV cv2.error: OpenCV(4.1.1) C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor' any help guys I tried fixing it
Your videos are incredible, I have been watching them all day, as I've been working on a CV project and this has been so helpful! You have done such a brilliant job
These videos have gotten me up and running quickly with OpenCV. Thank you!!
i felt like the first days that i enjoyed learning how to code. thank you💛
Hi, this video and series really helped me with a project that made my robot track and move towards a pink blob or shape. You are an amazing teacher because before this tutorial I did not know anything about OpenCV and with your help I made something super cool happen so thank you :)
how did you automate it?
@@CrypticFate5 U can implement a python program in Raspberry pi with a camera connected, it's a small computer that runs Linux where u can use its GPIO pins for various peripherals such as motors and sensors.
you probably dont give a damn but does anybody know of a way to get back into an Instagram account..?
I was stupid lost the account password. I love any tips you can give me!
@Keaton Hezekiah instablaster ;)
@Wyatt Easton thanks for your reply. I found the site thru google and Im in the hacking process atm.
Looks like it's gonna take a while so I will reply here later with my results.
l_b = np.array([102,165,183])
u_b = np.array([139,255,255])
Values that i found to the blue balls.
Thanks for the videos!
Could you please give the values for the red color?
wow, this is actually the first time i've seen these really handy integrated highgui trackbar features. that's super handy for my image processing prototyping!
A more visible lower and upper bound for blue color detection is :
l_b = np.array([95, 116, 50])
u_b = np.array([130, 255, 255])
This was my first time to work with OpenCV. Thank you so much.
This is great! I can really use this method for a project I’m working on right now. Thank you!
Simply amazing, I am newby about opencv, nevertheless, the exemples managed on these video series are clear as crystal water. In a whole day, i feel as confident I can begin to handle a simple test by my own. Thanks so much
your videos are amazing. Thanku for such content and effort.
i learn a lot from you , thanks for all the work that you done
Love the way you produce python.
produce.....seriously bro hahahaahh
Sir/Anyone
How cv2.inrange function is working could you please explain a bit.
And 9:23 line no: 19 , why taking same image frame two times.
Thank you in advance
if you got the answer then please tell me also
@@abdultaufiq2237 @Abdul Taufiq what is happening here is.. "mask=cv2.inrange(image,LB,UB)"
It will give you a kind of filter.
Means when you use "mask" on any image(line no 19 ) then any "pixel" of that image is whose value is in between "LB and UB" will be set to 255(white) otherwise it will be 0(black).
great work and nice explanation
well explained...and executed...
Bravo... many thanks for amazing tutorials ..
Very helpful play list and especially i loved this video :)
you r doing great. Thanks
very useful
Brilliant 🙏🏻
Yogesh is back!
I loved this video. Thank you very much!
Why do we need two same source as frame
so informative lesson, appreciated
Amazing sir!!!
ur awesome sir
thanks for this level tutorial sir but can you tell me how it is diffferen from the object detection with tensorflow api ?
great one. please we need a practical video on fruits detection. thank you
just add the picture of the fruit with the same code and match its color
Teacher, first congratulations for the channel. I need your help, I have a simple image with a range of 5 placements where the quantity is identified, how do I identify the biggest color type red and say where the X,Y is, and if you can help me, and only for create an alert?
informative video thank u. i had problem i want to extract lower and upper indices for an object, if there is any method to applicate ??
Great work
!
thank you
please when will be the next video
good
can you use the camera to detect the objects color values in HSV or BGR, then use these values along with the track-bar to fine tune the result? thank you great video...:)
What can be done so that it does not detect another blue color. I am building an autonomous vehicle and performing color tracking. What can be done to prevent the vehicle from heading towards another object of the same color?
Cant we use RGB directly here ?
I wrote the exact same code for the smarties example but its not dynamically changing the color, when i slide the track bar.
my code is also not working ..if u know the solution please let me know
@@surbhiagrawal3951 me too
use cv2.waitKey(1) : tracker will work :)
@@deepak223098 Thank you for this :D
that's a great tutorial. thanks a lot. but isn't the maximum value for hue should be 179?
thanks for the content!
Hello, Great video! Can this method be used to track a small black object (7.5cm radius) over a white background going at 75mph(33.5m/s) over a 10 meter frame length captured by the camera? Do you think it would be able to track such a fast small object?
hey bro, how do you know the blue color is 82 51 51 133, please explain to me. Thank you very much
My trackbar doesn't show the values automatically like in the video. Also the sequence these bars appear in the window is not the same as that in program. That is not the case in this video. The code is exactly the same. Is it because of version difference of opencv? I'm at version 4.2.0
I am also facing the same issue . If you have came up with the solution please help
Please change the ouput screen's name and set it to your current project name/slide name
Hi, Thanks for posting this OpenCV videos. Here I have a doubt why should we use hsv image to mask, why can't we do same on normal bgr (original) image. is there any disadvantage. I wrote same code to mask on original bgr image and working fine (I used same image example you have used). Do we get any problem when I use some other image which has more different colours. Please reply.
how can I add a counter with this so that I can count the number of objects I detection ?
Hi, at first, thank you so much for the video.
I have a little question. I've trying to track white objects.
I had tried to use the follow parameters = l_w = ([240,240,240]) , u_w = ([255,255,255)].
I was not successful. Can you help me with the parameters? What are the best one to detect white objects?
Thank you!
Thanks bro.,...
How do I do face detection using open cv with mp4 vids?
what program is he using
I want to detect a black color material placed on another black color material....Is this possible?? Do I have to do edge detection in this case??could you explain how??
How would you use this and then have the camera only look at a specific location and tag it when it sees the color you are looking for. I want to put a box on the screen and then whenever the color flys by it I want to have a counter tick off and have that go continuously.
Everything is working very fine and smoothly when I am working on Pycharm, but for some reason I had to switch over to Google Colab and when i ran cv2.namedWindow("Tracking") this is what i got "Your session crashed after requesting an X window. The X Window System is not available in Colab." Any suggestions would ,mean a lot ..Thanks
how do i find the upper and lower hsv values for a specific color??
*thanks*
Why did you read the image every iteration, Is this like, not good for your hard drive ?
Great tutorial
how can you draw rectangle around the object?
given in previous video
why to convert BGR to HSV color space ?
Output is being displayed, no error, but still tracebar unable to detect color. Can anyone please help me with this?
Wow, it was a excelent video. I'm going to follow your videos. I have a beginner question: how python IDE are you using?? Thank you.
He's using Pycharm
nice work. I try to detect blue circle from real-time webcam and mark circle border on that blue target, I want to develop this in javascript and opencv.js, but HoughCircles not working for videos but it is working on an image, please guide we with this any example.
is it possible to compare the brightness/whiteness of an object in an image(white object with green background) Thank you in advance 😀 I really really need your help.
Hi, our school lab is trying to develop a simple tool to help our vision impair students to recognize the color from testing results. Can you help us? Thx!
if you go to a line you want to copy just Ctrl + D and it duplicates it , pycharms its wicked for linux ;)
Stop programming and start looking for a wife Ted!
why are my hsv upper and lower points aree different ?
in this video, for blue colour l_b = (110,50,50) and u_b =(130,255,255)
while i tried, for blue colour l_b= (0,114,0) and u_b = (21,223,255)
can anyone explain this?
whenever i try to capture video it is giving this error.What to do ??pls help me
[ WARN:0] global C:\projects\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (681) CvCapture_MSMF::initStream Failed to set mediaType (stream 0, (640x480 @ 30) MFVideoFormat_RGB24(unsupported media type)
May I know what bitwise_and doing here with the mask?
mask has range values for type of blue he is trying to detect, he and those values with the output from his video capture to only display the blue object
what does line 5 mean?
hi there.. every time i run the program and capture a video from the camera the video stops unless i keep pressing the space or the enter button to keep the video capturing ..anyone here knows the problem ?
In waitkey put 0 between the brackets like this : (0)
i flunked my project because of wrong hsv. i couldnt get the hsv ranges right :(.
Why my tracker system does not change colour
Same problem bro
Please change the ouput screen's name and set it to your current project name/slide name
If your tracker does not work, check if you pass anything inside cv2.waitKey(). (It strange, i know.....)
LOL thx i had that problem
Thanks i had the same problem 🙌 but bro why it's not showing when I'm putting zero in brackets instead of 1
@@syedufaqhaider2796 hey , i alo earlier write (0) ..after i changed to 1 ..its working ..any explanation for this
well actually its funny because i have used this code from so before i watched this
I am getting this error (line 14, in
hsv = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV) # convert color to HSV
cv2.error: OpenCV(4.1.1) C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
any help guys I tried fixing it
Check is your image name is right
17:39 little sussy
i think hue is between 0-180 in opencv-python
but ists np when u set 0-255, just talk about details
This code does not work for me.
Me too .. if you have solutions please help
@@smritipradhan6921 type 1 in waitkey
How S & V value become greater than 100
Why we are using ' _, ' in the following line
" _, frame = cap.read() "
Because we don't need that value. If you need it, then just put a variable
return, frame = cap.read()
it's just a bool value, which we don't rlly care about.
wow that's perfect body
I'm getting a
TypeError: Expected Ptr for argument '%s'
--> res= cv.bitwise_and(frame,frame,mask=mask)
Pls resolve it
Only good thing is the English accent 😁😅🤡
Why my tracking window is not showing up