def classify_image(classifier, labels, frame):
    """
    Classify an image and print the top result.

    Args:
      classifier: A ``vision.Classifier`` object.
      labels: The labels file for the Classifier model.
      frame: The image to classify.
    Returns:
      A list of all class predictions, ordered by score.
    """
    classes = classifier.get_classes(frame)
    label_id = classes[0].id
    score = classes[0].score
    label = labels.get(label_id)
    print(label, score)
    return classes