FaceRecognitionPolicyModel
Fields
Section titled “Fields”| Field | Type | Required | Description and constraints |
|---|---|---|---|
enabled |
boolean | No | default false |
targetFps |
number | No | greater than 0.0. maximum 30.0. default 1 |
maximumFacesPerFrame |
integer | No | minimum 1.0. maximum 32.0. default 32 |
minimumScore |
number | No | minimum -1.0. maximum 1.0. default 0.4 |
maximumMatchesPerFace |
integer | No | minimum 1.0. maximum 5.0. default 1 |
cropResolution |
FaceCropResolution | No | Pixels used for face recognition crops; face localization still uses the processing frame. default "processing" |
Additional properties are rejected by this schema.
JSON schema
Section titled “JSON schema”{ "properties": { "enabled": { "type": "boolean", "title": "Enabled", "default": false }, "targetFps": { "type": "number", "maximum": 30.0, "exclusiveMinimum": 0.0, "title": "Targetfps", "default": 1 }, "maximumFacesPerFrame": { "type": "integer", "maximum": 32.0, "minimum": 1.0, "title": "Maximumfacesperframe", "default": 32 }, "minimumScore": { "type": "number", "maximum": 1.0, "minimum": -1.0, "title": "Minimumscore", "default": 0.4 }, "maximumMatchesPerFace": { "type": "integer", "maximum": 5.0, "minimum": 1.0, "title": "Maximummatchesperface", "default": 1 }, "cropResolution": { "$ref": "#/components/schemas/FaceCropResolution", "description": "Pixels used for face recognition crops; face localization still uses the processing frame.", "default": "processing" } }, "additionalProperties": false, "type": "object", "title": "FaceRecognitionPolicyModel"}