A UI for roop
Features:
1. Support for images, gifs, videos
2. Allows swapping faces with specified faces
First run:
roop project(version: 1.3.2) can run successfully.
1. Make sure theE:\ff
(this path will be used throughout the instructions).
2. Create a new folder, e.g., faceswap release version and extract it to the folder: E:\ff\faceswap
3. Download the server.py
from the source code to the root directory of the roop project
4. Copy the runServer.bat
from the source code to E:\ff\runServer.bat
5. Copy the runServer.bat
according to your environment
6. Modify the G:\minoconda3\
, the content should be as follows:
For example, if you are using minoconda installed at chcp 65001>nul
call G:\miniconda3\Scripts\activate.bat G:\miniconda3
call conda activate roop
pushd D:\roop\roop
python -u server.py %1
The %1 represents the local server port number.
You can use other methods as well as long as server.py runs correctly.
E:\ff\fceswap\fceswap.exe
7. Run If successful, a command prompt window will appear upon startup, as shown below:
If any other errors appear, check the configuration based on the provided instructions.
Usage:
E:\ff\images
1. Place your preferred images in 2. Double-click to select the source and target image (or GIF/video)
3. Click [Detect Faces] for each image and wait for the faces to be marked
For GIFs or videos, clicking [Detect Faces] will capture frames at the current time point and then mark the faces. This allows extracting faces from multiple time points.
4. Double-click the faces you want to swap;they will be added to the list on the right.
5. Drag and adjust the order of faces in the list.
6. Click [Generate] to create the face-swapped result.
Debuging Python scripts:
E:\ff\server_port.txt
, and write a port number (53499) in the file.
1. Create a file: server.py
in debug mode using an IDE.
2. Run E:\ff\fceswap\fceswap.exe
3. Run Download source code on GitHub
Provides the list of the opensource Flutter apps collection with GitHub repository.