Hi everyone, my first contribution here
I just want to show you a tool that i’ve been using these days which I think you all should try…another AI Tool, in this case called Robust Video Matting GitHub - PeterL1n/RobustVideoMatting: Robust Video Matting in PyTorch, TensorFlow, TensorFlow.js, ONNX, CoreML!
I just made a video for all of you to understand this, how to install and how to use it.
This works on linux, mac and windows. I’ve done it on Linux with an RTX 3090 and mac with cpu
Hopefully you find it useful
Here are the steps to install and use it.
1 - Install Python 3.9
2 - Install Miniconda
3- cd RobustVideoMatting
4 - conda create -n rvm python=3.9.0
5- conda activate rvm
6 - download the models and paste them into /RobustVideomatting/checkpoint/
7 - Run these commands on a shell
pip install “av==8.0.3” “tqdm==4.61.1” “pims==0.5”
pip install torch torchvision.
If gpu is 30/40x series=
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
8 - run command =
python inference.py --variant mobilenetv3 --checkpoint checkpoint/rvm_mobilenetv3.pth --device cuda --input-source input/ --output-type png_sequence --output-composition output/com.mp4 --output-alpha output/alp.mp4 --output-foreground output/for.mp4 --seq-chunk 10
This is a free open source tool, maybe someone with good enough programming knowlegde can implement it to run directly from flamy