Update controlnet_module.py
Browse files- controlnet_module.py +1 -1
controlnet_module.py
CHANGED
|
@@ -1298,7 +1298,7 @@ class ControlNetProcessor:
|
|
| 1298 |
# Prüfe Maskendichte
|
| 1299 |
white_pixels = np.sum(mask_array > 128)
|
| 1300 |
coverage_ratio = white_pixels / bbox_area if bbox_area > 0 else 0
|
| 1301 |
-
print(f" 📊 Aktuelle Abdeckung: {white_pixels:,}px / {
|
| 1302 |
|
| 1303 |
if coverage_ratio < 0.9:
|
| 1304 |
print(f" ⚠️ Maske zu dünn für Gesicht (<90%)")
|
|
|
|
| 1298 |
# Prüfe Maskendichte
|
| 1299 |
white_pixels = np.sum(mask_array > 128)
|
| 1300 |
coverage_ratio = white_pixels / bbox_area if bbox_area > 0 else 0
|
| 1301 |
+
print(f" 📊 Aktuelle Abdeckung: {white_pixels:,}px / {bbox_area:,}px = {coverage_ratio:.1%}")
|
| 1302 |
|
| 1303 |
if coverage_ratio < 0.9:
|
| 1304 |
print(f" ⚠️ Maske zu dünn für Gesicht (<90%)")
|