Relative Content

Tag Archive for python-3.xopencv

How to detect if a video is progressive or interlaced in OpenCV-Python

I’m writing some Python3 code to analyze uploaded video’s, but I’m unsure how to determine if the video is progressive or interlaced. It’s probably somewhere in one of the cv2.CAP_PROP_.... properties, but I’m not sure which one. How can I detect if the video is progressive or interlaced?