I have a use case where I get some records JSON records with subject_id, now I want to send the image to Kairos and identify to which of these records(subject_id) the image belongs. Say I need to identify the record from 5 records to which the image belongs. Here, /verify would need 5 API calls to check the confidence of each. On the other hand, /recognize would need 1 API call, but it will match it with all the images from the gallery & return ones with highest confidence.
Given that there are thousands of images enrolled to Kairos in a gallery, which one is more optimal? 5 API calls or 1 API call scanning all the images? Which one would take less time?