Our Politician Recognition API detects the presence of political figures in images. It's powered by our face detection and face similarity models and a curated and constantly updated Custom Search Index. Given an input image, Hive detects all faces present and returns a bounding box and a match for each, as well as a confidence score.

In the JSON response for this API, match is a string corresponding to the name of the matching political figure. When a face does not match with any figure in the index, the string returned is "No Match" and no confidence score is returned. An example of the full response is shown below: