bgslibrary
bgslibrary copied to clipboard
Save method output on Linux
Hello!
I work with Ubuntu and I want to use bgslibrary in my paper. Until now I'm able to run bgslibrary with any video I want with any algorithm in library by modifying ./config/FrameProcessor.xml but I'm not able to save the method output video. ¿Is there any way to save the output frame per frame or as a video?
Thanks!
Hi @SirSykon , You can do it by using one of the following options:
- Using the QT user interface (gui_qt)
- Using the MFC user interface (gui_mfc)
- Modifying Demo.cpp or Demo2.cpp files in the following sections:
//if(!img_mask.empty())
// cv::imshow("Foreground", img_mask);
// do something
- Modifying the Demo.py code (like previous item)
Currently, there is no an option into the bgslibrary.exe to save the foreground masks. I will check it for the next release.