Implement green screen matting pipeline
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
model:
|
||||
model_name: hustvl/vitmatte-small-composition-1k
|
||||
device: cuda
|
||||
matting_method: vitmatte
|
||||
fallback_to_chroma_alpha: false
|
||||
|
||||
trimap:
|
||||
sure_bg_threshold: 0.92
|
||||
sure_fg_threshold: 0.12
|
||||
unknown_radius_ratio: 0.012
|
||||
fg_safe_radius_ratio: 0.006
|
||||
|
||||
despill:
|
||||
enabled: true
|
||||
edge_low: 0.02
|
||||
edge_high: 0.98
|
||||
strength: 0.75
|
||||
Reference in New Issue
Block a user