RobustVideoMatting icon indicating copy to clipboard operation
RobustVideoMatting copied to clipboard

Is it possible to export the Foreground Prediction?

Open SamDot37 opened this issue 2 years ago • 1 comments

I might be missing something but is it possible to export the Foreground Prediction as shown in the Recurrent States Visualization - Video?

SamDot37 avatar Mar 07 '23 18:03 SamDot37

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.

gdamms avatar Apr 27 '23 18:04 gdamms