Some Python modules, like OpenCV, PyQt, …, are provided as precompiled libraries. Python editors may not be able to parse such libraries and provide auto-completion on them.
Luckily, Eclipse and PyDev provide simple access to such feature. You can just:
- Goto Eclipse’s Preferences => PyDev
- Choose “Interpreter – Python” on the left
- Choose a Python interpreter, and open the “Forced Builtins” tab
- Click “New…”, put in the name of the module you want to add for auto-completion, like cv2, cv, etc.