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