Giter VIP home page Giter VIP logo

metafake's Introduction

metafake

State-of-the-art framework for creating single-shot deepfakes by face swapping, face reenactment, face attribute editing, and face super resolution. Metafake is the first software framework that allows you to combine face swapping and face attribute editing simultaneously. Think of this as RefaceApp+FaceApp on steroids.

Features

Numerous face swapping models that have been optimized and improved

Supported attributes:

  • Hair color
  • Hair style
  • Age
  • More attributes coming soon!

Misc:

  • Complete code re-wrtite. Shrunk code base by orders of magnitude, and made it readable. Elimination of dead code, and optimization of code in general.
  • Created a new, user-friendly API for multiface swapping.
  • Added ability to process an entire folder of destination images/videos.
  • Added ability to swap with multiple-selected models in same program execution
  • Removed temporaily writing images to disk. All image processing is performed in memory.
  • Added config option to output intermediate images into a temporay folder
  • Support for face upscaling models: [GFPGANCleanv1-NoCE-C2|GFPGANv1|GFPGANv1.3|GFPGANv1.4|RestoreFormer|GPEN-BFR-512]
  • Optional replacement of mouth in face mask.

Dependencies

  • python 3.6+
  • pytorch 1.9.0
  • torchvision 0.10.0
  • opencv-python==4.5.2.52
  • pillow==8.0.1
  • numpy
  • imageio== 2.9.0
  • moviepy
  • insightface==0.2.1
  • munch
  • Ninja
  • pytorch_lightning
  • onnxruntime-gpu==1.8.0
  • tqdm==4.51.0
  • keras
  • tensorflow-gpu
  • mxnet
  • scikit-image
  • requests==2.18.4
  • kornia==0.5.4
  • dill
  • wandb
  • onnx==1.9.0

Usage

coming soon

TODO

coming soon

License

coming soon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.