The Person Object
Overviewβ
The Person object represents individuals in the facial recognition system. This object contains all the information needed to manage and track people within your Verifik projects.
Attributesβ
nameβ
Type: String
Required: Required
Name of the person that you are going to add to the DB.
genderβ
Type: String
Required: Required
Gender of the person that you are going to add to the DB. Options: M (Male) or F (Female).
date_of_birthβ
Type: Object
Required: Required
Date of birth of the person that you are going to add to the DB.
nationalityβ
Type: String
Required: Required
Nationality of the person that you are going to add to the DB.
imagesβ
Type: Array of String
Required: Required
Base64-encoded images for facial recognition. Multiple images can be provided for better recognition accuracy.
collectionsβ
Type: Array of String
Required: Optional
Array of collection IDs related to this person. Collections help organize people into groups.
notesβ
Type: String
Required: Optional
Additional notes about the person.
clientβ
Type: ObjectId
Required: Required
Reference to the client who owns this person record.
statusβ
Type: String
Required: Optional
Status of the person record. Can be:
active- Person is active in the systeminactive- Person is inactivepending- Person record is pending approval
faceEncodingsβ
Type: Array
Required: Optional
Computed face encodings for facial recognition (automatically generated).
createdAtβ
Type: Date
Required: Required
Timestamp when the person record was created.
updatedAtβ
Type: Date
Required: Required
Timestamp when the person record was last updated.
Example Objectβ
{
"_id": "person_123456789",
"name": "John Doe",
"gender": "M",
"date_of_birth": {
"year": 1990,
"month": 1,
"day": 15
},
"nationality": "US",
"images": [
"base64_encoded_image_1",
"base64_encoded_image_2"
],
"collections": ["collection_123456789"],
"notes": "VIP customer",
"client": "client_123456789",
"status": "active",
"faceEncodings": [
"face_encoding_1",
"face_encoding_2"
],
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}