Answers for "get image height width cv2"

0

get image height width cv2

>>> import numpy as np
>>> import cv2
>>> img = cv2.imread('foo.jpg')
>>> height, width, channels = img.shape
>>> print height, width, channels
  600 800 3
Posted by: Guest on February-18-2022

Code answers related to "get image height width cv2"

Python Answers by Framework

Browse Popular Code Answers by Language