how to use opencv python code example Example 1: python opencv pip install opencv-python Example 2: load img cv2 img = cv2.imread('img.jpg')