General request format:
GET http://IP-addressAxxonPSIM_user_login:AxxonPSIM_user_password@IP address:port/firserver/GetNumberFacesInFrame?server_id=server ID&capture_id=face detection tool detector ID—get information about the number of faces in the frame.
Request parameters:
| Parameter | Required | Parameter description |
|---|
| server_id | Yes | Identifier of the Face recognition server in Face PSIM |
| capture_id | Yes | Identifier of the face |
detection tool in Request example:
GET GET http://localhost1:1@localhost:10000/firserver/GetNumberFacesInFrame?server_id=1&capture_id=1.1
Request headlines:
| Headline | Headline description |
|---|
| Allow | Returns the HTTP method used in request |
| Content-Length | Shows the size of characters in bytes |
, | 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 |
Indicates | Shows if the server response can be accessed by the code that sends |
the | a request from this source |
can access the server response |
| Date | Shows the time of the request |
Response example:
| Code Block |
|---|
{
"NumberFacesInFrame": 3
} |
Response parameters:
| Parameter | Parameter description |
|---|
NumberFacesInFrame | The number of faces in the frame of a specific camera at the current moment in time |