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