GenericIDCardModel
A class derived from DocumentModel containing details specifying details for a Generic ID card model
Declaration
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
Summary
Public variables
Public methods
Public variables
frontResult
@objc final public var frontResult: String? { get }
Example: "Some\ndata\nin\nthe\nframe"
The entire front String captured by OCR
backResult
@objc final public var backResult: String? { get }
Example: "Some\ndata\nin\nthe\nframe"
The entire back String captured by OCR
Public methods
encode(to encoder: Encoder)
override final public func encode(to encoder: Encoder) throws
This function also calls its super function
Encodes the model using the encoder provided. Used to convert the model to JSON.
See also
Last updated