RobustVideoMatting
RobustVideoMatting copied to clipboard
Is it possible to export the Foreground Prediction?
I might be missing something but is it possible to export the Foreground Prediction as shown in the Recurrent States Visualization - Video?
When you run inference.py with the --help option, you can read this line:
--output-foreground OUTPUT_FOREGROUND
If you use this option, it will generate the video you are looking for. This video made of the output fgr of the model inference.
Keep in mind that not all video format handle transparency. You should consider using a format that does or do the things you want with fgr yourself.