def get_object_classes(predictions, confidence):
    """
    Get a list of the unique object classes predicted.
    """
    classes = [pred['label'] for pred in predictions if float(pred['confidence']) >= confidence]
    return set(classes)