                  continue
  
              detected_faces = self.get_detected_faces(filename, image)
              item = dict(filename=filename, image=image, detected_faces=detected_faces)
              self.pre_process.do_actions(item)
              self.load_queue.put(item)
  
          logger.debug("Putting EOF")
          self.load_queue.put("EOF")
          logger.debug("Load Images: Complete")
  
 
</s> remove             detected_faces = self.get_detected_faces(filename, image)
 </s> add             detected_faces = self._get_detected_faces(filename, image) </s> remove         self.load_queue.put("EOF")
 </s> add         self._queues["load"].put("EOF") </s> remove                     out_file = os.path.join(self.args.output_dir, os.path.basename(filename))
                    self.save_queue.put((out_file, image))
 </s> add                     out_file = os.path.join(self._args.output_dir, os.path.basename(filename))
                    self._queues["save"].put((out_file, image)) </s> remove     def check_skipframe(self, filename):
        """ Check whether frame is to be skipped """
        if not self.frame_ranges:
 </s> add     def _check_skipframe(self, filename):
        """ Check whether a frame is to be skipped.

        Parameters
        ----------
        filename: str
            The filename of the frame to check

        Returns
        -------
        bool
            ``True`` if the frame is to be skipped otherwise ``False``
        """
        if not self._frame_ranges: </s> remove             detected_faces = self.detect_faces(filename, image)
 </s> add             detected_faces = self._detect_faces(filename, image)
            self._pre_process.do_actions(item)
            self._queues["load"].put(item)
                  continue
  
              detected_faces = self.get_detected_faces(filename, image)
              item = dict(filename=filename, image=image, detected_faces=detected_faces)
            self._pre_process.do_actions(item)
            self._queues["load"].put(item)
            self._pre_process.do_actions(item)
            self._queues["load"].put(item)
  
          logger.debug("Putting EOF")
          self.load_queue.put("EOF")
          logger.debug("Load Images: Complete")
  
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