Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

height width image opencv

import cv2

img = cv2.imread('path/to/img',0)
height, width = img.shape[:2]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #height #width #image #opencv
ADD COMMENT
Topic
Name
5+5 =