From 907882b647ebd3213847f62bcaa88a31ecf7d699 Mon Sep 17 00:00:00 2001
From: Guillaume HEUSCH <guillaume.heusch@idiap.ch>
Date: Tue, 10 Jul 2018 14:19:55 +0200
Subject: [PATCH] [preprocessor] fixed small typo in Li preprocessor

---
 bob/pad/face/preprocessor/LiPulseExtraction.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bob/pad/face/preprocessor/LiPulseExtraction.py b/bob/pad/face/preprocessor/LiPulseExtraction.py
index 3f7f2eec..eb85dcfe 100644
--- a/bob/pad/face/preprocessor/LiPulseExtraction.py
+++ b/bob/pad/face/preprocessor/LiPulseExtraction.py
@@ -111,7 +111,8 @@ class LiPulseExtraction(Preprocessor):
     for i, frame in enumerate(video):
 
       logger.debug("Processing frame {}/{}".format(counter, nb_frames))
-      if self.debug:
+      #if self.debug:
+      if False:
         from matplotlib import pyplot
         pyplot.imshow(numpy.rollaxis(numpy.rollaxis(frame, 2),2))
         pyplot.show()
@@ -143,7 +144,7 @@ class LiPulseExtraction(Preprocessor):
         ldms = previous_ldms
         logger.warning("Frame {}: no landmarks detected, using the ones from previous frame".format(i))
 
-      if self.debug:
+      #if self.debug:
       if False:
         from matplotlib import pyplot
         display = numpy.copy(frame)
-- 
GitLab