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 ?