We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows环境,DJITelloPy/examples/record-video.py这里frame_read.frame.shape获得的分辨率,与实际上的分辨率不一致,最后无法存储视频
def videoRecorder(): # create a VideoWrite object, recoring to ./video.avi # 创建一个VideoWrite对象,存储画面至./video.avi height, width, _ = frame_read.frame.shape video = cv2.VideoWriter('video.avi', cv2.VideoWriter_fourcc(*'XVID'), 30, (width, height)) while keepRecording: video.write(frame_read.frame) time.sleep(1 / 30) video.release()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Windows环境,DJITelloPy/examples/record-video.py这里frame_read.frame.shape获得的分辨率,与实际上的分辨率不一致,最后无法存储视频
The text was updated successfully, but these errors were encountered: