analyzeQualityOfDocument method

  1. @Deprecated('Please, use ScanbotDocument.analyzeQualityOnImageRef or ScanbotDocument.analyzeQualityOnImageFileUri instead.')
Future<Result<DocumentQualityAnalyzerResult>> analyzeQualityOfDocument(
  1. Page page, {
  2. Size? analyzerImageSizeLimit,
})

Analyzes the documment quality of a given page.

page - Page to be analyzed. analyzerImageSizeLimit - Size limit of the analyzer image.

Returns a Future that completes with result of the quality analysis.

Implementation

@Deprecated(
    'Please, use ScanbotDocument.analyzeQualityOnImageRef or ScanbotDocument.analyzeQualityOnImageFileUri instead.')
Future<Result<DocumentQualityAnalyzerResult>> analyzeQualityOfDocument(
    Page page,
    {Size? analyzerImageSizeLimit}) {
  return ScanbotLegacyPageImpl.analyzeQualityOfDocument(
      page, analyzerImageSizeLimit);
}