py -3.6 -m pip install opencv-python
Hi, in this video I’m gonna be showing you how to easily install the Python Opencv module on Windows.
So, after installing any Python version on your machine,
go to the Windows Command Prompt by typing “cmd”, like this:
Here, type the following command (which is on the description):
py -(your python version, in my case is the 3.6) -m pip install opencv-python
Hit enter and wait for the download and installation.. and that is it. If no error message appears, you’ve finished your opencv module installation and you can already use it.
To make sure everything is correct, we can simply import the library on our python code…
Open your IDE and
As you can see, nothing bad happens, it means that we have successfully installed and imported our computer vision library.
Now, if you get any error such as “pip or py not recognized as an internal or external command”, reinstall or modify your Python installation, making sure that pip is being installed and..
that python is being added to the windows environment variables.
computer vision, install opencv, install opencv2, opencv python, opencv windows, windows, python, how to install opencv
Xem thêm bài viết khác: https://benjaminjcohen.com/cong-nghe/