load image in opencv2 code example Example: opencv load image python img = cv2.imread('filename.jpg',1)