Files
test2/config_example.yaml
2025-07-26 07:23:50 -07:00

26 lines
611 B
YAML

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