Skip to content
New issue

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

增加driving video处理代码 #26

Open
wants to merge 1 commit into
base: 0.1
Choose a base branch
from

Conversation

ningpengtao-coder
Copy link

No description provided.

### 3.让静态人脸动起来
### 3.视频修剪 (用作driving video)
```
python video_crop.py --input ./file/input/need_crop.mp4 --output ./file/input/crop_driving.mp4
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

结合配置文件实现自动执行裁剪比较好

# 输出driving video
clip.write_videofile(args.output)

print('视频生成完毕,输出路径为:{}'.format(args.output))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

代码很好,思路也正确,五一期间我结合配置文件修改后合并!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants