📜  python cv2 获取图像形状 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:29.585000             🧑  作者: Mango

代码示例1
import cv2

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

input_image_height, input_image_width, input_image_channels = input_image.shape