DetectDocumentBoundaryOperation class
An operation for image boundaries detection. Use the apply method of the ImageOperation interface to apply the operation to the image.
abstract static class IImagingCoreAPI.DetectDocumentBoundaryOperation {
public Rect AreaOfInterest;
public DetectionMode Mode;
public Point[] DocumentBoundary;
public int DocumentHeight;
public int DocumentWidth;
}
Properties
Name | Type | Description |
---|---|---|
AreaOfInterest | Rect | Area of interest for the operation. |
Mode | DetectionMode |
Document boundary detection mode. The mode influences the crop speed and accuracy. |
DocumentBoundary | Point[] | [out] The detected document boundary defined by the four vertex points of the bounding quadrangle. The vertices are indexed clockwise starting from the bottom left. |
DocumentHeight | int | [in, out] The document height in millimeters. |
DocumentWidth | int | [in, out] The document width in millimeters. |
02.03.2022 12:59:15