Get original labels with best consensus

project = lb.get_project('cl97nfdyo0eh5071q5b8l3iom')

We are classifying images with a “good” or “bad” radio classification.
We have 2233 original labels and 2234 consensus labels.
I only want my unique images with the label that has the highest agreement.
What is the easiest way to do this?