RTRCoreAPIDetectDocumentBoundaryOperation protocol

An operation for image boundaries detection. Use the applyToImage method of the RTRCoreAPIImageOperation protocol to apply the operation to the image.

Properties

Name Type Description
areaOfInterest CGPoint Area of interest for the operation.
mode RTRDetectDocumentBoundaryMode

Document boundary detection mode. The mode influences the crop speed and accuracy.

documentSize CGSize [in, out] The document size in millimeters.
documentBoundary NSArray<NSValue*>*, read-only

[out] The detected document boundary. Currently the result is always returned as the four vertex points of the bounding quadrangle. The vertices are indexed clockwise starting from the bottom left.

Get the NSValue.CGPointValue property to obtain point coordinates as a CGPoint.

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.