Go to documentation repository
Previous page Next page
POST http://AxxonPSIM_user_login:AxxonPSIM_user_password@IP address:port/firserver/FindPasserBy
| Parameter | Required | Parameter description |
|---|---|---|
| server_id | Yes | Identifier of the face recognition server in Face PSIM |
| data | Yes | Data that you want to get |
| cameraIds | No | Camera identifiers (ID). If you don't specify them, the results by all cameras are displayed |
| dateTimeFrom | Yes | Time in UTC+0 format starting from which the face search is performed |
| dateTimeTo | Yes | Time in UTC+0 format up to which the face search is performed |
| sim | No | Similarity level between the face from the camera photo and the reference image in the request is in the range from 0 to 1. The recommended value is 0.8 |
| image | Yes | JPEG image in base64 format |
POST http://1:1@127.0.0.1:10000/firserver/FindPasserBy
{
"server_id" : "1",
"data":
{
"cameraIds" : ["1"],
"dateTimeFrom" : "2023-08-23T12:20:00",
"dateTimeTo" : "2023-08-25T16:20:00",
"sim" : 0.9,
"image" : "Alex's photo in base64"
}
}
| Headline | Headline description |
|---|---|
| Allow | Returns the HTTP method used in the request |
| Content-Length | Shows the size of characters received in the request. Measured in bytes |
| Content-Type | Returns the type of the received request |
| Server | Specifies the server from which the request comes |
| Access-Control-Request-Method | Returns the HTTP method that can be used in the request |
| Access-Control-Origin | Shows if the server response can be accessed by the code that sends a request from this source |
| Date | Shows the time of the request |
| Parameter | Parameter description |
|---|---|
| Data | Received data |
| rows | List of the face accesses captured by cameras |
| id | Identifier of the user from the faces database |
| sim | Similarity level between the face in the camera photo and the reference image in the request. The received results must be equal or greater than the specified value |
| cameraId | ID of the camera that captured the face |
| timestamp | Time of face capture/access in UTC+0 format |
| totalCount | Number of the face accesses |
| duration | Face processing time in milliseconds |
| Status | Status of the executed request: SUCCESS—successful, if error—see List of possible errors of the Face recognition server |