FirebaseMLVision Framework Reference Stay organized with collections Save and categorize content based on your preferences.
Classes
The following classes are available globally.
A Firebase service that supports vision APIs.
Declaration
Objective-C
@interfaceFIRVision:NSObjectAn address.
Declaration
Objective-C
@interfaceFIRVisionBarcodeAddress:NSObjectA calendar event extracted from a QR code.
Declaration
Objective-C
@interfaceFIRVisionBarcodeCalendarEvent:NSObjectA driver license or ID card data representation.
An ANSI driver license contains more fields than are represented by this class. The
FIRVisionBarcodesrawValueproperty can be used to access the other fields.Declaration
Objective-C
@interfaceFIRVisionBarcodeDriverLicense:NSObjectAn email message from a ‘MAILTO:’ or similar QR Code type.
Declaration
Objective-C
@interfaceFIRVisionBarcodeEmail:NSObjectGPS coordinates from a ‘GEO:’ or similar QR Code type data.
Declaration
Objective-C
@interfaceFIRVisionBarcodeGeoPoint:NSObjectA person’s name, both formatted and as individual name components.
Declaration
Objective-C
@interfaceFIRVisionBarcodePersonName:NSObjectA phone number from a ‘TEL:’ or similar QR Code type.
Declaration
Objective-C
@interfaceFIRVisionBarcodePhone:NSObjectAn SMS message from an ‘SMS:’ or similar QR Code type.
Declaration
Objective-C
@interfaceFIRVisionBarcodeSMS:NSObjectA URL and title from a ‘MEBKM:’ or similar QR Code type.
Declaration
Objective-C
@interfaceFIRVisionBarcodeURLBookmark:NSObjectWi-Fi network parameters from a ‘WIFI:’ or similar QR Code type.
Declaration
Objective-C
@interfaceFIRVisionBarcodeWiFi:NSObjectA person’s or organization’s business card. This may come from different underlying formats including VCARD and MECARD.
This object represents a simplified view of possible business cards. If you require lossless access to the information in the barcode, you should parse the raw data yourself. To access the raw data, use the
FIRVisionBarcodesrawValueproperty.Declaration
Objective-C
@interfaceFIRVisionBarcodeContactInfo:NSObjectA barcode in an image.
Declaration
Objective-C
@interfaceFIRVisionBarcode:NSObjectA barcode detector that detects barcodes in an image.
Declaration
Objective-C
@interfaceFIRVisionBarcodeDetector:NSObjectOptions for specifying a Barcode detector.
Declaration
Objective-C
@interfaceFIRVisionBarcodeDetectorOptions:NSObjectGeneric options of a vision cloud detector.
Declaration
Objective-C
@interfaceFIRVisionCloudDetectorOptions:NSObjectOptions for a cloud document text recognizer.
Declaration
Objective-C
@interfaceFIRVisionCloudDocumentTextRecognizerOptions:NSObjectOptions for a cloud image labeler.
Declaration
Objective-C
@interfaceFIRVisionCloudImageLabelerOptions:NSObjectSet of landmark properties identified by a vision cloud detector.
Declaration
Objective-C
@interfaceFIRVisionCloudLandmark:NSObjectA landmark detector that detects landmark in an image.
Declaration
Objective-C
@interfaceFIRVisionCloudLandmarkDetector:NSObjectOptions for a cloud text recognizer.
Declaration
Objective-C
@interfaceFIRVisionCloudTextRecognizerOptions:NSObjectRecognized document text in an image.
Declaration
Objective-C
@interfaceFIRVisionDocumentText:NSObjectA document text block recognized in an image that consists of an array of paragraphs.
Declaration
Objective-C
@interfaceFIRVisionDocumentTextBlock:NSObjectA document text paragraph recognized in an image that consists of an array of words.
Declaration
Objective-C
@interfaceFIRVisionDocumentTextParagraph:NSObjectA cloud document text recognizer that recognizes text in an image.
Declaration
Objective-C
@interfaceFIRVisionDocumentTextRecognizer:NSObjectA document text symbol recognized in an image.
Declaration
Objective-C
@interfaceFIRVisionDocumentTextSymbol:NSObjectA document text word recognized in an image that consists of an array of symbols.
Declaration
Objective-C
@interfaceFIRVisionDocumentTextWord:NSObjectA human face detected in an image.
Declaration
Objective-C
@interfaceFIRVisionFace:NSObjectA contour on a human face detected in an image.
Declaration
Objective-C
@interfaceFIRVisionFaceContour:NSObjectA face detector that detects faces in an image.
Declaration
Objective-C
@interfaceFIRVisionFaceDetector:NSObjectOptions for specifying a face detector.
Declaration
Objective-C
@interfaceFIRVisionFaceDetectorOptions:NSObjectA landmark on a human face detected in an image.
Declaration
Objective-C
@interfaceFIRVisionFaceLandmark:NSObjectAn image or image buffer used in vision detection, with optional metadata.
Declaration
Objective-C
@interfaceFIRVisionImage:NSObjectRepresents a label for an image.
Declaration
Objective-C
@interfaceFIRVisionImageLabel:NSObjectAn on-device or cloud image labeler for labeling images.
Declaration
Objective-C
@interfaceFIRVisionImageLabeler:NSObjectMetadata of an image used in feature detection.
Declaration
Objective-C
@interfaceFIRVisionImageMetadata:NSObjectAn object representing a latitude/longitude pair. This is expressed as a pair of doublesrepresenting degrees latitude and degrees longitude. Unless specified otherwise, this mustconform to theWGS84standard. Values must be within normalized ranges.
Declaration
Objective-C
@interfaceFIRVisionLatitudeLongitude:NSObjectOptions for an on-device image labeler.
Declaration
Objective-C
@interfaceFIRVisionOnDeviceImageLabelerOptions:NSObjectA 2D or 3D point in the image. A valid point must have both x and y coordinates. The point’scoordinates are in the same scale as the original image.
Declaration
Objective-C
@interfaceFIRVisionPoint:NSObjectRecognized text in an image.
Declaration
Objective-C
@interfaceFIRVisionText:NSObjectA text block recognized in an image that consists of an array of text lines.
Declaration
Objective-C
@interfaceFIRVisionTextBlock:NSObjectA text element recognized in an image. A text element is roughly equivalent to a space-separatedword in most Latin-script languages.
Declaration
Objective-C
@interfaceFIRVisionTextElement:NSObjectA text line recognized in an image that consists of an array of elements.
Declaration
Objective-C
@interfaceFIRVisionTextLine:NSObjectDetected break from text recognition.
Declaration
Objective-C
@interfaceFIRVisionTextRecognizedBreak:NSObjectDetected language from text recognition.
Declaration
Objective-C
@interfaceFIRVisionTextRecognizedLanguage:NSObjectAn on-device or cloud text recognizer that recognizes text in an image.
Declaration
Objective-C
@interfaceFIRVisionTextRecognizer:NSObject
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-11 UTC.