cv2 pip installllll code example Example 1: install opencv pip install opencv-python Example 2: install opencv sudo pip3 install opencv-contrib-python