image_qa

image_qa(
    image,
    question,
    ckpt='Salesforce/blip-vqa-base'
) -> 

Perform question answering on an image using a pre-trained VQA model.

Parameters:
NameDescription
imageThe image to perform question answering on.

It can be either file path to the image or a PIL Image object.

questionThe question to ask about the image.

ckpt='Salesforce/blip-vqa-base'