Scan

data class Scan(val originalImageFile: File, val enhancedImageFile: File, val ocrResult: ScanResult.OcrResult? = null, val structuredDataResult: StructuredDataResult? = null) : Serializable

A single page that was scanned during the scan flow.

Constructors

Link copied to clipboard
constructor(originalImageFile: File, enhancedImageFile: File, ocrResult: ScanResult.OcrResult? = null, structuredDataResult: StructuredDataResult? = null)

Properties

Link copied to clipboard

The image after the processing operations (perspective correction, filter…).

Link copied to clipboard

Result of text recognition for this captured image. Null if text recognition did not run or if it failed. Check logs for more details about text recognition failures.

Link copied to clipboard

The original image that was captured by the camera.

Link copied to clipboard

Result of text structured data extraction for this captured image. Null if extraction did not run or if it failed.