# DocumentQualityAnalyzerConfiguration constructor

DocumentQualityAnalyzerConfiguration({

1. List<DocumentQualityThreshold>? qualityThresholds,
2. List<DocumentQuality>? qualityIndices,
3. bool detectOrientation = false,
4. bool inspectSmallText = false,
5. int maxImageSize = 2000,
6. int minEstimatedNumberOfSymbolsForDocument = 20,
7. double minProcessedFraction = 0.0,
8. double maxProcessedFraction = 0.5,
9. int earlyStopIfNSymbolsFound = 100,
10. int tileSize = 300,
11. bool returnQualityHeatmap = false,

})

## Implementation

    DocumentQualityAnalyzerConfiguration({
      List<DocumentQualityThreshold>? qualityThresholds,
      List<DocumentQuality>? qualityIndices,
      this.detectOrientation = false,
      this.inspectSmallText = false,
      this.maxImageSize = 2000,
      this.minEstimatedNumberOfSymbolsForDocument = 20,
      this.minProcessedFraction = 0.0,
      this.maxProcessedFraction = 0.5,
      this.earlyStopIfNSymbolsFound = 100,
      this.tileSize = 300,
      this.returnQualityHeatmap = false,
    })  : qualityThresholds = qualityThresholds ??
              [
                DocumentQualityThreshold(symbolQuality: 0.5, symbolRatio: 0.5),
                DocumentQualityThreshold(symbolQuality: 0.7, symbolRatio: 0.3),
                DocumentQualityThreshold(symbolQuality: 0.85, symbolRatio: 0.3),
                DocumentQualityThreshold(symbolQuality: 0.9, symbolRatio: 0.1)
              ],
          qualityIndices = qualityIndices ??
              [
                DocumentQuality.VERY_POOR,
                DocumentQuality.POOR,
                DocumentQuality.REASONABLE,
                DocumentQuality.GOOD,
                DocumentQuality.EXCELLENT
              ];