Consult your eldest brother, Opencv to open the video, some sent 90 degrees, is some sideways video, broadcast is vertical, I know how to spin, but don't know how to judge whether the video need to rotate, and the rotation Angle, whether you need advice on how to obtain video rotation and Angle?
CodePudding user response:
Format length-width ratios to determine whether the picture can be identified by rotating it