Constructors
constructor
- new GlaresCheckParams(options?): GlaresCheckParams
Parameters
Optionaloptions: {
imgMarginPart?: number;
maxGlaringPart?: number;
}OptionalimgMarginPart?: number
OptionalmaxGlaringPart?: number
Properties
Optional ReadonlyimgMarginPart
imgMarginPart?: number
Optional ReadonlymaxGlaringPart
maxGlaringPart?: number
Methods
StaticfromJson
- fromJson(jsonObject): GlaresCheckParams
Part of margin from the edges of the image that is ignored by glares check. Example: value 0.07 is 7% of image area is ignored.