lllyasviel / lllyasviel/ControlNet

Feature Request: Mask painting precision assistance

オープン
#653 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
34.1k
フォーク
3k
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、入力画像またはプレビュー画像とマスク画像ウィンドウのUIコードを見つけ、次に、描画されたマスク領域が選択されたControlNetを通じてどのように適用されるかを追跡します。提案されている2つのオーバーレイ方式を比較し、生成されたマスクを変更しない、低または中程度の不透明度で切り替え可能な入力オーバーレイを定義します。完了の条件は、マスキングの動作を変更せずに、正確な位置合わせが見えることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
computer-vision, frontend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。