Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowen committed Aug 7, 2023
1 parent c7c8a5e commit a1dae15
Show file tree
Hide file tree
Showing 48 changed files with 5,484 additions and 2 deletions.
47 changes: 47 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
/output
/images
/run.bat
45 changes: 45 additions & 0 deletions .metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled.

version:
revision: 6fb746fc3656e30e676592ec675a64e3a28bbe88
channel: stable

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: 6fb746fc3656e30e676592ec675a64e3a28bbe88
base_revision: 6fb746fc3656e30e676592ec675a64e3a28bbe88
- platform: android
create_revision: 6fb746fc3656e30e676592ec675a64e3a28bbe88
base_revision: 6fb746fc3656e30e676592ec675a64e3a28bbe88
- platform: ios
create_revision: 6fb746fc3656e30e676592ec675a64e3a28bbe88
base_revision: 6fb746fc3656e30e676592ec675a64e3a28bbe88
- platform: linux
create_revision: 6fb746fc3656e30e676592ec675a64e3a28bbe88
base_revision: 6fb746fc3656e30e676592ec675a64e3a28bbe88
- platform: macos
create_revision: 6fb746fc3656e30e676592ec675a64e3a28bbe88
base_revision: 6fb746fc3656e30e676592ec675a64e3a28bbe88
- platform: web
create_revision: 6fb746fc3656e30e676592ec675a64e3a28bbe88
base_revision: 6fb746fc3656e30e676592ec675a64e3a28bbe88
- platform: windows
create_revision: 6fb746fc3656e30e676592ec675a64e3a28bbe88
base_revision: 6fb746fc3656e30e676592ec675a64e3a28bbe88

# User provided section

# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
41 changes: 41 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"name": "(Windows) 启动",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/build/windows/runner/Debug/faceswap.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
},
{
"name": "faceswap",
"request": "launch",
"type": "dart",
"program": "lib/main.dart",
"justMyCode":false,
"purpose": ["debug-in-terminal"]
},
{
"name": "faceswap (profile mode)",
"request": "launch",
"type": "dart",
"flutterMode": "profile",
"program": "lib/main.dart"
},
{
"name": "faceswap (release mode)",
"request": "launch",
"type": "dart",
"flutterMode": "release",
"program": "lib/main.dart"
}
]
}
69 changes: 69 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"files.associations": {
"*.html": "html",
"any": "cpp",
"array": "cpp",
"atomic": "cpp",
"bit": "cpp",
"*.tcc": "cpp",
"cctype": "cpp",
"chrono": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"compare": "cpp",
"concepts": "cpp",
"condition_variable": "cpp",
"cstdarg": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"deque": "cpp",
"map": "cpp",
"set": "cpp",
"unordered_map": "cpp",
"vector": "cpp",
"exception": "cpp",
"algorithm": "cpp",
"functional": "cpp",
"iterator": "cpp",
"memory": "cpp",
"memory_resource": "cpp",
"numeric": "cpp",
"optional": "cpp",
"random": "cpp",
"ratio": "cpp",
"string": "cpp",
"string_view": "cpp",
"system_error": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"utility": "cpp",
"initializer_list": "cpp",
"iosfwd": "cpp",
"iostream": "cpp",
"istream": "cpp",
"limits": "cpp",
"mutex": "cpp",
"new": "cpp",
"ostream": "cpp",
"ranges": "cpp",
"stdexcept": "cpp",
"stop_token": "cpp",
"streambuf": "cpp",
"thread": "cpp",
"cfenv": "cpp",
"cinttypes": "cpp",
"typeinfo": "cpp",
"variant": "cpp"
},
"code-runner.executorMap":{
"cpp":"chcp 65001 "
},
"dart.flutterSdkPaths": ["G:\\flutter\\fluttersdk"],
"dart.flutterSdkPath": "G:\\flutter\\fluttersdk\\3.10.4",
}
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
# faceswap
A UI for roop
#Faceswap

A UI for loop


Supports image, gif, video

Support changing specified faces



Configuration and operation:

1. Ensure normal operation https://github.com/s0md3v/roop (Version: 1.3.2)

2. Download the faceswap release version and unzip it to directory A

3. Place server.py in the project under the root directory of the loop project

4. Place runServer.bat in the project in the upper directory of directory A. Please modify runServer.bat according to your own environment

5. Run faceswap.exe in directory A
29 changes: 29 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.

# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml

linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at
# https://dart-lang.github.io/linter/lints/index.html.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
Loading

0 comments on commit a1dae15

Please # to comment.