
def     _a					(						lowerCamelCase,	lowerCamelCase = False							):

 if not isinstance(lowerCamelCase,	lowerCamelCase							):
  lowerCamelCase		:	int							=      F'''Expected string as input, found {type(lowerCamelCase							)}'''
  raise ValueError(lowerCamelCase							)
 if not isinstance(lowerCamelCase,	lowerCamelCase							):
  lowerCamelCase		:	Optional[int]							=      F'''Expected boolean as use_pascal parameter, found {type(lowerCamelCase							)}'''
  raise ValueError(lowerCamelCase							)

 lowerCamelCase		:	Optional[Any]							=      input_str.split("""_"""							)

 lowerCamelCase		:	Union[str, Any]							=      0 if use_pascal else 1

 lowerCamelCase		:	Any							=      words[start_index:]

 lowerCamelCase		:	Tuple							=      [word[0].upper() + word[1:] for word in words_to_capitalize]

 lowerCamelCase		:	Optional[Any]							=      """""" if use_pascal else words[0]

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


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

      testmod()






import warnings

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


_lowerCamelCase					   =logging.get_logger(__name__)





class 							A__		(	__SCREAMING_SNAKE_CASE):
      def __init__(      self    ,  *__magic_name__    ,  **__magic_name__      ):
       warnings.warn(
           """The class OwlViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
           """ use OwlViTImageProcessor instead."""    ,  __magic_name__    ,  )
       super().__init__(*__magic_name__    ,  **__magic_name__      )




