- #!/bin/bash
- python3 inference_webcam_ts_compositing.py \
- --model-type mattingrefine \
- --model-backbone mobilenetv2 \
- --model-backbone-scale 0.5 \
- --model-checkpoint model/TorchScript/torchscript_mobilenetv2_fp32.pth \
- --model-refine-mode 'thresholding' \
- --model-refine-threshold 0.75 \
- --model-refine-sample-pixels 20000 \
- --resolution 640 360 \
- --background-image images/House_Calls.webp \
- --device-id 3
- #--hide-fps
|