



"""simple docstring"""






def      snake_case__   (		__lowerCamelCase				:    str							,		__lowerCamelCase				:    bool = False	):
			"""simple docstring"""

			if not isinstance(__lowerCamelCase							,		__lowerCamelCase	):
						lowerCamelCase__		:		List[Any]			=f'''Expected string as input, found {type(__lowerCamelCase	)}'''
						raise ValueError(__lowerCamelCase	)
			if not isinstance(__lowerCamelCase							,		__lowerCamelCase	):
						lowerCamelCase__		:		Tuple			=f'''Expected boolean as use_pascal parameter, found {type(__lowerCamelCase	)}'''
						raise ValueError(__lowerCamelCase	)

			lowerCamelCase__		:		Optional[int]			=input_str.split('''_'''	)

			lowerCamelCase__		:		Dict			=0 if use_pascal else 1

			lowerCamelCase__		:		Tuple			=words[start_index:]

			lowerCamelCase__		:		List[Any]			=[word[0].upper() + word[1:] for word in words_to_capitalize]

			lowerCamelCase__		:		List[Any]			='''''' if use_pascal else words[0]

			return "".join([initial_word, *capitalized_words]	)


if __name__ == "__main__":
		from doctest import testmod

		testmod()









"""simple docstring"""






import warnings

from ...utils import logging
from .image_processing_owlvit import OwlViTImageProcessor


_lowercase : Any      						=						logging.get_logger(__name__)

class        __SCREAMING_SNAKE_CASE	(      lowerCAmelCase_   ):


					'''simple docstring'''





					def __init__(       self							:  Any,  *lowerCamelCase							:  str,  **lowerCamelCase							:  Optional[Any]     )->					None:
								warnings.warn(
								    '''The class OwlViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
								    ''' use OwlViTImageProcessor instead.''',  lowerCamelCase,  )
								super().__init__(*lowerCamelCase,  **lowerCamelCase     )




