(self, image)
return generate_caption_helper(
        image,
        decoder,
        encoder,
        tokenizer,
        image_features_extract_model)
wrapper function of image_caption_query to predict caption for image
    :param image: image to be analyzed
wrapper function of image_caption_query to predict caption for image
    :param image: image to be analyzed
wrapper function of image_caption_query to predict caption for image : param image : image to be analyzed
def generate_caption(self, image):
    '''
    wrapper function of image_caption_query to predict caption for image
    :param image: image to be analyzed
    '''
    modelInfo = self.models.get("image_caption")
    decoder = modelInfo['decoder']
    encoder = modelInfo['encoder']
    tokenizer = modelInfo['tokenizer']
    image_features_extract_model = modelInfo['feature_extraction']
    return generate_caption_helper(
        image,
        decoder,
        encoder,
        tokenizer,
        image_features_extract_model)
def generate_caption ( self , image ) : modelInfo = self . models . get ( "image_caption" ) decoder = modelInfo [ 'decoder' ] encoder = modelInfo [ 'encoder' ] tokenizer = modelInfo [ 'tokenizer' ] image_features_extract_model = modelInfo [ 'feature_extraction' ] return generate_caption_helper ( image , decoder , encoder , tokenizer , image_features_extract_model )