lllyasviel / lllyasviel/ControlNet
Feature Request: Mask painting precision assistance
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 34.1k
- Forks
- 3k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Problem:
Currently, when mask is set to true, we have a blank canvas added to the right side of the input (or preview) image.
We then paint the areas we wish to mask, these masked areas are applied to the input image using the selected controlnet.
One issue with this is that it can be quite difficult to work out whether we are precisely masking the areas of the input image as intended, we have to kind of roughly judge, and if the desired masking area is small or needs to be precise this can be quite difficult.
Proposed solution:
It would be very helpful if one of the following could be implemented:
Either
a) Drawing a mask area in the mask image window also draws the painted mask area, @ low/medium opacity over the input image to the left.
or (preferable)
b) The input image can be shown/overlaid (with a toggle) in the mask image window, @ low/medium opacity, and be painted over, without this overlaid image interfering with or influencing the generated mask.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza localizando el código de UI de la imagen de entrada o de vista previa y de la ventana de la imagen de máscara; después, rastrea cómo se aplican las áreas de máscara pintadas mediante el ControlNet seleccionado. Compara los dos enfoques de overlay propuestos y define un overlay de entrada activable, con opacidad baja o media, que no altere la máscara generada; se considera terminado cuando la alineación precisa sea visible y el enmascarado siga comportándose sin cambios.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- computer-vision, frontend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100