Update processing/two_stage/two_stage_processor.py
Browse files
processing/two_stage/two_stage_processor.py
CHANGED
|
@@ -537,7 +537,7 @@ def _stage4_final_compositing(self, green_screen_path: str, background_path: str
|
|
| 537 |
# Apply chroma key (remove green)
|
| 538 |
green_screen_keyed = green_clip.fx(vfx.mask_color,
|
| 539 |
color=self.config.GREEN_COLOR_NORMALIZED,
|
| 540 |
-
thr=0.
|
| 541 |
s=0.1) # Smoothing
|
| 542 |
|
| 543 |
# Composite layers
|
|
|
|
| 537 |
# Apply chroma key (remove green)
|
| 538 |
green_screen_keyed = green_clip.fx(vfx.mask_color,
|
| 539 |
color=self.config.GREEN_COLOR_NORMALIZED,
|
| 540 |
+
thr=0.1, # Threshold for green detection
|
| 541 |
s=0.1) # Smoothing
|
| 542 |
|
| 543 |
# Composite layers
|