UNPKG

@regulaforensics/face-sdk

Version:

This is an npm module for Regula Face SDK. It allows you to easily compaire faces using your phone's camera.

20 lines (16 loc) 549 B
import { ImageQualityRange } from '../image_quality/image_quality_range' export class DetectFacesAttributeResult { attribute value range confidence static fromJson(jsonObject) { if (jsonObject == null) return null const result = new DetectFacesAttributeResult() result.attribute = jsonObject["attribute"] result.value = jsonObject["value"] result.range = ImageQualityRange.fromJson(jsonObject["range"]) result.confidence = jsonObject["confidence"] return result } }