Previous page 'Familiar face'-'stranger' face search API  Get signed links to video streams Next page

The body of POST request used for search start must contain binary data of searched face in jpеg format. The request itself can be represented in two ways:

  1. POST http://IP-Address:port/prefix/faceAppearanceRate/DETECTORID/BEGINTIME/ENDTIME
    where
    DETECTORID - three-component detector endpoint ID (HOSTNAME/A VDetector.ID/EventSupplier).
    ENDTIME, BEGINTIME - time in ISO format.
  2. POST http://IP-Address:port/prefix/faceAppearanceRate/HOSTID/BEGINTIME/ENDTIME
    where HOSTID - computer name.

The accuracy parameter is specified additionally – detection accuracy in the range [0,1] (1 means complete match). If this parameter is not set, then the default value (0.9) is in use.

This request is performed synchronously and returns JSON:

{
  "rate": 0.13333334028720856
}

where rate – rate of identifying a face as a “stranger”, the value in the [0,1] range. 1 means a complete stranger.

  • No labels