Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python cv2 get image shape

import cv2

input_image = cv2.imread('path to image')

input_image_height, input_image_width, input_image_channels = input_image.shape
 
PREVIOUS NEXT
Tagged: #python #image #shape
ADD COMMENT
Topic
Name
5+8 =