src/transformers/models/trocr/processing_trocr.py/TrOCRProcessor/feature_extractor_class
class TrOCRProcessor:    def feature_extractor_class(self):
        warnings.warn(
            "`feature_extractor_class` is deprecated and will be removed in v5. Use `image_processor_class` instead.",
            FutureWarning,
        )
        return self.image_processor_class