banner
andrewji8

Being towards death

Heed not to the tree-rustling and leaf-lashing rain, Why not stroll along, whistle and sing under its rein. Lighter and better suited than horses are straw sandals and a bamboo staff, Who's afraid? A palm-leaf plaited cape provides enough to misty weather in life sustain. A thorny spring breeze sobers up the spirit, I feel a slight chill, The setting sun over the mountain offers greetings still. Looking back over the bleak passage survived, The return in time Shall not be affected by windswept rain or shine.
telegram
twitter
github

一款免费的AI換臉神器 - FaceFusion

經過了很長一段時間的 AI 技術發展,目前的 AI 換臉技術已經越來越成熟。除了能夠實現人物照片的換臉,還可以實現視頻中人物的換臉。

FaceFusion 是一款免費的換臉器,同時提供了臉部的修復增強功能。可以自己部署,也可以使用 Google colab 版本白嫖換臉。

FaceFusion 的 Github 項目,採用了 MIT 許可:
https://github.com/facefusion/facefusion

FaceFusion 只提供了一個簡單主界面,操作簡單:

image

本地部署
如果想要自己部署,可以參照以下安裝指南。

https://docs.facefusion.io/installation

Google colab (需要魔法)
如果不想折騰,或者沒有 GPU 怕跑得慢,可以直接使用 colab 版本進行快速體驗。

初次使用 Google colab?先看看這篇吧:免費使用 Google Colab 部署 Stable Diffusion

1. 打開 colab
https://colab.research.google.com/github/facefusion/facefusion-colab/blob/master/facefusion.ipynb

2. 啟動項目
按照順序從上往下,點擊紅色框內的播放按鈕,然後等待完成項目的下載、安裝和啟動。

image
3. 訪問 FaceFusion
大約 10 分鐘後,如果看到以下內容,恭喜你啟動成功了。

image

點擊紅色框內的鏈接,進入 FaceFusion 主界面。

image
4. 開始換臉
在寫這篇文章的過程中,腦子裡閃過了馬扎之戰。那我就分別找一張照片,使用馬斯克的體型、裝束,將馬斯克的臉蛋換成紮克伯格,連髮型都不換。

在 SOURCE 面板上傳紮克伯格的照片:

image

在 TARGET 面板上傳馬斯克的照片:

image
然後在右上方的 PREVIEW 面板,將會自動展示換完臉的 "馬身紮面相"。

image
神似馬紮,哈哈!!!就是有點模糊!

載入中......
此文章數據所有權由區塊鏈加密技術和智能合約保障僅歸創作者所有。