Ask Your Question

Revision history [back]

Download and install the OpenCV executable. Add OpenCV in the system path(%OPENCV_DIR% = /path/of/opencv/directory) Goto C:\opencv\build\python\2.7\x86 folder and copy cv2.pyd file. Goto C:\Python27\DLLs directory and paste the cv2.pyd file. Goto C:\Python27\Lib\site-packages directory and paste the cv2.pyd file. Goto PyCharm IDE and goto DefaultSettings>PythonInterpreter. Select the Python which you have installed on Step1. Install the packages numpy,matplotlib and pip in pycharm. Restart your PyCharm.