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

Python

Video is ready, Click Here to View ×


I am demonstrating the simplest way to install Opencv for python in windows.
Python packages:
http://www.lfd.uci.edu/~gohlke/pythonlibs/

Patreon Page:
https://www.patreon.com/rajeshpachaikani

5 thoughts on “How to install opencv for python with Contrib packages | Simplest method

  1. 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

  2. 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?

  3. 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?

Leave a Reply

Your email address will not be published. Required fields are marked *