          if not self.filter:
              return
  
          ret_faces = list()
          for idx, detected_face in enumerate(output_item["detected_faces"]):
              if not self.filter.check(detected_face["face"]):
                  logger.verbose("Skipping not recognized face! Frame: %s Face %s",
                                 detected_face["file_location"].parts[-1], idx)
                  continue
              logger.trace("Accepting recognised face. Frame: %s. Face: %s",
                           detected_face["file_location"].parts[-1], idx)
 
</s> remove                                detected_face["file_location"].parts[-1], idx)
 </s> add                                output_item["filename"], idx) </s> remove                          detected_face["file_location"].parts[-1], idx)
            ret_faces.append(detected_face)
 </s> add                          output_item["filename"], idx)
            ret_faces.append(detect_face) </s> remove                 feed_faces = self.compile_feed_faces(detected_batch)
                predicted = self.predict(feed_faces)
 </s> add                 if faces_seen != 0:
                    feed_faces = self.compile_feed_faces(detected_batch)
                    predicted = self.predict(feed_faces)
                else:
                    predicted = list() </s> remove                 if faces_count != 0:
                    self.pre_process.do_actions(item)
                    self.faces_count += faces_count
 </s> add                 self.faces_count += faces_count
        for idx, detect_face in enumerate(output_item["detected_faces"]):
            check_item = detect_face["face"] if isinstance(detect_face, dict) else detect_face
            if not self.filter.check(check_item):
          if not self.filter:
              return
  
          ret_faces = list()
        for idx, detect_face in enumerate(output_item["detected_faces"]):
            check_item = detect_face["face"] if isinstance(detect_face, dict) else detect_face
            if not self.filter.check(check_item):
        for idx, detect_face in enumerate(output_item["detected_faces"]):
            check_item = detect_face["face"] if isinstance(detect_face, dict) else detect_face
            if not self.filter.check(check_item):
                  logger.verbose("Skipping not recognized face! Frame: %s Face %s",
                                 detected_face["file_location"].parts[-1], idx)
                  continue
              logger.trace("Accepting recognised face. Frame: %s. Face: %s",
                           detected_face["file_location"].parts[-1], idx)
keep keep keep keep replace replace keep keep keep keep keep
 Bugfix: Filter and NFilter for convert 
scripts/fsmedia.py