Skip to content

Ravana 0.3.1 — realtime, metrics, ravana-sdk

Choose a tag to compare

@mrigankad mrigankad released this 03 Aug 19:22
· 21 commits to main since this release

Ravana 0.3.1

Open-source real-time face-swap SDK for images, video, and webcam — HyperSwap / InSwapper, GFPGAN / GPEN / CodeFormer / RestoreFormer++, ONNX Runtime on CUDA · AMD DirectML · CPU.

Highlights

  • Realtime webcam — realtime=True detect-every-N, ROI track, FPS HUD + hotkeys
  • Metrics — evaluate / evaluate-batch ArcFace ID + sharpness; GUI Score
  • RestoreFormer++ ONNX restore (--enhance restoreformer)
  • First-run helper + model download presets (core, seamless, enhance, all)
  • Packaging — distribute as ravana-sdk (PyPI name ravana is taken); CLIs ravana / face-swap

Install

pip install "git+https://github.com/mrigankad/Ravana.git"
# or from the attached wheel:
# pip install ravana_sdk-0.3.1-py3-none-any.whl
from face_swap import FaceSwapConfig, swap_image

Assets

Wheel and source distribution attached below. Full notes: CHANGELOG.md

⭐ If Ravana helps your project, a star helps others find it.