Comment on page
GenericDocumentModel
A class derived from DocumentModel containing details specifying details for a Generic document model
@objc final public class GenericDocumentModel : DocumentModel {
@objc final public var result: String? { get }
override final public func encode(to encoder: Encoder) throws
}
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
Name | Type | Description | Data source |
String? | The entire String captured by OCR | OCR |
Signature | Return Type | Description |
Void | Encodes the model using the encoder provided. Used to convert the model to JSON. |
@objc final public var result: String? { get }
Example:
"Some\ndata\nin\nthe\nframe"
The entire String captured by OCR
override final public func encode(to encoder: Encoder) throws
Encodes the model using the encoder provided. Used to convert the model to JSON.
Last modified 1yr ago