Readonly bestReturns the best inputScale whose results are used (see inputScales configuration option).
Readonly cumulativeCumulative histogram where every entry is equal to the number of symbols with quality equal or lower than N percent, where N is the index of the entry in the array.
Readonly documentDeprecated, please use quality instead, because it provides a more reliable result.
True if a document was found.
Readonly orientationDominant orientation of the document, if found. The value is in degrees counter-clockwise, where 0 corresponds to the document being straight, and the value is in the range of [-180, 180]. To rotate the document to be straight, rotate the image clockwise by this value.
Readonly orientationConfidence that the reported orientation of the document is correct. The value is in the range of [0, 1]. Possible reasons for low confidence are:
Readonly qualityDocument quality as estimated from the given quality analysis model.
Readonly qualityQuality heatmap. Black marks areas of no detected text. Colors represent the quality of detected text, with red meaning the lowest quality and yellow and green meaning progressively higher quality.
Readonly qualityDeprecated, please use quality instead, because it provides a more reliable result.
Quality of the document, if found.
The exact behavior of this value can be configured with the qualityThresholds and qualityIndices parameters.
Result of document quality analysis. It can be used to determine, e.g., if a document is good enough to be used for OCR processing.
Example
Since the instance of the class contains objects backed by native resources (e.g. images) and implements
AsyncDisposableit's highly recommended to use theawait usingsyntax when an instance is created or is received from an API:Alternatively, one can explicitly call release method to release the native resources or use autorelease convenience function. If neither is used, the resource will be released when the instance is garbage collected which is not recommended.