FirebaseMLVision Framework Reference

FIRVisionCloudDetectorOptions


@interface FIRVisionCloudDetectorOptions : NSObject

Generic options of a vision cloud detector.

  • Type of model to use in vision cloud detection API. Defaults to .stable.

    Declaration

    Objective-C

    @property (nonatomic) FIRVisionCloudModelType modelType;
  • Maximum number of results to return. Defaults to 10. Does not apply to VisionTextRecognizer and VisionDocumentTextRecognizer.

    Declaration

    Objective-C

    @property (nonatomic) NSUInteger maxResults;
  • 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;