python cv2 get image shape

Solutions on MaxInterview for python cv2 get image shape by the best coders in the world

showing results for - "python cv2 get image shape"
Vanessa
14 Feb 2019
1import cv2
2
3input_image = cv2.imread('path to image')
4
5input_image_height, input_image_width, input_image_channels = input_image.shape