Install OpenCV Python in 1 minute on Windows

preview_player
Показать описание
Command:
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
import cv2
Hit enter..
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
Рекомендации по теме
Комментарии
Автор

You are the man.This video solved my problem

VC-kjyx
Автор

Finally a solution to my problem, thank you!

desupershow
Автор

Thank you, easiest and most eloquent way to do this!

zmaster
Автор

Thank you you solve my problem i was doing it for last 2 weeks thanks a lot man

zeroking
Автор

Very helpful video!!!After so many efforts, I finally installed opencv Python for my project!!Thank U so much!!

sabiyatabassum
Автор

thanks a lot man. have been suffering for one hour.... Very helpful

pranavvenkatesan
Автор

Thank you very much!!!
It really solved my problem and saved me a lot of time :)

FJRSS
Автор

simple yet very much useful information

vamsikrishna
Автор

thank you very much finally it works,

FaransiMakrayu
Автор

thx for the video I tried many times but I did not to install opencv but your video is very help fuul

alparslanhisar
Автор

Thank u so much.finally this video solved my problem

sharmilask
Автор

Thank you so much.... just a line of command

suminchalise
Автор

You are a legend. I havent used opencv in over 2 years and one word to describe installing it before would be: pain
I was dreading going through it again
But you just saved my life
Is there a way to donate? People like you deserve donation because you literally save me time
Thank you Neto

pocketman
Автор

i could not use opencv it showing error
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import cv2
File "C:\Users\asha\AppData\Local\Programs\Python\Python37\lib\site-packages\cv2\__init__.py", line 3, in <module>
from .cv2 import *
ImportError: DLL load failed: The specified module could not be found.

meghapatel
Автор

Thank you so much! I've tried for all day and this one works well for me
when I using IDE
but the specified module still could not be found on spyder,
Do you have any suggestion for me? but also Thank you so much!

HanHee
Автор

mine says py not recognized as an internal or external command, what to do?

coffeecode
Автор

It shows me Python not installed but I have installed version 3.7

amudhayalini
Автор

Thank for not making a 10 minutes video :)

Nomx
Автор

prompt error showing
py is not a command

saimaansari
Автор

so many days for something so simple
c: \>python -m pip install opencv-python

rokag