DocumentDataExtractionResult

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

Contains the result of running the generic document extractor.

Constructors

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

Properties

Link copied to clipboard
val croppedImage: ImageRef? = null

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
Link copied to clipboard
open override fun close()
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject