How to install opencv for python with Contrib packages | Simplest method

preview_player
Показать описание
I am demonstrating the simplest way to install Opencv for python in windows.
Python packages:

Patreon Page:
Рекомендации по теме
Комментарии
Автор

right to the point, on how to install opencv with contrib packages... thanks a lot...:)

qzorn
Автор

while i am downloading python, i guess pip should download automatically but this is not happening .also import cv2 is showing error .because of which i can not use pip to install cv2

pritikumari
Автор

im getting following error
is not a supported wheel on this platform.

robinrai
Автор

I did all that but in windows to use python in visual studio. Everything works except aruco. I installed the contrib libraries and when I do the import cv2 in visual studio it accepts it and it works, but it doesn't accept when I type import cv2.aruco.
When I type cv2.auco in the cmd window it gives me <module 'cv2.aruco'>

Do you have any clue what might be going on?

mateuszuliani
Автор

i have pyhton 3.71 and i choosed the cp37 file but it says: is not a supported wheel on this platform…. dont know what to do...please help

hajoist
Автор

Hi, thanks for the video. When I try to use cv2.SIFT(), I am getting AttributeError: module 'cv2' has no attribute 'SIFT'. I thought the contrib packages would resolve this. Would you please help?

MrAlexandurr
Автор

I enable to integrate opencv with python.I am facing this error in Python shell "RuntimeError: module compiled against API version 0xa but this version of numpy is 0x7 Traceback (most recent call last): File "<pyshell#1>", line 1, in <module> import cv2 ImportError: numpy.core.multiarray failed to import".To resolve this error I try "python -m pip install --upgrade numpy".But this shows invalid syntax.How to resolve this?

hassaniftikhar
Автор

It is not for opencv_contrib so please change your title cause it is just for installing opencv which not allow you to use sift, surf and other descriptors

youssefbendraou