@@gandhikaran24 Great find! Let's just say someone has made an effort to convert text tutorials into video version. Regardless, the video presenter should give full credit to this website you listed for posting the text tutorials. Cheers
tiny contribution: if you get an error like "matplotlib is currently using agg ...etc", you need to install tk. Instead of using pip or inside your virtual env, use terminal and your pkg manager. For ubuntu: sudo apt install python3-tk
cause in pycharm ide there is there is virtual environment space which works different from the packages installed in your real python packages installed in this we first installed matplotlib in real scripts of python and then we again downloaded in pycharm ide otherwise we cant't use matplotlib (only in pycharm) which is a clean setup to go but it takes lots of disk unwanted space ( acc to me ) if we use other ides like vscode we dont need to do it hehe
@ProgrammingKnoeldge, @codebind, @Yogesh Patel, SIMPLY GREAT video series. Just one small question specific to this particular episode: The 'THRESH_TRUNC' method displays all consistent gray in the right half of the image in an individual / dedicated window (looks logically correct). But if you display it as part of the 2x3 array in Matplotlib, the same method displays all white in the right half of the image (looks logically incorrect). WHY?
@@chaoxi8966 if you get an error like "matplotlib is currently using agg ...etc", you need to install tk. Instead of using pip or inside your virtual env, use terminal and your pkg manager. For ubuntu: sudo apt install python3-tk
After executing "from matplotlib import pyplot as plt" command in cmd as well as in pycharm it is showing ImportError: DLL load failed: The specified module could not be found. error ...i imported matplotlib in pycharm ...but still it is showing..........please resolve it.....anyone
Maybe your program's name is "matplotlib.py" if it is so, that confuses the Python interpreter and create a circular reference with the library with the same name "matplotlib". Try to rename your program, it could be the solution.
Okay, I'm very late to the game here, but I'm losing it. I have followed all tutorials up to this point and have been able to resolve other problems just by Googling. This one stumps me, though. I am using a Raspberry Pi 3 with Buster. I am trying to use Geany but keep getting the same error as others, "cannot import name 'pyplot' from matplotlib'". I have ensured build is set to python3. Any help would be greatly appreciated as I have very little hair left to pull out of my head and I can't bash my head against the desk anymore because I have a headache from that.
Maybe your program's name is "matplotlib.py" if it is so, that confuses the Python interpreter and create a circular reference with the library with the same name "matplotlib". Try to rename your program, it could be the solution.
@@kumarsuman262 I dont have any problem with his teaching, but he should give credit where its due. And should give the link to the original code rather than his copied code.
Gist of code I used in this video - www.codebind.com/python/opencv-python-tutorial-beginners-matplotlib-opencv/
Ever tried writing your own code?
@Ashutosh Kumar opencv-python-tutroals.readthedocs.io/en/latest/
Code for every video in the series is copied from here.
@@gandhikaran24 the examples of code, used here, is from official opencv documentation
@@shrinitgoyal7521 Source?
@@gandhikaran24 Great find! Let's just say someone has made an effort to convert text tutorials into video version. Regardless, the video presenter should give full credit to this website you listed for posting the text tutorials. Cheers
you have upgraded your mic! Thanks for that ! == Like this video!!! :)
tiny contribution: if you get an error like "matplotlib is currently using agg ...etc", you need to install tk. Instead of using pip or inside your virtual env, use terminal and your pkg manager. For ubuntu:
sudo apt install python3-tk
At 13:20 line 16,18. Why us there comma separator between functions? Newer seen this syntax.
Why are we adding the matlabpolot package again in the IDE when we already have installed it from command line ?
Bhai, matplotlip is a python library and matlab is known for the environment software
cause in pycharm ide there is there is virtual environment space which works different from the packages installed in your real python packages installed
in this we first installed matplotlib in real scripts of python and then we again downloaded in pycharm ide otherwise we cant't use matplotlib (only in pycharm) which is a clean setup to go but it takes lots of disk unwanted space ( acc to me )
if we use other ides like vscode we dont need to do it hehe
I'm using Spyder and there it is showing matplotlib graf in the the console not creating a separate window for it.
Ok I found the solution: stackoverflow.com/questions/29356269/plot-inline-or-a-separate-window-using-matplotlib-in-spyder-ide?rq=1
@@kraskagm Thanks, it helps me a lot
@@kraskagm thnks
@@kraskagm Thanks!!
@ProgrammingKnoeldge, @codebind, @Yogesh Patel, SIMPLY GREAT video series. Just one small question specific to this particular episode: The 'THRESH_TRUNC' method displays all consistent gray in the right half of the image in an individual / dedicated window (looks logically correct). But if you display it as part of the 2x3 array in Matplotlib, the same method displays all white in the right half of the image (looks logically incorrect). WHY?
hey there, is it okay to install matplotlib in pycharm only? or i have to install it in both(through cmd and in pycharm IDE).
hello, sir. there will be no image showing out in my system when i use plt.imshow(...) and plt.show, any reason?
i copied your code to my editor pycharm.
@@chaoxi8966 if you get an error like "matplotlib is currently using agg ...etc", you need to install tk. Instead of using pip or inside your virtual env, use terminal and your pkg manager. For ubuntu:
sudo apt install python3-tk
Thanks bro.........
After executing "from matplotlib import pyplot as plt" command in cmd as well as in pycharm it is showing
ImportError: DLL load failed: The specified module could not be found. error ...i imported matplotlib in pycharm ...but still it is showing..........please resolve it.....anyone
Actually module is not supporting on version 3.3.3 bot after uinstall it i installed 3.0.3 version it works fine,,with no error...
Hello guys, my threshold images are in purple yellow colors and not in black n white. Please help
The matplotlib window didn't open. Help?
In line number 16, why use i+1 ??
subplot index starts from 1, not 0. I hope this answers your question
the matplot image is being shown in the terminal, not in separate window....please help sir
Bhai sab ek hi jagah thodi na milta hai...........Thoda adjust bhi karna padta hai...........
Video ko 1.5X karke dekhlo
using matplotlib image is not showing in new window and also no x and y cordinates display when hovering mouse on image
facing the same problem...got any solution
?
@@suhailchougle7315 use
%matplotlib inline
@@imransadiq5851 thanks buddy, really appreciate it. 😁
No module named 'matplotlib.pyplot
Same problem here
Have you resolved it
Same problem here
Did you resolved it
If you are using Pycharm you must import the matplotlib to the interpreter in the pycharm, as the teacher does at TypeError: 2:26
@@Yonosoyninguien It does not work, i ca not use pyplot. Could you please help me? guillermoariast@gmail.com
Maybe your program's name is "matplotlib.py" if it is so, that confuses the Python interpreter and create a circular reference with the library with the same name "matplotlib". Try to rename your program, it could be the solution.
How can I save the matriz of RGB color in txt?
Okay, I'm very late to the game here, but I'm losing it. I have followed all tutorials up to this point and have been able to resolve other problems just by Googling. This one stumps me, though. I am using a Raspberry Pi 3 with Buster. I am trying to use Geany but keep getting the same error as others, "cannot import name 'pyplot' from matplotlib'". I have ensured build is set to python3.
Any help would be greatly appreciated as I have very little hair left to pull out of my head and I can't bash my head against the desk anymore because I have a headache from that.
NOTE: I can use matplotlib in a regular terminal, just not in Geany.
Maybe your program's name is "matplotlib.py" if it is so, that confuses the Python interpreter and create a circular reference with the library with the same name "matplotlib". Try to rename your program, it could be the solution.
@@sisplani I had exactly that problem, changing the name of the file fixed the problem
@@sisplani thanks it really worked😊
Have you done nptel python course ? Same tutorial
All of his code since video 1 is copied which he pretends to write on his own.
@@gandhikaran24 Are u able to teach me these ?..i ll leave watching his videos
Dont jump to cons , pros are also there
@@kumarsuman262 I dont have any problem with his teaching, but he should give credit where its due.
And should give the link to the original code rather than his copied code.
@Pranjal Goyal BTW which NPTEL course is this? Could you post the link or give the title of the course?
Hey! The tutorials are amazing and clear but the only thing is you are talking too slow talk a bit faster
You can increase the speed of the video, I also use the same.
In my test , this code throw errors,you just need to comment 'cv2.waitkey(0)',then everything will be ok
You are right, in the last example you dont have a cv2.imshow() working so you should coment cv2.waitKey()
Not what I was expecting :(