DocumentScanningResult

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

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Cropped document image.

Link copied to clipboard

Result of the document contour detection.

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