          logger.debug("Initialized %s: ", self.__class__.__name__)
  
      def _scale_test(self,
                      face: AlignedFace,
                      minimum_dimension: int) -> Optional[Literal["min", "max"]]:
          """ Test if a face is below or above the min/max size thresholds. Returns as soon as a test
          fails.
  
          Parameters
          ----------
 
</s> remove         self._counts: Dict[str, int] = dict(features=0,
                                            min_scale=0,
                                            max_scale=0,
                                            distance=0,
                                            roll=0)
 </s> add         self._counts: dict[str, int] = {"features": 0,
                                        "min_scale": 0,
                                        "max_scale": 0,
                                        "distance": 0,
                                        "roll": 0} </s> remove         self._saver: Optional[ImagesSaver] = None
 </s> add         self._saver: ImagesSaver | None = None </s> remove     def _get_avg_score(cls, face: np.ndarray, references: List[np.ndarray]) -> float:
 </s> add     def _get_avg_score(cls, face: np.ndarray, references: list[np.ndarray]) -> float: </s> remove     def _get_kernel_tuple(kernel_size: int) -> Tuple[int, int]:
 </s> add     def _get_kernel_tuple(kernel_size: int) -> tuple[int, int]: </s> remove                                angle: int) -> Tuple[np.ndarray, np.ndarray]:
 </s> add                                angle: int) -> tuple[np.ndarray, np.ndarray]:
                    minimum_dimension: int) -> T.Literal["min", "max"] | None:
          logger.debug("Initialized %s: ", self.__class__.__name__)
  
      def _scale_test(self,
                      face: AlignedFace,
                    minimum_dimension: int) -> T.Literal["min", "max"] | None:
          """ Test if a face is below or above the min/max size thresholds. Returns as soon as a test
          fails.
  
          Parameters
          ----------
keep keep keep keep replace keep keep keep keep keep
 Rebase code (#1326)

* Remove tensorflow_probability requirement

* setup.py - fix progress bars

* requirements.txt: Remove pre python 3.9 packages

* update apple requirements.txt

* update INSTALL.md

* Remove python<3.9 code

* setup.py - fix Windows Installer

* typing: python3.9 compliant

* Update pytest and readthedocs python versions

* typing fixes

* Python Version updates
  - Reduce max version to 3.10
  - Default to 3.10 in installers
  - Remove incompatible 3.11 tests

* Update dependencies

* Downgrade imageio dep for Windows

* typing: merge optional unions and fixes

* Updates
  - min python version 3.10
  - typing to python 3.10 spec
  - remove pre-tf2.10 code
  - Add conda tests

* train: re-enable optimizer saving

* Update dockerfiles

* Update setup.py
  - Apple Conda deps to setup.py
  - Better Cuda + dependency handling

* bugfix: Patch logging to prevent Autograph errors

* Update dockerfiles

* Setup.py - Setup.py - stdout to utf-8

* Add more OSes to github Actions

* suppress mac-os end to end test 
plugins/extract/align/_base/processing.py