lllyasviel / lllyasviel/ControlNet
Feature Request: Mask painting precision assistance
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 34.1k
- Forks
- 3k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, den UI-Code für das Eingabe- oder Vorschaubild und das Fenster des Maskenbilds zu finden, und verfolge dann, wie gemalte Maskenbereiche über das ausgewählte ControlNet angewendet werden. Vergleiche die beiden vorgeschlagenen Overlay-Ansätze und definiere ein umschaltbares Eingabe-Overlay mit niedriger oder mittlerer Deckkraft, das die generierte Maske nicht verändert; als abgeschlossen gilt es, wenn eine präzise Ausrichtung sichtbar ist, während sich das Maskieren weiterhin unverändert verhält.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- computer-vision, frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100