lllyasviel / lllyasviel/ControlNet
Feature Request: Mask painting precision assistance
还没有人认领这个 Issue。
- 主要语言
- 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.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位输入图像或预览图像以及蒙版图像窗口的 UI 代码,然后跟踪绘制的蒙版区域如何通过所选的 ControlNet 应用。比较提出的两种叠加方式,并定义一个可切换的低或中等不透明度输入叠加层,该叠加层不会改变生成的蒙版;完成的标准是能够看到精确对齐,同时蒙版处理的行为保持不变。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- computer-vision, frontend
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100