Skip to content
Snippets Groups Projects
Commit 907882b6 authored by Guillaume HEUSCH's avatar Guillaume HEUSCH
Browse files

[preprocessor] fixed small typo in Li preprocessor

parent 39145a54
No related branches found
No related tags found
1 merge request!70Resolve "Retrieve colors from all channels for some of pulse-based PAD preprocessors"
Pipeline #
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment