



from ..utils import DummyObject, requires_backends

class       _SCREAMING_SNAKE_CASE	(metaclass=UpperCamelCase ):
     lowerCAmelCase					=			["""torch""", """scipy"""]





     def __init__(       self :							str     ,  *UpperCamelCase :							Optional[Any]     ,  **UpperCamelCase :							Tuple				)->List[str]:
      requires_backends(self     ,  ["torch", "scipy"]				)





     @classmethod
     def 	__snake_case    (       cls :							List[Any]     ,  *UpperCamelCase :							List[str]     ,  **UpperCamelCase :							List[str]				)->str:
      requires_backends(cls     ,  ["torch", "scipy"]				)






     @classmethod
     def 	__snake_case    (       cls :							Optional[Any]     ,  *UpperCamelCase :							Optional[Any]     ,  **UpperCamelCase :							Dict				)->Tuple:
      requires_backends(cls     ,  ["torch", "scipy"]				)











import warnings

from ...utils import logging
from .image_processing_layoutlmva import LayoutLMvaImageProcessor


_lowerCamelCase						    =  logging.get_logger(__name__)

class       _SCREAMING_SNAKE_CASE	(UpperCamelCase ):





     def __init__(       self :							int     ,  *UpperCamelCase :							Optional[int]     ,  **UpperCamelCase :							Optional[int]				)->None:
      warnings.warn(
          "The class LayoutLMv2FeatureExtractor is deprecated and will be removed in version 5 of Transformers."
          " Please use LayoutLMv2ImageProcessor instead."     ,  UpperCamelCase     ,  )
      super().__init__(*UpperCamelCase     ,  **UpperCamelCase				)






