Update usage.md
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
|
||||
# Usage
|
||||
|
||||
### Simple face swaping for already face-aligned images
|
||||
### Simple face swapping for already face-aligned images
|
||||
```
|
||||
python test_one_image.py --isTrain false --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path crop_224/6.jpg --pic_b_path crop_224/ds.jpg --output_path output/
|
||||
```
|
||||
|
||||
### Face swaping for video
|
||||
### Face swapping for video
|
||||
- Swap only one face within the video(the one with highest confidence by face detection).
|
||||
```
|
||||
python test_video_swapsingle.py --isTrain false --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path ./demo_file/Iron_man.jpg --video_path ./demo_file/mutil_people_1080p.mp4 --output_path ./output/mutil_test_swapsingle.mp4 --temp_path ./temp_results
|
||||
@@ -20,7 +20,7 @@ python test_video_swapmutil.py --isTrain false --name people --Arc_path arcface
|
||||
|
||||
|
||||
|
||||
### Face swaping for Arbitrary images
|
||||
### Face swapping for Arbitrary images
|
||||
- Swap only one face within one image(the one with highest confidence by face detection). The result would be saved to ./output/result_whole_swapsingle.jpg
|
||||
```
|
||||
python test_wholeimage_swapsingle.py --isTrain false --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path ./demo_file/Iron_man.jpg --pic_b_path ./demo_file/mutil_people.jpg --output_path ./output/
|
||||
|
||||
Reference in New Issue
Block a user