ProcessByTileConfiguration class

Configuration for processing image by tiles. This can be used to make the document quality analyzer processing faster with lower memory consumption, but prediction can be less accurate.

Constructors

ProcessByTileConfiguration({bool enabled = false, double minProcessedFraction = 1.0, double maxProcessedFraction = 1.0, int minNumberOfRequiredSymbols = 100, int tileSize = 300})
ProcessByTileConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

enabled bool
Enable processing by tiles.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxProcessedFraction double
At most this fraction of the image will be processed, range is from 0 to 1. Decreasing this value below 1.0 can lead to faster processing but may result in less accurate prediction, as only a subset of the image tiles will be analyzed.
getter/setter pair
minNumberOfRequiredSymbols int
If this number of symbols is found and minProcessedFraction of the image is processed, the processing stops.
getter/setter pair
minProcessedFraction double
At least this fraction of the image will be processed, range is from 0 to 1. Decreasing this value below 1.0 can lead to faster processing but may result in less accurate prediction, as only a subset of the image tiles will be analyzed.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tileSize int
Image will be processed in tiles of this size; will be ignored if image is small.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({ToJsonConfiguration? config}) Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited