Face clustering

A system that detects human faces, extracts feature vectors and clusters similar faces to efficiently group images based on the individuals present in them


The Face Clustering ML model is an advanced component offered as a part of our service. With its powerful facial detection and feature extraction capabilities, this model fundamentally changes the way images are organized and grouped based on the individuals present in them.

The model accurately detects visible human faces within images, regardless of their positions or orientations. This crucial first step ensures that all relevant faces are identified for subsequent clustering.

For each detected face, the model extracts a high-dimensional feature vector, representing the unique facial characteristics and attributes of that individual. These feature vectors capture critical facial traits while discarding irrelevant information, making them ideal for face-based comparisons.

Leveraging advanced machine learning algorithms, the model clusters all faces (and the respective images they are part of) based on the similarity of their feature vectors. Faces with similar features are grouped, enabling the automatic identification of distinct individuals in image collections.

The face clustering model can categorize faces without the need for explicit training data on individual identities. This flexibility allows the model to adapt to various datasets and expand its clustering capabilities.

Use cases

Automatic face clustering can have a significant impact on the following use cases:

  • Event photography management - Event photographs often contain multiple different individuals. The model simplifies the organization of these images by automatically grouping them based on the distinct people present. This streamlines the curation and delivery of photo collections.

  • Content organization - Automatic face clustering can make it easier for users to navigate and discover images related to specific individuals.

  • Photo collections - In personal photo libraries, the face clustering model assists in creating dedicated albums or collections for family members and friends, thus saving users valuable time by automatically organizing photos by individual identities.

API endpoints

An up-to-date reference with all API endpoints is available here:


Input images

Detected faces

Created clusters

Last updated