mirror of
https://github.com/KwaiVGI/LivePortrait.git
synced 2024-12-22 20:42:38 +00:00
doc: update readme and changelog
This commit is contained in:
parent
c3f01d3f3b
commit
6275173411
@ -9,7 +9,7 @@ The popularity of LivePortrait has exceeded our expectations. If you encounter a
|
|||||||
|
|
||||||
- <strong>Driving video auto-cropping: </strong> Implemented automatic cropping for driving videos by tracking facial landmarks and calculating a global cropping box with a 1:1 aspect ratio. Alternatively, you can crop using video editing software or other tools to achieve a 1:1 ratio. Auto-cropping is not enbaled by default, you can specify it by `--flag_crop_driving_video`.
|
- <strong>Driving video auto-cropping: </strong> Implemented automatic cropping for driving videos by tracking facial landmarks and calculating a global cropping box with a 1:1 aspect ratio. Alternatively, you can crop using video editing software or other tools to achieve a 1:1 ratio. Auto-cropping is not enbaled by default, you can specify it by `--flag_crop_driving_video`.
|
||||||
|
|
||||||
- <strong>Template making: </strong> Added the ability to create templates to protect privacy. The template is a `.pkl` file that only contains the motions of the driving video. Theoretically, it is impossible to reconstruct the original face from the template. These templates can be used to generate videos without needing the original driving video. By default, the template will be generated and saved as a .pkl file with the same name as the driving video. Once generated, you can specify it using the `-d` or `--driving_info` option.
|
- <strong>Motion template making: </strong> Added the ability to create motion templates to protect privacy. The motion template is a `.pkl` file that only contains the motions of the driving video. Theoretically, it is impossible to reconstruct the original face from the template. These motion templates can be used to generate videos without needing the original driving video. By default, the motion template will be generated and saved as a `.pkl` file with the same name as the driving video, e.g., `d0.mp4` -> `d0.pkl`. Once generated, you can specify it using the `-d` or `--driving_info` option.
|
||||||
|
|
||||||
|
|
||||||
### About driving video
|
### About driving video
|
||||||
|
@ -130,8 +130,8 @@ python inference.py -s assets/examples/source/s9.jpg -d assets/examples/driving/
|
|||||||
|
|
||||||
If you find the results of auto-cropping is not well, you can modify the `--scale_crop_video`, `--vy_ratio_crop_video` options to adjust the scale and offset, or do it manually.
|
If you find the results of auto-cropping is not well, you can modify the `--scale_crop_video`, `--vy_ratio_crop_video` options to adjust the scale and offset, or do it manually.
|
||||||
|
|
||||||
#### Template making
|
#### Motion template making
|
||||||
You can also use the `.pkl` file auto-generated to speed up the inference, and **protect privacy**, such as:
|
You can also use the auto-generated motion template files ending with `.pkl` to speed up inference, and **protect privacy**, such as:
|
||||||
```bash
|
```bash
|
||||||
python inference.py -s assets/examples/source/s9.jpg -d assets/examples/driving/d5.pkl
|
python inference.py -s assets/examples/source/s9.jpg -d assets/examples/driving/d5.pkl
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user