Skip to content

not-lain/selective-editor

 
 

Repository files navigation

Selective Editor

How to use

pip install git+https://github.com/facebookresearch/sam2.git
pip install git+https://github.com/not-lain/selective-editor.git
from selective_editor import get_app

app = get_app()
app.launch()

Pipeline

graph TD
    A[Launch app] --> B[upload image];
    C -->|reset mask| F[in case you want to reslect your mask from scratch];
    F --> |initial state| C;
    B -->|click to select image mask| C[you can select included points and for complex objects you can exclude certain areas];
    C -->|inpaint image| D[describe what you want to create and press inpaint];
    D --> E[download final image];
Loading

Example

Notebooks

Description Link
Notebook with pip integration Open In Colab Open In Colab
Manually laid out script Open In Colab

About

A user interface tool for selective image inpainting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.6%
  • Python 0.4%