Fortinet white logo
Fortinet white logo

EmployeeFaceRecord

EmployeeFaceRecord

Images of people used to identify them when their face is detected. This is used by face recognition AI on FortiRecorder.

Permissions required include Camera analytics.

HTTP Methods
  • POST

  • DELETE

URL

https://HOST_OR_IP/api/v1/EmployeeFaceRecord/

Request JSON

For HTTP POST:

{
    "employeeUsername": "PERSON_NAME",
    "fileIndex": "FILE_NAME",
    "option": "raw",
    "content": "data:image/jpeg;base64,...=="
}

where attributes are:

  • employeeUsername — Unique identifier of a specific person defined for face recognition.

  • fileIndex — Unique file name that will be used to store the thumbnail image on FortiRecorder. To get a list of existing file names, see Face_recognitionUser.

  • option — Either raw or mctnn (if the image has been processed by face recognition).

  • content — HTTP POST only. Base64-encoded string of the thumbnail image.

For HTTP DELETE, omit option and content.

EmployeeFaceRecord

EmployeeFaceRecord

Images of people used to identify them when their face is detected. This is used by face recognition AI on FortiRecorder.

Permissions required include Camera analytics.

HTTP Methods
  • POST

  • DELETE

URL

https://HOST_OR_IP/api/v1/EmployeeFaceRecord/

Request JSON

For HTTP POST:

{
    "employeeUsername": "PERSON_NAME",
    "fileIndex": "FILE_NAME",
    "option": "raw",
    "content": "data:image/jpeg;base64,...=="
}

where attributes are:

  • employeeUsername — Unique identifier of a specific person defined for face recognition.

  • fileIndex — Unique file name that will be used to store the thumbnail image on FortiRecorder. To get a list of existing file names, see Face_recognitionUser.

  • option — Either raw or mctnn (if the image has been processed by face recognition).

  • content — HTTP POST only. Base64-encoded string of the thumbnail image.

For HTTP DELETE, omit option and content.