                  continue
              detected_face = DetectedFace()
              detected_face.from_dlib_rect(d_rect)
              detected_face.image_to_face(image)
              retval.append(detected_face)
          return retval
  
      # <<< DETECTION IMAGE COMPILATION METHODS >>> #
 
</s> remove             if not isinstance(d_rect, dlib.rectangle):
 </s> add             if not isinstance(
                    d_rect,
                    dlib.rectangle):  # pylint: disable=c-extension-no-member </s> remove             resized_face, t_mat = self.extract.extract(image,
                                                       face,
                                                       self.size,
                                                       self.align_eyes)
            resized_faces.append(resized_face)
            t_mats.append(t_mat)

        output["resized_faces"] = resized_faces
        output["t_mats"] = t_mats
 </s> add             face.load_aligned(image,
                              size=self.size,
                              padding=self.padding,
                              align_eyes=self.align_eyes) </s> remove             val = self.alignments.alignments[key]
 </s> add             val = self.alignments.data[key] </s> remove         faces = self.alignments.get_alignments_for_frame(frame)
 </s> add         faces = self.alignments.get_faces_in_frame(frame)
            detected_face.frame_dims = image.shape[:2]
                  continue
              detected_face = DetectedFace()
              detected_face.from_dlib_rect(d_rect)
              detected_face.image_to_face(image)
            detected_face.frame_dims = image.shape[:2]
              retval.append(detected_face)
          return retval
  
      # <<< DETECTION IMAGE COMPILATION METHODS >>> #
keep keep keep add keep keep keep keep
 Fix convert-adjust (#531)

* Add dimensions to alignments + refactor

* Add frame_dims + funcs to DetectFaces. Add alignments lib

* Convert Adjust working

* Refactor and tidy up 
plugins/extract/detect/_base.py