DocumentScannerParameters constructor
DocumentScannerParameters({ - int acceptedAngleScore = 75,
- int acceptedSizeScore = 80,
- int acceptedBrightnessThreshold = 0,
- int acceptedAspectRatioScore = 85,
- List<AspectRatio>? aspectRatios,
- bool ignoreOrientationMismatch = false,
})
Implementation
DocumentScannerParameters({
this.acceptedAngleScore = 75,
this.acceptedSizeScore = 80,
this.acceptedBrightnessThreshold = 0,
this.acceptedAspectRatioScore = 85,
List<AspectRatio>? aspectRatios,
this.ignoreOrientationMismatch = false,
}) : aspectRatios = aspectRatios ?? [];