lllyasviel / lllyasviel/ControlNet
Feature Request: Mask painting precision assistance
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 34.1k
- Fork
- 3k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách xác định mã UI cho hình ảnh đầu vào hoặc hình ảnh xem trước và cửa sổ hình ảnh mặt nạ, sau đó theo dõi cách các vùng mặt nạ được tô được áp dụng thông qua ControlNet đã chọn. So sánh hai cách tiếp cận overlay được đề xuất và xác định một overlay đầu vào có thể bật/tắt, với độ mờ thấp hoặc trung bình, không làm thay đổi mặt nạ được tạo; được xem là hoàn tất khi có thể thấy sự căn chỉnh chính xác trong khi hoạt động masking vẫn không thay đổi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- computer-vision, frontend
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100