install packages cv2 python code example Example: install opencv python pip install opencv-python pip install opencv-contrib-python