          # Face Filter post processing
          if ((hasattr(self.args, "filter") and self.args.filter is not None) or
                  (hasattr(self.args, "nfilter") and
                   self.args.nfilter is not None)):
              face_filter = dict(detector=self.args.detector.replace("-", "_").lower(),
                                 aligner=self.args.aligner.replace("-", "_").lower(),
                                 loglevel=self.args.loglevel,
                                 multiprocess=not self.args.singleprocess)
              filter_lists = dict()
              if hasattr(self.args, "ref_threshold"):
                  face_filter["ref_threshold"] = self.args.ref_threshold
 
</s> remove         self.hashes_to_frame.setdefault(alignment["hash"], dict())[frame] = idx
 </s> add         self._hashes_to_frame.setdefault(alignment["hash"], dict())[frame] = idx </s> remove         frames = set([item["frame_fullname"] for item in self.items])
 </s> add         frames = set(item["frame_fullname"] for item in self.items) </s> remove                                                 desc="Renaming Faces",
                                                total=self.alignments.frames_count):
 </s> add                                                       desc="Renaming Faces",
                                                      total=self.alignments.frames_count):
            if hasattr(self.args, "detector"):
                detector = self.args.detector.replace("-", "_").lower()
            else:
                detector = "cv2_dnn"
            if hasattr(self.args, "aligner"):
                aligner = self.args.aligner.replace("-", "_").lower()
            else:
                aligner = "cv2_dnn"

            face_filter = dict(detector=detector,
                               aligner=aligner,
          # Face Filter post processing
          if ((hasattr(self.args, "filter") and self.args.filter is not None) or
                  (hasattr(self.args, "nfilter") and
                   self.args.nfilter is not None)):
            if hasattr(self.args, "detector"):
                detector = self.args.detector.replace("-", "_").lower()
            else:
                detector = "cv2_dnn"
            if hasattr(self.args, "aligner"):
                aligner = self.args.aligner.replace("-", "_").lower()
            else:
                aligner = "cv2_dnn"

            face_filter = dict(detector=detector,
                               aligner=aligner,
            if hasattr(self.args, "detector"):
                detector = self.args.detector.replace("-", "_").lower()
            else:
                detector = "cv2_dnn"
            if hasattr(self.args, "aligner"):
                aligner = self.args.aligner.replace("-", "_").lower()
            else:
                aligner = "cv2_dnn"

            face_filter = dict(detector=detector,
                               aligner=aligner,
                                 loglevel=self.args.loglevel,
                                 multiprocess=not self.args.singleprocess)
              filter_lists = dict()
              if hasattr(self.args, "ref_threshold"):
                  face_filter["ref_threshold"] = self.args.ref_threshold
keep keep keep keep replace replace keep keep keep keep keep
 Bugfixes

Merge Alignments fix
Face Filter. Set default aligner/detector on convert 
scripts/fsmedia.py