              idx += 1
              if load_queue.shutdown.is_set():
                  logger.debug("Reload Queue: Stop signal received. Terminating")
                  break
              logger.trace("Reloading image: '%s'", filename)
              detect_item = detected_faces.pop(filename, None)
              if not detect_item:
                  logger.warning("Couldn't find faces for: %s", filename)
                  continue
              detect_item["image"] = image
 
</s> remove             self.add_queue(name, maxsize)
 </s> add             self.add_queue(name, maxsize, multiprocessing_queue) </s> remove     def get_queue(self, name, maxsize=0):
 </s> add     def get_queue(self, name, maxsize=0, multiprocessing_queue=True):
            if idx % self.skip_num != 0:
                logger.trace("Skipping image '%s' due to extract_every_n = %s",
                             filename, self.skip_num)
                continue
              idx += 1
              if load_queue.shutdown.is_set():
                  logger.debug("Reload Queue: Stop signal received. Terminating")
                  break
            if idx % self.skip_num != 0:
                logger.trace("Skipping image '%s' due to extract_every_n = %s",
                             filename, self.skip_num)
                continue
              logger.trace("Reloading image: '%s'", filename)
              detect_item = detected_faces.pop(filename, None)
              if not detect_item:
                  logger.warning("Couldn't find faces for: %s", filename)
                  continue
              detect_item["image"] = image
keep keep keep add keep keep keep keep keep keep
 Added s3fd-amd + minor fixes (#837) 
scripts/extract.py