Update controlnet_module.py
Browse files- controlnet_module.py +1 -1
controlnet_module.py
CHANGED
|
@@ -1182,7 +1182,7 @@ class ControlNetProcessor:
|
|
| 1182 |
|
| 1183 |
# LEICHTER DILATE FÜR MEHR ABDECKUNG (wichtig für Gesicht!)
|
| 1184 |
print(" 🔲 Leichter Dilate für natürliche Abdeckung")
|
| 1185 |
-
kernel_dilate = np.ones((
|
| 1186 |
mask_array = cv2.dilate(mask_array, kernel_dilate, iterations=1)
|
| 1187 |
|
| 1188 |
|
|
|
|
| 1182 |
|
| 1183 |
# LEICHTER DILATE FÜR MEHR ABDECKUNG (wichtig für Gesicht!)
|
| 1184 |
print(" 🔲 Leichter Dilate für natürliche Abdeckung")
|
| 1185 |
+
kernel_dilate = np.ones((15, 15), np.uint8) # Größerer Kernel für Gesicht
|
| 1186 |
mask_array = cv2.dilate(mask_array, kernel_dilate, iterations=1)
|
| 1187 |
|
| 1188 |
|