From 6275173411579b8790ab4c7ec3747147d162d534 Mon Sep 17 00:00:00 2001 From: guojianzhu Date: Fri, 12 Jul 2024 14:45:24 +0800 Subject: [PATCH] doc: update readme and changelog --- assets/docs/changelog/2024-07-10.md | 2 +- readme.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/docs/changelog/2024-07-10.md b/assets/docs/changelog/2024-07-10.md index 3217cb5..fe0fa72 100644 --- a/assets/docs/changelog/2024-07-10.md +++ b/assets/docs/changelog/2024-07-10.md @@ -9,7 +9,7 @@ The popularity of LivePortrait has exceeded our expectations. If you encounter a - Driving video auto-cropping: 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`. -- Template making: 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. +- Motion template making: 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 diff --git a/readme.md b/readme.md index cbc642e..bcfacb1 100644 --- a/readme.md +++ b/readme.md @@ -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. -#### Template making -You can also use the `.pkl` file auto-generated to speed up the inference, and **protect privacy**, such as: +#### Motion template making +You can also use the auto-generated motion template files ending with `.pkl` to speed up inference, and **protect privacy**, such as: ```bash python inference.py -s assets/examples/source/s9.jpg -d assets/examples/driving/d5.pkl ```