Answers for "cv2 frame dimensions"

0

find width and height of imported video frame opencv2

width = vcap.get(cv2.CAP_PROP_FRAME_WIDTH )
height = vcap.get(cv2.CAP_PROP_FRAME_HEIGHT )
fps =  vcap.get(cv2.CAP_PROP_FPS)
Posted by: Guest on June-17-2020

Python Answers by Framework

Browse Popular Code Answers by Language