PyCharm does not recognize cv2 as a module
here are proper instructions if you have not built opencv from source so that everyone can follow it
- Click File menu > Settings
- Search " Project Interpreter " in search bar
now Available packages window will open and then search for " opencv-python " and click install package button.
- enjoy and do +1
Worked on Pycharm 4.0 version
Follow these steps:
Go to File>Settings in Pycharm IDE Window
Search Project Interpreter in search bar.
- Click on any package from the available options
- Package window will open from where you can install any packages.
I have installed opencv-python package to run opencv commands