【发布时间】:2023-03-04 12:21:01
【问题描述】:
我正在使用前置手机摄像头录制视频。我尝试在 python 上使用 VideoCapture() opencv 阅读它。
video = cv2.VideoCapture("out.mp4")
cv2.namedWindow("CurrentFrame", cv2.WINDOW_AUTOSIZE)
while True:
ret,currentFrame = video.read()
cv2.imshow("CurrentFrame", currentFrame)
框架显示为 45 度旋转 有没有人遇到过这个问题?
【问题讨论】:
标签: python video-capture opencv3.0