---
# System prepended metadata

title: 義大鬼屋
tags: [義大]

---

## 鬼屋換臉
(3080)
1. conda activate e-da
2. cd D:\E_DA
3. 下指令換臉

``` bash
python face.py --source "D:\E_DA\source\img\eddie_peng.jpeg" --folder "D:\E_DA\source\frames" --output "D:\E_DA\output\img" --video "D:\E_DA\output\output_video3.mp4"
```

* --source (換哪個人的臉的路徑位置)
* --folder (要換的圖片資料夾的路徑位置)
* --output (輸出的圖片的路徑位置)
* --video (輸出的影片的路徑位置)

### FasterLivePortrait (臉部操控表情)
1. cd D:\FasterLivePortrait-windows-20240811
2. 執行camera.bat

* camera.bat新增 --paste_back (將裁切後的影像貼回原圖)
![螢幕擷取畫面 2024-09-16 155803](https://hackmd.io/_uploads/BkumrDH6A.png)



### 提詞測試
* 反向:nsfw,ugly,bad_anatomy,bad_hands,extra_hands,missing_fingers,broken hand,more than two hands,well proportioned hands,more than two legs,unclear eyes,missing_arms,mutilated,extra limbs,extra legs,cloned face,fused fingers,extra_digit,fewer_digits,extra_digits,jpeg_artifacts,signature,watermark,username,blurry,large_breasts,worst_quality,low_quality,normal_quality,mirror image,Vague
圖生圖基礎照片
![image1](https://hackmd.io/_uploads/BJ8PXzF6R.png)



* messy long hair,one person,ghost style,zombie digital art,clay motion,stop motion,high quality,goat,(face only, no hands:1.5), rotting corpse,smell of death,soft light,depth of field,indoor background,horror background,white eyes,<lora:add_detail:1.8>,<lora:Zombie v0.2:0.7>,<lora:SDXLGhostStyle:0.5>,<lora:aki:0.5>
* Denoising strength:0.5
* ![09](https://hackmd.io/_uploads/BybtQzFpC.png)


* 性別 one person改為one girl/men
* 閉眼 +(close eyes:1.5)
* 張嘴 +(open mouth:1.5) 會有獠牙