@regulaforensics/document-reader
Version:
This is an npm module for Regula Document Reader SDK. It allows you to read various kinds of identification documents using your phone's camera.
26 lines (21 loc) • 622 B
JavaScript
export class GlaresCheckParams {
imgMarginPart
maxGlaringPart
constructor(options) {
this.imgMarginPart = options?.imgMarginPart;
this.maxGlaringPart = options?.maxGlaringPart;
}
static fromJson(jsonObject) {
if (jsonObject == null) return null;
return new GlaresCheckParams({
imgMarginPart: jsonObject["imgMarginPart"],
maxGlaringPart: jsonObject["maxGlaringPart"]
});
}
toJson() {
return {
"imgMarginPart": this.imgMarginPart,
"maxGlaringPart": this.maxGlaringPart,
}
}
}