  
                  faces_seen += faces_count
                  batch.append(item)
  
              if item != "EOF" and (faces_seen < self.batchsize and
                                    consecutive_no_faces < self.batchsize):
                  logger.trace("Continuing. Current batchsize: %s, consecutive_no_faces: %s",
                               faces_seen, consecutive_no_faces)
                  continue
  
              if batch:
 
</s> remove                 self.faces_count += faces_count
 </s> add                 self._faces_count += faces_count </s> remove                 # If self.batchsize number of frames appear, force the current batch through
 </s> add                 # If self._batchsize number of frames appear, force the current batch through </s> remove                     self.verify_output = True
 </s> add                     self._verify_output = True </s> remove             item = self.in_queue.get()
 </s> add             item = self._in_queue.get() </s> remove             while idx < self.sample_size:
                logger.debug("Predicting face %s of %s", idx + 1, self.sample_size)
                items = self.predictor.out_queue.get()
 </s> add             while idx < self._sample_size:
                logger.debug("Predicting face %s of %s", idx + 1, self._sample_size)
                items = self._predictor.out_queue.get()
            if item != "EOF" and (faces_seen < self._batchsize and
                                  consecutive_no_faces < self._batchsize):
  
                  faces_seen += faces_count
                  batch.append(item)
  
            if item != "EOF" and (faces_seen < self._batchsize and
                                  consecutive_no_faces < self._batchsize):
            if item != "EOF" and (faces_seen < self._batchsize and
                                  consecutive_no_faces < self._batchsize):
                  logger.trace("Continuing. Current batchsize: %s, consecutive_no_faces: %s",
                               faces_seen, consecutive_no_faces)
                  continue
  
              if batch:
keep keep keep keep replace replace keep keep keep keep keep
 Smart Masks to Convert (#957)

- scripts.convert - Use Smart Masks for Convert
    * Make on-the-fly conversion an explicit option

- Move BlurMask to lib.faces_detect

- tools.preview - Fix for smart masks
    * Subclass from tk.Tk
    * Options to lib.gui.control_helper
    *variable cleanup

- lib.logger - Demote more tensorflow deprecation messages

- Documentation:
    * lib.faces_detect.BlurMask
    * plugins.convert.mask
    * lib.convert
    * scripts.convert
    * scripts.fsmedia
    * tools.preview 
scripts/convert.py