For Color Image

[Solved] For Color Image | Php - Code Explorer | yomemimo.com
Question : For color image

Answered by : shy-skunk-jmcvscj4ikie

import cv2
im = cv2.imread('data/src/lena.jpg')
print(type(im))
# <class 'numpy.ndarray'>
print(im.shape)
print(type(im.shape))
# (225, 400, 3)
# <class 'tuple'>

Source : https://note.nkmk.me/en/python-opencv-pillow-image-size/ | Last Update : Mon, 14 Nov 22

Answers related to for color image

Code Explorer Popular Question For Php