I am using OpenCV 3 and python 2.7 and coding using PyCharm. The code works fine but PyCharm does not recognize cv2 as a module. It underlines it with a red line, so it doesn't display its functions in the intellisence menu.
I tried to set an environment variable OPENCV_DIR but it didn't work
OpenCV is extracted in F:\opencv and Python is installed on C:\Python27
What is wrong ?
here are proper instructions if you have not built opencv from source so that everyone can follow it
Click that + button to install packages or press Alt+Insert
now Available packages window will open and then search for " opencv-python " and click install package button.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With