  
      def get_leftover_faces(self):
          """yield each face that isn't in the alignments file."""
          self.output_message = "Faces missing from the alignments file"
          for face in self.items:
              frame = self.alignments.get_full_frame_name(face["frame_name"])
              alignment_faces = self.alignments.count_alignments_in_frame(frame)
  
              if alignment_faces <= face["face_index"]:
                  yield face["face_fullname"]
 
</s> remove         for frame in self.alignments.alignments.keys():
 </s> add         for frame in tqdm(self.alignments.alignments.keys(),
                          total=len(self.alignments.count)): </s> remove         for frame in self.items:
 </s> add         for frame in tqdm(self.items, total=len(self.items)): </s> remove         for frame in self.items:
 </s> add         for frame in tqdm(self.items, total=len(self.items)): </s> remove         for item in self.items:
 </s> add         for item in tqdm(self.items, total=len(self.items)): </s> remove         if len(faces) == 0:
 </s> add         no_faces = len(faces)
        if no_faces == 0:
        for face in tqdm(self.items, total=len(self.items)):
  
      def get_leftover_faces(self):
          """yield each face that isn't in the alignments file."""
          self.output_message = "Faces missing from the alignments file"
        for face in tqdm(self.items, total=len(self.items)):
              frame = self.alignments.get_full_frame_name(face["frame_name"])
              alignment_faces = self.alignments.count_alignments_in_frame(frame)
  
              if alignment_faces <= face["face_index"]:
                  yield face["face_fullname"]
keep keep keep keep replace keep keep keep keep keep
 Alignments tool: Extract non-upsized. MTCNN Detector changes (#508)

* Manual alignments: Add progress bars to check task

* Alignments Tool: Extract faces that haven't been upscaled

* MTCNN Update. Center on landmarks 
tools/lib_alignments/jobs.py