
    sg                     b    d Z ddlZddlmZ ddlmZ  ej                  e      Z G d de      Z	y)	z)
Feature extractor class for LayoutLMv2.
    N   )logging   )LayoutLMv2ImageProcessorc                         e Zd Zd fdZ xZS )LayoutLMv2FeatureExtractorc                 X    t        j                  dt               t        |   |i | y )NzThe class LayoutLMv2FeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use LayoutLMv2ImageProcessor instead.)warningswarnFutureWarningsuper__init__)selfargskwargs	__class__s      o/var/www/html/venv/lib/python3.12/site-packages/transformers/models/layoutlmv2/feature_extraction_layoutlmv2.pyr   z#LayoutLMv2FeatureExtractor.__init__   s+    <	

 	$)&)    )returnN)__name__
__module____qualname__r   __classcell__)r   s   @r   r   r      s    * *r   r   )
__doc__r
   utilsr   image_processing_layoutlmv2r   
get_loggerr   loggerr    r   r   <module>r       s6      A 
		H	%*!9 *r   