Send feedback
FirebaseMLVision Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
VisionCloudImageLabelerOptions
class VisionCloudImageLabelerOptions : NSObject
Options for a cloud image labeler.
The confidence threshold for labels returned by the image labeler. Labels returned by the image
labeler will have a confidence level higher or equal to the given threshold. Values must be in
range [0, 1]. If unset or an invalid value is set, the default threshold of 0.5 is used. Up to 20
labels with the top confidence will be returned.
Declaration
Swift
var confidenceThreshold : Float { 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 image labeler options with the
default values.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-11 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?