DocumentStraighteningResult

data class DocumentStraighteningResult(val straightenedImage: ImageRef? = null) : AutoCloseable, Parcelable

Result of the document straightening.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The straightened document image. Can be null if no document was detected.

Functions

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