OpenCV gambar lebar tinggi

import cv2

img = cv2.imread('path/to/img',0)
height, width = img.shape[:2]
Ugly Unicorn