CreateDocumentOptions

data class CreateDocumentOptions(var documentImageSizeLimit: Int = 0, var filters: List<ParametricFilter>? = null, var documentDetection: Boolean = true, var straighteningParameters: DocumentStraighteningParameters = DocumentStraighteningParameters( ))

Options for creating a document from images.

Constructors

Link copied to clipboard
constructor(documentImageSizeLimit: Int = 0, filters: List<ParametricFilter>? = null, documentDetection: Boolean = true, straighteningParameters: DocumentStraighteningParameters = DocumentStraighteningParameters( ))
constructor(source: Map<String, Any?>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Recognizes documents on created document.

Link copied to clipboard

The maximum size of the document image. 0 means no limit.

Link copied to clipboard

The list of filters applied to the page. If not specified, no filters are applied.

Link copied to clipboard

The parameters to use for straightening.

Functions

Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JsonObject
Link copied to clipboard
fun toJsonString(config: ToJsonConfiguration = ToJsonConfiguration.default()): String