Optional
source: DeepPartial<DocumentQualityAnalyzerResult>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
documentTrue if a document was found
Readonly
orientationDominant orientation of the document, if found and if orientation detection is enabled. 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
qualityQuality of the document, if found
Generated using TypeDoc
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.