How to add the OpenCV library to my Python library?
Question: Hey I'm new to python and I have to do a project that requires openCV and
Numpy. I'm currently using both Pycharm and Spyder as my IDE's and Windows as
an operating system. While found a executable for numpy. For the openCV I was
given a folder with about 300mb worth of files from the official site.

I ran the command

"setx -m OPENCV_DIR //MY DIRECTORY"

Like the official website instructed and it was successfully but I still can
use the openCV library. Can someone please tell me what to do with the folder,
the main website is tricky to me. I am still in college undergrad and I humbly
acknowledge my confusion. Even if the answer is simple, please scold me but
let me know what to do.


Answer: if you are using Ubuntu, you can install OpenCV module by typing:

    
    
    sudo apt-get install python-opencv
    

you can Import like this

    
    
    import cv2
    

