bgslibrary icon indicating copy to clipboard operation
bgslibrary copied to clipboard

Save method output on Linux

Open SirSykon opened this issue 7 years ago • 1 comments

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!

SirSykon avatar Jul 25 '18 13:07 SirSykon

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.

andrewssobral avatar Aug 19 '18 15:08 andrewssobral