From 78ae68aaa5db554d88da3419dda18917f4d09fba Mon Sep 17 00:00:00 2001
From: Thomas Boy <thomas-boy@idiv.de>
Date: Tue, 21 Aug 2018 17:16:26 +0200
Subject: [PATCH] fix

---
 Demo.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Demo.cpp b/Demo.cpp
index 3323d00..42d40c2 100644
--- a/Demo.cpp
+++ b/Demo.cpp
@@ -306,9 +306,9 @@ int main(int argc, char * argv[])
 
             bgs->process(img_input, img_mask, img_bkgmodel); // by default, it shows automatically the foreground mask image
 
-//            //we save the bk gmodel
-//            std::string bkTestFileName = inputDir + "bk_"+TToolBox::mNzero(i)+".jpg";
-//            imwrite(bkTestFileName.c_str(),img_bkgmodel);
+            //we save the bk gmodel
+            std::string bkTestFileName = inputDir + "bk_"+TToolBox::mNzero(i)+".jpg";
+            imwrite(bkTestFileName.c_str(),img_bkgmodel);
         }
         else
         {
-- 
GitLab