cURL
curl --request POST \ --url http://localhost:6699/api/v1/faces/clusters/samples \ --header 'Content-Type: application/json' \ --header 'X-License-Key: <api-key>' \ --data ' { "cache_dir": "<string>", "cluster_job_name": "<string>", "limit_per_cluster": 12, "min_cluster_size": 1, "max_cluster_size": 1000000000, "max_clusters": 100, "include_noise": false } '
{ "cluster_job_name": "<string>", "num_clusters": 123, "num_clusters_after_filter": 123, "total_entries": 123, "clusters": [ { "cluster_id": "<string>", "name": "<string>", "size": 123, "sample_faces": [ "aSDinaTvuI8gbWludGxpZnk=" ] } ], "noise_size": 123, "noise_sample": [ "aSDinaTvuI8gbWludGxpZnk=" ] }
Returns a few sample face thumbnail images for each cluster in a job. Useful for building a “who is this person?” UI.
Jumper Pro license key passed via header
Include unassigned faces in response
Cluster samples
Show child attributes
Only present if include_noise was true
Was this page helpful?