opencv size code example Example: opencv get image size img = cv2.imread('myImage.jpg') height, width, channels = img.shape