Optional
source: DeepPartial<DocumentDetectionResult>Readonly
aspectAspect ratio of the detected document contour.
Readonly
averageAverage brightness, calculated as the average of the Value channel in the HSV color space of:
Default is 0
Readonly
detectionThe total and partial scores for the detected quad.
Readonly
horizontalAll detected horizontal lines in image space.
Readonly
horizontalNormalized horizontal lines in image space.
Readonly
pointsAbsolute coordinates of the detected document contour in image space sorted in clockwise order, starting from the top left corner.
Readonly
pointsNormalized coordinates of the detected document contour in image space sorted in clockwise order, starting from the top left corner.
Readonly
statusDetection status.
Default is NOT_ACQUIRED
Readonly
verticalAll detected vertical lines in image space.
Readonly
verticalNormalized vertical lines in image space.
Optional
config: ToJsonConfigurationOptional
Readonly
aspectAspect ratio of the detected document contour.
Optional
Readonly
averageAverage brightness, calculated as the average of the Value channel in the HSV color space of:
Default is 0
Optional
Readonly
detectionThe total and partial scores for the detected quad.
Optional
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.
Optional
Readonly
horizontalAll detected horizontal lines in image space.
Optional
Readonly
horizontalNormalized horizontal lines in image space.
Optional
Readonly
points?: (undefined | { Absolute coordinates of the detected document contour in image space sorted in clockwise order, starting from the top left corner.
Optional
Readonly
pointsNormalized coordinates of the detected document contour in image space sorted in clockwise order, starting from the top left corner.
Optional
Readonly
status?: DocumentDetectionStatusDetection status.
Default is NOT_ACQUIRED
Optional
Readonly
verticalAll detected vertical lines in image space.
Optional
Readonly
verticalNormalized vertical lines in image space.
Result of the document contour detection.