feat(新功能): pose transform 部署
fix(修复bug): docs(文档变更): refactor(重构): test(增加测试):
This commit is contained in:
@@ -47,7 +47,7 @@ def upload_video(frames, user_id, category, file_name):
|
||||
# 生成内存中的视频字节流
|
||||
video_buffer = io.BytesIO()
|
||||
with imageio.get_writer(video_buffer, format="mp4", fps=24) as writer:
|
||||
for img in images:
|
||||
for img in frames:
|
||||
writer.append_data(img)
|
||||
writer.close()
|
||||
video_bytes = video_buffer.getvalue()
|
||||
|
||||
Reference in New Issue
Block a user