VisionCloudTextRecognizerOptions
class VisionCloudTextRecognizerOptions : NSObject
Options for a cloud text recognizer.
-
Model type for cloud text recognition. The default is
VisionCloudTextModelType.sparse
.Declaration
Swift
var modelType: VisionCloudTextModelType { get set }
-
An array of hinted language codes for cloud text recognition. The default is
nil
. See https://cloud.google.com/vision/docs/languages for supported language codes.Declaration
Swift
var languageHints: [String]? { get set }
-
API key to use for Cloud Vision API. If
nil
, the default API key from FirebaseApp will be used.Declaration
Swift
var apiKeyOverride: String? { get set }
-
Designated initializer that creates a new instance of cloud text recognizer options.
Declaration
Swift
init()