Optional
source: DeepPartial<DocumentDetectionScores>Readonly
angle100 points, if all angles are 90 degrees
Readonly
aspect100 points, if the aspect ratio matches exactly one of the given aspect ratios
Readonly
distance100 points, if the center of the contour is exactly in the image center
Readonly
heightPercentage of the image height taken by the detected document
Readonly
linePercentage of the document contour that the edge detector was able to find (in LEGACY engine mode only)
Readonly
size100 points if the contour occupies at least 50% of the area of the image
Readonly
totalWeighted sum of all partial scores
Readonly
widthPercentage of the image width taken by the detected document
Generated using TypeDoc
The total and partial scores for the detected document contour.