Image classification is the task of automatically categorizing images into predefined classes or categories based on their visual content.
from grandmaster import predict predict( task_name="image-classification", image="https://grandmaster.ai/ex/puppy.jpeg", candidate_labels=["god", "cat"], )
image : valid URL containing an image
candidate_labels : list of string to classify
label : label name
score : probability of the label