1) Go to the terminal option at the bottom of the IDE window. 2) The pip (package manager) can also be used to download and install OpenCV. To install OpenCV, just type the following command: 3) Now simply import OpenCV in your python program in which you want to use image processing functions.