FirebaseMLVision Framework Reference

FIRVisionCloudDocumentTextRecognizerOptions


@interface FIRVisionCloudDocumentTextRecognizerOptions : NSObject

Options for a cloud document text recognizer.

  • An array of hinted language codes for cloud document text recognition. The default is nil. See https://cloud.google.com/vision/docs/languages for supported language codes.

    Declaration

    Objective-C

    @property (nonatomic, copy, 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 (nonatomic, copy, nullable) NSString *APIKeyOverride;
  • Designated initializer that creates a new instance of cloud document text recognizer options.

    Declaration

    Objective-C

    - (nonnull instancetype)init;