DocumentScanningResult

data class DocumentScanningResult(val detectionResult: DocumentDetectionResult, val croppedImage: ImageRef? = null) : AutoCloseable, Parcelable

Result of the document detection followed by cropping of the found document.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(detectionResult: DocumentDetectionResult, croppedImage: ImageRef? = null)

Properties

Link copied to clipboard
val croppedImage: ImageRef? = null

Cropped document image.

Link copied to clipboard

Result of the document contour detection.

Functions

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