GenericIDCardModel
A class derived from DocumentModel containing details specifying details for a Generic ID card model
Last updated
A class derived from DocumentModel containing details specifying details for a Generic ID card model
Last updated
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
@objc final public var frontResult: String? { get }
Example: "Some\ndata\nin\nthe\nframe"
The entire front String captured by OCR
@objc final public var backResult: String? { get }
Example: "Some\ndata\nin\nthe\nframe"
The entire back String captured by OCR
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.
Name
Type
Description
Data source
String?
The entire front String captured by OCR
OCR
String?
The entire back String captured by OCR
OCR
Signature
Return Type
Description
Void
Encodes the model using the encoder provided. Used to convert the model to JSON.