Skip to content

Loner1024/swapper-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

swapper-rs

πŸš€ swapper-rs is a high-performance face-swapping application built with Rust!

🌟 Introduction

swapper-rs leverages Rust's performance and safety features to achieve fast and stable face-swapping functionality. This project is ideal for applications involving image processing and computer vision, such as special effects, deep learning research, and more.

🚧 Early Development Stage 🚧

This project is still in its early stages, and many features are not yet implemented. It is not recommended for non-developers at this time.

✨ Features

  • ⚑ High Performance: Optimized with Rust for fast face-swapping operations.
  • πŸ”’ Memory Safety: Avoids common memory management issues found in C/C++.
  • πŸ–ΌοΈ Cross-Platform: Runs on macOS, Linux, and Windows.
  • 🧠 Advanced AI: Utilizes ONNX Runtime (ORT) for efficient deep learning inference.
  • πŸ— Smart Recognition: Integrates advanced face detection and feature matching technology.

πŸ“¦ Installation

At this time, swapper-rs does not support installation via cargo install.

To build from source:

git clone https://github.com/yourusername/swapper-rs.git
cd swapper-rs
cargo build --release

πŸš€ Usage

./swapper-rs --input face1.jpg --swap face2.jpg --output result.jpg

Example:

./swapper-rs -i person1.jpg -s person2.jpg -o swapped.jpg

πŸ› οΈ Dependencies

  • ONNX Runtime (ORT) (for deep learning inference)
  • OpenCV (for face detection and image processing)
  • ndarray (for efficient array computations)
  • image (for loading and saving images)

πŸ—οΈ Contributing

We welcome PRs and issues! If you have suggestions or improvements, feel free to contribute.

git clone https://github.com/yourusername/swapper-rs.git
cd swapper-rs
git checkout -b my-feature
# Start developing

About

πŸš€ swapper-rs is a high-performance face-swapping application built with Rust!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published