Coder Social home page Coder Social logo

clone-batch-face-swap's Introduction

Automaticaly detects faces and replaces them.

preview

Installation

Automatic:

  1. In the WebUI go to Extensions.
  2. Open Available tab and click Load from: button.
  3. Find Batch Face Swap and click Install.
  4. Apply and restart UI

Manual:

  1. Use git clone https://github.com/kex0/batch-face-swap.git from your SD web UI /extensions folder.
  2. Open requirements_versions.txt in the main SD web UI folder and add mediapipe.
  3. Start or reload SD web UI.

txt2img Guide

  1. Expand the Batch Face Swap tab in the lower left corner.
    Image
  2. Click the checkbox to enable it.
    Image
  3. Click Generate

img2img Guide

  1. Expand the Batch Face Swap tab in the lower left corner.
    Image
  2. Click the checkbox to enable it.
    Image
  3. You can process either 1 image at a time by uploading your image at the top of the page.
    Image
    Or you can give it path to a folder containing your images.
    Image
  4. Click Generate

Override options only affect face generation so for example in txt2img you can generate the initial image with one prompt and face swap with another. Or generate the initial image with one model and faceswap with another.

Example

Left 'young woman in red dress' using chilloutMix Right 'Emma Watson in red dress' using realisticVision

chrome_XSjamNtABV

Example

example

Prompt:

detailed closeup photo of Emma Watson, 35mm, dslr
Negative prompt: (painting:1.3), (concept art:1.2), artstation, sketch, illustration, drawing, blender, octane, 3d, render, blur, smooth, low-res, grain, cartoon, watermark, text, out of focus

clone-batch-face-swap's People

Contributors

kex0 avatar happyjaxx avatar rubberbaron avatar

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.