Constructors

  • Parameters

    • Optionaloptions: {
          mode?: string;
          proxy?: string;
          proxyPassword?: string;
          proxyType?: number;
          searchParams?: FaceApiSearchParams;
          serviceTimeout?: number;
          threshold?: number;
          url?: string;
      }
      • Optionalmode?: string
      • Optionalproxy?: string
      • OptionalproxyPassword?: string
      • OptionalproxyType?: number
      • OptionalsearchParams?: FaceApiSearchParams
      • OptionalserviceTimeout?: number
      • Optionalthreshold?: number
      • Optionalurl?: string

    Returns FaceApiParams

Properties

mode: string

The processing mode: "match" or "match+search".

"match"
proxy?: string

Proxy to use, should be set according to the cURL standart.

proxyPassword?: string

Username and password to use for proxy authentication, should be set according to the cURL standart.

proxyType?: number

Proxy protocol type, should be set according to the cURL standart.

searchParams?: FaceApiSearchParams

A search filter that can be applied if the "match+search" mode is enabled.

serviceTimeout: number

The service request timeout, ms.

3000
threshold: number

The similarity threshold, 0-100. Above 75 means that the faces' similarity is verified, below 75 is not.

75
url: string

The URL of the Regula Face SDK service instance to be used.

"https://faceapi.regulaforensics.com"

Methods

  • Allows you to deserialize object.

    Parameters

    • jsonObject: any

    Returns FaceApiParams