DocumentDataExtractionResult

data class DocumentDataExtractionResult(val status: DocumentDataExtractionStatus, val document: GenericDocument?, val documentDetectionResult: DocumentDetectionResult, val croppedImage: ImageRef? = null) : AutoCloseable

Contains the result of running the document data extractor.

Constructors

Link copied to clipboard
constructor(status: DocumentDataExtractionStatus, document: GenericDocument?, documentDetectionResult: DocumentDetectionResult, croppedImage: ImageRef? = null)
constructor(source: Map<String, Any?>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Crop of the document if it was detected.

Link copied to clipboard

The extracted document.

Link copied to clipboard

Result of the document detection in the input image.

Link copied to clipboard

The status of the extraction process.

Functions

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