FIRVisionCloudTextRecognizerOptions


@interface FIRVisionCloudTextRecognizerOptions : NSObject

Options for a cloud text recognizer.

  • Model type for cloud text recognition. The default is VisionCloudTextModelType.sparse.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) FIRVisionCloudTextModelType modelType;
  • 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

    Objective-C

    @property (readwrite, copy, nonatomic, nullable)
        NSArray<NSString *> *languageHints;
  • API key to use for Cloud Vision API. If nil, the default API key from FirebaseApp will be used.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *APIKeyOverride;
  • Designated initializer that creates a new instance of cloud text recognizer options.

    Declaration

    Objective-C

    - (nonnull instancetype)init;