@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.
26 lines (21 loc) • 523 B
JavaScript
export class ImageQualityRange {
min
max
constructor(min, max) {
this.min = min
this.max = max
}
static withValue(value) {
var result = new ImageQualityRange()
result.min = value
result.max = value
return result
}
static fromJson(jsonObject) {
if (jsonObject == null) return null
const result = new ImageQualityRange()
result.min = jsonObject["min"]
result.max = jsonObject["max"]
return result
}
}