Gist of code I used in this video (Morphological Transformations OpenCV Python Tutorial ) - www.codebind.com/python/opencv-python-tutorial-beginners-morphological-transformations/
at least speak something else from the opencv documentation. you are just reading the entire opencv documentation. That's fine you are copying the stuffs from there, but atleast give some good explaination.
Hi, thanks for your tutorial. May I inquire for the source of the image "smarties.png"? I can't find the same image, so I drew a new one using MS paint, but it returns error whenever I want to show the image.
@@newb_embedded040 no, not white image(white image is 255), thats a shape near a pixel, that means when value in array is 1, so we processing it. sry for bad english
i have a question ,, _,mask=cv2.threshold(img,220,255,cv2.thresh_binary_inv). I know the functioning of threshold...but i would like to know how do we actually select the value 220 and the function binary inverse.... why not just thresh_binary
I'm using jupyter and this happens too, for me I have to write in the code: %matplotlib qt (to show the image in a new window), %matplotlib inline (to show the image in the interpreter)
I got a similar error, my error was this "TypeError: Image data of dtype object cannot be converted to float" but then I noticed that in his code he put '_, mask' and I had just put 'mask'. I am not too sure what '_,' does to the variable 'mask' but it seems like some kind of placeholder for the data type. I'm still new to python but I hope this helps!
Gist of code I used in this video (Morphological Transformations OpenCV Python Tutorial ) - www.codebind.com/python/opencv-python-tutorial-beginners-morphological-transformations/
at least speak something else from the opencv documentation.
you are just reading the entire opencv documentation.
That's fine you are copying the stuffs from there, but atleast give some good explaination.
You are the first one who's opencv programming works. Great job! Thank you!
Very useful course, right for me - it is not short and not long, clearly planned and smooth. Thank you very much.
your english is really clear!
Outstanding. Brilliant walk through
Just want to say thanks. 10/10 content
Great content................
Nice job, pal👍 I'd like to thank you for such a clear explanation, useful tutorials
Perfect! Thanks mate
Very nice course. Thank you very much!
as usual, so good,
I forget, does OpenCV work with AMD graphics cards or just NVIDIA?
Hi, thanks for your tutorial.
May I inquire for the source of the image "smarties.png"?
I can't find the same image, so I drew a new one using MS paint, but it returns error whenever I want to show the image.
whats the use of np.ones?
creates a array where all elements are 1. It is a white image
@@newb_embedded040 no, not white image(white image is 255), thats a shape near a pixel, that means when value in array is 1, so we processing it. sry for bad english
thank You
Thanks bro......
i have a question ,, _,mask=cv2.threshold(img,220,255,cv2.thresh_binary_inv). I know the functioning of threshold...but i would like to know how do we actually select the value 220 and the function binary inverse.... why not just thresh_binary
I there a way to do these morphological operations on NumPy arrays instead of images with cv2? (I know it can be done with other libraries)
Hi, what is ",_" ? and why you are using it here?
i'm using pycharm, and when running my code instead of opening a new window, my matplotlib result is shown in the right side of pycharm. why?
I'm using jupyter and this happens too, for me I have to write in the code: %matplotlib qt (to show the image in a new window), %matplotlib inline (to show the image in the interpreter)
Hey
How to apply thickening on a binary image in opencv
Sir when I am using matplotlib for displaying subplots it is displaying error: image data cannot be converted to float type 🤐what shall I do?
I got a similar error, my error was this "TypeError: Image data of dtype object cannot be converted to float" but then I noticed that in his code he put '_, mask' and I had just put 'mask'. I am not too sure what '_,' does to the variable 'mask' but it seems like some kind of placeholder for the data type. I'm still new to python but I hope this helps!
yeah try choosing a different type of image , like don't use png , jpeg image , also the default size of image should not be too small
Hello sirji.
Hey can you tell me what are the kernal color here. Is it black or white.
Since it is a binary image, you could identify the 1 as white and the 0 as black
🍻
sir this is a python