Individuals
Get a list of all significant individuals. Note: an individual is only sig and returned if it contains >3 faces.
The id of the drive to get individuals for
The page to query
0
The limit that is fetched per page
100
A list of all individuals
Not found
Validation Error
GET /individuals?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host:
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1
}
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1
}
}
]
Get an individual by id
The individual
Not found
Validation Error
GET /individuals/{individual_id} HTTP/1.1
Host:
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1
}
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1
}
}
Update an individual with a new name/label.
The id of the individual to be updated
The new name/label for the individual
The updated individual
Not found
Validation Error
PUT /individuals/{individual_id} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"name": "text"
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1
}
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1
}
}
Create an individual from a set of faces defined by the user.
The id of the drive to disable individual
The individuals within a drive
Disable individual
Not found
Validation Error
PUT /individuals/{drive_id}/individual/disable HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"individual_ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
No content
Create an individual from a set of faces defined by the user.
The id of the drive to create the individual in
The ids of the faces to create the individual from
The name/label for the individual
The new individual
Not found
Validation Error
POST /individuals/{drive_id}/individual/create HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"face_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"individual_name": "text"
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1
}
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1
}
}
Assign a face to an individual.
The id of the drive to create the individual in
The id of the face to assign
The id of the individual to assign the face to
The new individual
Not found
Validation Error
PUT /individuals/{drive_id}/individual/assign HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"face_id": "123e4567-e89b-12d3-a456-426614174000",
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1
}
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1
}
}
The id of the drive to get faces for
The ids of the individuals to merge
The new name given to the combined individuals
The newly merged individual
Not found
Validation Error
PUT /individuals/{drive_id}/individual/merge HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"individual_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"name": "text"
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1
}
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1
}
}
Get a list of all faces for an individual by id.
The id of the individual to get faces for
A list of all faces for an individual
Not found
Validation Error
GET /individuals/{individual_id}/faces HTTP/1.1
Host:
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1
}
}
]