Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

ParameterRequiredParameter description
server_idYesIdentifier of the Face recognition server in Face PSIM
capture_idYesIdentifier of the face
detection tool in
detector in Face PSIM

Request example:

GET GET http://localhost1:1@localhost:10000/firserver/GetNumberFacesInFrame?server_id=1&capture_id=1.1 

Request headlines:

Headline Headline description
AllowReturns the HTTP method used in request
Content-LengthShows the size of characters in bytes
,
received in the request. Measured in bytes
Content-TypeReturns the type of the received request
ServerSpecifies the server from which the request comes
Access-Control-Request-MethodReturns 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
DateShows the time of the request

Response example:

Code Block
{
        "NumberFacesInFrame": 3
}

Response parameters:

ParameterParameter description
NumberFacesInFrame
The number of faces in the frame of a specific camera at the current moment in time