Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/p1atdev/stable-diffusion-webui-adverse-cleaner-tab

An extension of AUTOMATIC1111's webui to remove adverse noise from images.
https://github.com/p1atdev/stable-diffusion-webui-adverse-cleaner-tab

automatic1111 stable-diffusion-webui-plugin

Last synced: 6 days ago
JSON representation

An extension of AUTOMATIC1111's webui to remove adverse noise from images.

Awesome Lists containing this project

README

        

# stable-diffusion-webui-adverse-cleaner-tab

[Adverse Cleaner](https://github.com/lllyasviel/AdverseCleaner/tree/main) as a tab extension for AUTOMATIC1111's webui.

# Features

- Easy to remove [adversarial noise](https://arxiv.org/abs/1412.6572) from a single image
- Batch processing that can remove noise from multiple images.

# Troubleshooting

- ModuleNotFoundError: No module named 'cv2.ximgproc'

You need to manually install `opencv-contrib-python` because the webui uses opencv-python, so the extension can't modify the opencv package while running.

First you open the stable-diffusion-webui folder in terminal.

```bash
cd /path/to/stable-diffusion-webui
```

Activate venv,
```bash
./venv/Scripts/activate
```

Install `opencv-contrib-python`
```
pip install opencv-contrib-python
```

# Screenshots

![screenshot1](./screenshots/screenshot1.jpg)

![screenshot2](./screenshots/screenshot2.jpg)

# Related links

- [As a script extension](https://github.com/gogodr/AdverseCleanerExtension)
- [HuggingFace Space](https://huggingface.co/spaces/p1atdev/AdverseCleaner)