

from ..utils import requires_backends


__A     						=      None



class     lowercase_       :



      def __init__(     self :							Union[str, Any]     ,   *A__ :							Any     ,   **A__ :							Any						)       ->	Union[str, Any]:
        requires_backends(self     ,   ['''detectron2''']						)







      @classmethod
      def 		UpperCamelCase_						(     cls :							Union[str, Any]     ,   *A__ :							Any     ,   **A__ :							Dict						)       ->	List[Any]:
        requires_backends(cls     ,   ['''detectron2''']						)




import warnings

from ...utils import logging
from .image_processing_detr import DetrImageProcessor


__A     						=      logging.get_logger(__name__)



class     lowercase_       (    __lowercase	):



      def __init__(     self :							List[str]     ,   *A__ :							Tuple     ,   **A__ :							int						)       ->	None:
        warnings.warn(
            '''The class DetrFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
            ''' Please use DetrImageProcessor instead.'''     ,   A__     ,   )
        super().__init__(*A__     ,   **A__						)

