first commit
This commit is contained in:
26
config_example.yaml
Normal file
26
config_example.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
input:
|
||||
video_path: "path/to/input.mp4"
|
||||
|
||||
processing:
|
||||
scale_factor: 0.5 # 0.25, 0.5, 1.0
|
||||
chunk_size: 900 # frames, 0 for full video
|
||||
overlap_frames: 60 # for chunked processing
|
||||
|
||||
detection:
|
||||
confidence_threshold: 0.7
|
||||
model: "yolov8n" # yolov8n, yolov8s, yolov8m
|
||||
|
||||
matting:
|
||||
use_disparity_mapping: true
|
||||
memory_offload: true
|
||||
fp16: true
|
||||
|
||||
output:
|
||||
path: "path/to/output/"
|
||||
format: "alpha" # "alpha" or "greenscreen"
|
||||
background_color: [0, 255, 0] # for greenscreen
|
||||
maintain_sbs: true # keep side-by-side format
|
||||
|
||||
hardware:
|
||||
device: "cuda"
|
||||
max_vram_gb: 10 # RTX 3080 limit
|
||||
Reference in New Issue
Block a user