VinScannerConfiguration

data class VinScannerConfiguration(var extractVINFromBarcode: Boolean = false, var ocrResolutionLimit: Int = 0, var maximumNumberOfAccumulatedFrames: Int = 3, var minimumNumberOfRequiredFramesWithEqualScanningResult: Int = 2) : Parcelable

Configuration for the VIN scanner.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(extractVINFromBarcode: Boolean = false, ocrResolutionLimit: Int = 0, maximumNumberOfAccumulatedFrames: Int = 3, minimumNumberOfRequiredFramesWithEqualScanningResult: Int = 2)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

If true, the VIN scanner will also extract VINs from barcodes. Requires a license that allows barcode scanning in addition to VIN scanning.

Link copied to clipboard

Maximum number of accumulated frames to inspect before actual result is returned.

Minimum number of accumulated frames that have equal result.

Link copied to clipboard

Maximum image size (height or width) for OCR process. 0 - do not rescale.

Functions

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