~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/facedetection.py

  • Committer: Didier Roche
  • Date: 2016-05-11 18:16:28 UTC
  • Revision ID: didier.roche@canonical.com-20160511181628-6tcup2dhpxye8c3z
working 0.1 version

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        num_faces = len(faces)
62
62
 
63
63
        # Introduce a bug
64
 
        num_faces = -10
 
64
        #num_faces = -10
65
65
 
66
66
        if num_faces > 0:
67
67
            logger.debug("{} faces detected".format(num_faces))