feat(新功能): pose transform 部署

fix(修复bug):
docs(文档变更):
refactor(重构):
test(增加测试):
This commit is contained in:
zchengrong
2025-04-07 16:47:27 +08:00
parent 3ad724fe9f
commit 24eb43e2f0
2 changed files with 6 additions and 8 deletions

View File

@@ -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()