Puts an end to poorly drawn eyes by automatically identifying and redrawing them.
 
 
 
Go to file
ilian.iliev b5930abfe0 Removed mmdet code 2024-10-06 17:45:26 +03:00
javascript Style fixes 2023-05-11 16:44:40 +03:00
models Initial commit 2023-05-10 21:17:32 +03:00
scripts Infotexts bug fixed 2023-06-02 14:14:57 +03:00
static/images Updated README 2023-05-23 12:16:32 +03:00
style Style fixes 2023-05-11 16:44:40 +03:00
wildcards Initial commit 2023-05-10 21:17:32 +03:00
.gitignore Initial commit 2023-05-10 21:17:32 +03:00
LICENSE Updated LICENSE 2023-05-10 21:30:19 +03:00
README.md Merge branch 'master' into develop 2023-05-23 12:19:29 +03:00
install.py Removed mmdet code 2024-10-06 17:45:26 +03:00
style.css Style fixes 2023-05-11 16:44:40 +03:00
style.css.map Style fixes 2023-05-11 16:44:40 +03:00

README.md

stable-diffusion-webui-eyemask

This extension is for AUTOMATIC1111's Stable Diffusion web UI

Capabilities

  • Create mask for eyes / face / body and redraw by multiple params
  • Wildcards for mask prompt and original prompt
  • Using of different model just for masked area redraw
  • Mask padding in px or percents
  • Mask previews
  • Separate embedded version of the script (enabled from settings)
  • Batch mode support
  • Custom API routes (including serving static files)

Put all wildcards files in /wildcards dir.

Usage

Demo video: https://www.youtube.com/watch?v=Q5PIFd7XsjM

  • Enable the extension and enter your eye mask prompt
  • Enter your original prompt
  • Select mask type
  • Select a model for mask redraw if you want other model
  • Select mask padding if you want bigger area for redraw
  • Select mask preview if you want to check the mask
  • You can use placeholders in mask prompt and original prompt:
    • Go to the /extensions/stable-diffusion-webui-eyemask/wildcards dir and create a text file (for example my-wildcard.txt)
    • Write your wildcards on new lines in this file
    • Use this wildcard in the mask prompt or original prompt as __my-wildcard__ and a random line will be used
    • If you want to use each line in order, the wildcard file name must end with _each
    • You can use multiple wildcards in one prompt
    • You can use wildcards in the mask prompt and the original prompt at the same time

Install

Use Install from URL option with this repo url.

Requirements

  • dlib==19.24.0
  • setuptools
  • cmake

All requirements will be installed on first use. You may need to install cmake manually.

Examples

Mask types

  1. Eyes dlib
  2. Face dlib
  3. Face depthmask
  4. Body depthmask

Contributing

Feel free to submit PRs to develop!