feat(新功能): pose transform 部署
fix(修复bug): docs(文档变更): refactor(重构): test(增加测试):
This commit is contained in:
@@ -54,7 +54,7 @@ def upload_video(frames, user_id, category, file_name):
|
|||||||
# 创建视频写入器
|
# 创建视频写入器
|
||||||
fps = 1 # 帧率
|
fps = 1 # 帧率
|
||||||
|
|
||||||
fourcc = cv2.VideoWriter.fourcc(*'mp4v')
|
fourcc = cv2.VideoWriter.fourcc(*'avc1')
|
||||||
video_writer = cv2.VideoWriter(file_name, fourcc, fps, (512, 768))
|
video_writer = cv2.VideoWriter(file_name, fourcc, fps, (512, 768))
|
||||||
|
|
||||||
# 逐帧写入
|
# 逐帧写入
|
||||||
|
|||||||
Reference in New Issue
Block a user