          self.color_format = "RGB"
          self.vram = 2240
          self.vram_warnings = 512  # Will run at this with warnings
          self.vram_per_batch = 64
          self.batchsize = self.config["batch-size"]
          self.reference_scale = 200. / 195.
  
      def init_model(self):
          """ Initialize FAN model """
          self.model = KSession(self.name,
 
</s> remove     def init_model(self):
 </s> add     def init_model(self) -> None: </s> remove     def init_model(self):
 </s> add     def init_model(self) -> None: </s> remove     def process_input(self, batch):
        """ Compile the detected faces for prediction """
        faces, batch["roi"], batch["offsets"] = self.align_image(batch)
 </s> add     def process_input(self, batch: AlignerBatch) -> None:
        """ Compile the detected faces for prediction

        Parameters
        ----------
        batch: :class:`AlignerBatch`
            The current batch to process input for

        Returns
        -------
        :class:`AlignerBatch`
            The batch item with the :attr:`feed` populated and any required :attr:`data` added
        """
        faces, roi, offsets = self.align_image(batch) </s> remove             x_center = (face.left + face.right) / 2.0
            y_center = (face.top + face.bottom) / 2.0 - face.height * 0.12
            scale = (face.width + face.height) * self.reference_scale
 </s> add             x_center = (cast(int, face.left) + face.right) / 2.0
            y_center = (cast(int, face.top) + face.bottom) / 2.0 - cast(int, face.height) * 0.12
            scale = (cast(int, face.width) + cast(int, face.height)) * self.reference_scale </s> remove         batch["center_scale"] = self.get_center_scale(batch["detected_faces"])
        faces = self.crop(batch)
        logger.trace("Aligned image around center")
 </s> add         center_scale = self.get_center_scale(batch.detected_faces)
        faces = self.crop(batch, center_scale)
        logger.trace("Aligned image around center")  # type:ignore
        self.batchsize: int = self.config["batch-size"]
          self.color_format = "RGB"
          self.vram = 2240
          self.vram_warnings = 512  # Will run at this with warnings
          self.vram_per_batch = 64
        self.batchsize: int = self.config["batch-size"]
          self.reference_scale = 200. / 195.
  
      def init_model(self):
          """ Initialize FAN model """
          self.model = KSession(self.name,
keep keep keep keep replace keep keep keep keep keep
 Extract updates:
  - Default CPU detector to MTCNN
  - add basic Aligner false positive filters
  - Typing: align + plugins
  - Use specific AlignerBatch class for alignment
  - 
plugins/extract/align/fan.py