Vision
class Vision : NSObjectA Firebase service that supports vision APIs.
- 
                  
                  Enables stats collection in ML Kit vision. The stats include API call counts, errors, API call durations, options, etc. No personally identifiable information is logged. The setting is per FirebaseApp, and therefore perVision, and it is persistent across launches of the app. It means if the user uninstalls the app or clears all app data, the setting will be erased. The best practice is to set the flag in each initialization.By default the logging is enabled. You have to specifically set it to false to disable logging. DeclarationSwift var isStatsCollectionEnabled: Bool { get set }
- 
                  
                  Gets an instance of Firebase Vision service for the default Firebase app. The default Firebase app instance must be configured before calling this method; otherwise, raises FIRAppNotConfigured exception. DeclarationSwift class func vision() -> SelfReturn ValueA Firebase Vision service instance, initialized with the default Firebase app. 
- 
                  
                  Gets an instance of Firebase Vision service for the custom Firebase app. DeclarationSwift class func vision(app: FIRApp) -> SelfParametersappThe custom Firebase app used for initialization. Raises FIRAppInvalid exception if appis nil.Return ValueA Firebase Vision service instance, initialized with the custom Firebase app. 
- 
                  
                  Unavailable. 
- 
                  
                  Gets a barcode detector with the given options. DeclarationSwift func barcodeDetector(options: FIRVisionBarcodeDetectorOptions) -> FIRVisionBarcodeDetectorParametersoptionsOptions containing barcode detector configuration. Return ValueA barcode detector configured with the given options. 
- 
                  
                  Gets a barcode detector with the default options. DeclarationSwift func barcodeDetector() -> FIRVisionBarcodeDetectorReturn ValueA barcode detector configured with the default options. 
- 
                  
                  Gets a face detector with the given options. DeclarationSwift func faceDetector(options: FIRVisionFaceDetectorOptions) -> FIRVisionFaceDetectorParametersoptionsOptions for configuring the face detector. Return ValueA face detector configured with the given options. 
- 
                  
                  Gets a face detector with the default options. DeclarationSwift func faceDetector() -> FIRVisionFaceDetectorReturn ValueA face detector configured with the default options. 
- 
                  
                  Gets an on-device image labeler with the given options. DeclarationSwift func onDeviceImageLabeler(options: FIRVisionOnDeviceImageLabelerOptions) -> FIRVisionImageLabelerParametersoptionsOptions for configuring the image labeler. Return ValueAn on-device image labeler configured with the given options. 
- 
                  
                  Gets an on-device image labeler with the default options. DeclarationSwift func onDeviceImageLabeler() -> FIRVisionImageLabelerReturn ValueAn on-device image labeler configured with the default options. 
- 
                  
                  Gets an on-device text recognizer. DeclarationSwift func onDeviceTextRecognizer() -> FIRVisionTextRecognizerReturn ValueA text recognizer. 
- 
                  
                  Gets a cloud text recognizer configured with the given options. DeclarationSwift func cloudTextRecognizer(options: FIRVisionCloudTextRecognizerOptions) -> FIRVisionTextRecognizerParametersoptionsOptions for configuring the cloud text recognizer. Return ValueA text recognizer configured with the given options. 
- 
                  
                  Gets a cloud text recognizer. DeclarationSwift func cloudTextRecognizer() -> FIRVisionTextRecognizerReturn ValueA text recognizer. 
- 
                  
                  Gets a cloud document text recognizer configured with the given options. DeclarationSwift func cloudDocumentTextRecognizer(options: FIRVisionCloudDocumentTextRecognizerOptions) -> FIRVisionDocumentTextRecognizerParametersoptionsOptions for configuring the cloud document text recognizer. Return ValueA document text recognizer configured with the given options. 
- 
                  
                  Gets a cloud document text recognizer. DeclarationSwift func cloudDocumentTextRecognizer() -> FIRVisionDocumentTextRecognizerReturn ValueA document text recognizer. 
- 
                  
                  Gets an instance of cloud landmark detector with the given options. DeclarationSwift func cloudLandmarkDetector(options: FIRVisionCloudDetectorOptions) -> FIRVisionCloudLandmarkDetectorParametersoptionsOptions for configuring the cloud landmark detector. Return ValueA cloud landmark detector configured with the given options. 
- 
                  
                  Gets an instance of cloud landmark detector with default options. DeclarationSwift func cloudLandmarkDetector() -> FIRVisionCloudLandmarkDetectorReturn ValueA cloud landmark detector configured with default options. 
- 
                  
                  Gets an instance of cloud image labeler with the given options. DeclarationSwift func cloudImageLabeler(options: FIRVisionCloudImageLabelerOptions) -> FIRVisionImageLabelerParametersoptionsOptions for configuring the cloud image labeler. Return ValueA cloud image labeler configured with the given options. 
- 
                  
                  Gets an instance of cloud image labeler with default options. DeclarationSwift func cloudImageLabeler() -> FIRVisionImageLabelerReturn ValueA cloud image labeler configured with default options.