Höhenbreite Bild openCV
import cv2
img = cv2.imread('path/to/img',0)
height, width = img.shape[:2]
Ugly Unicorn
import cv2
img = cv2.imread('path/to/img',0)
height, width = img.shape[:2]