  
      def finalize(self):
          print('-------------------------')
          print('Images found:        {}'.format(self.images_found))
          print('Faces detected:      {}'.format(self.faces_detected))
          print('-------------------------')
  
          if self.verify_output:
              print('Note:')
              print('Multiple faces were detected in one or more pictures.')
 
</s> remove             self.faces_detected = self.faces_detected + 1
 </s> add             self.num_faces_detected += 1 </s> remove             yield filename, image, self.get_faces(image)
 </s> add             if self.have_face(filename):
                faces = self.get_faces_alignments(filename)
            else:
                faces = self.get_faces(image)
            yield filename, image, faces </s> remove         for face in detect_faces(image, self.arguments.detector):
 </s> add         faces = self.faces_detected[filename]
        for rawface in faces:
            face = DetectedFace(**rawface)
        print('Faces detected:      {}'.format(self.num_faces_detected))
  
      def finalize(self):
          print('-------------------------')
          print('Images found:        {}'.format(self.images_found))
        print('Faces detected:      {}'.format(self.num_faces_detected))
          print('-------------------------')
  
          if self.verify_output:
              print('Note:')
              print('Multiple faces were detected in one or more pictures.')
keep keep keep keep replace keep keep keep keep keep
 Added serializers.

This speeds up convert speed x4 on my machine. 
lib/cli.py