FirebaseMLVision Framework Reference

Classes

The following classes are available globally.

  • A Firebase service that supports vision APIs.

    Declaration

    Swift

    classVision:NSObject
  • An address.

    Declaration

    Swift

    classVisionBarcodeAddress:NSObject
  • A calendar event extracted from a QR code.

    Declaration

    Swift

    classVisionBarcodeCalendarEvent:NSObject
  • A driver license or ID card data representation.

    An ANSI driver license contains more fields than are represented by this class. TheFIRVisionBarcodesrawValue property can be used to access the other fields.

    Declaration

    Swift

    classVisionBarcodeDriverLicense:NSObject
  • An email message from a ‘MAILTO:’ or similar QR Code type.

    Declaration

    Swift

    classVisionBarcodeEmail:NSObject
  • GPS coordinates from a ‘GEO:’ or similar QR Code type data.

    Declaration

    Swift

    classVisionBarcodeGeoPoint:NSObject
  • A person’s name, both formatted and as individual name components.

    Declaration

    Swift

    classVisionBarcodePersonName:NSObject
  • A phone number from a ‘TEL:’ or similar QR Code type.

    Declaration

    Swift

    classVisionBarcodePhone:NSObject
  • An SMS message from an ‘SMS:’ or similar QR Code type.

    Declaration

    Swift

    classVisionBarcodeSMS:NSObject
  • A URL and title from a ‘MEBKM:’ or similar QR Code type.

    Declaration

    Swift

    classVisionBarcodeURLBookmark:NSObject
  • Wi-Fi network parameters from a ‘WIFI:’ or similar QR Code type.

    Declaration

    Swift

    classVisionBarcodeWifi:NSObject
  • A 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 theFIRVisionBarcodesrawValue property.

    Declaration

    Swift

    classVisionBarcodeContactInfo:NSObject
  • A barcode in an image.

    Declaration

    Swift

    classVisionBarcode:NSObject
  • A barcode detector that detects barcodes in an image.

    Declaration

    Swift

    classVisionBarcodeDetector:NSObject
  • Options for specifying a Barcode detector.

    Declaration

    Swift

    classVisionBarcodeDetectorOptions:NSObject
  • Generic options of a vision cloud detector.

    Declaration

    Swift

    classVisionCloudDetectorOptions:NSObject
  • Options for a cloud document text recognizer.

    Declaration

    Swift

    classVisionCloudDocumentTextRecognizerOptions:NSObject
  • Options for a cloud image labeler.

    Declaration

    Swift

    classVisionCloudImageLabelerOptions:NSObject
  • Set of landmark properties identified by a vision cloud detector.

    Declaration

    Swift

    classVisionCloudLandmark:NSObject
  • A landmark detector that detects landmark in an image.

    Declaration

    Swift

    classVisionCloudLandmarkDetector:NSObject
  • Options for a cloud text recognizer.

    Declaration

    Swift

    classVisionCloudTextRecognizerOptions:NSObject
  • Recognized document text in an image.

    Declaration

    Swift

    classVisionDocumentText:NSObject
  • A document text block recognized in an image that consists of an array of paragraphs.

    Declaration

    Swift

    classVisionDocumentTextBlock:NSObject
  • A document text paragraph recognized in an image that consists of an array of words.

    Declaration

    Swift

    classVisionDocumentTextParagraph:NSObject
  • A cloud document text recognizer that recognizes text in an image.

    Declaration

    Swift

    classVisionDocumentTextRecognizer:NSObject
  • A document text symbol recognized in an image.

    Declaration

    Swift

    classVisionDocumentTextSymbol:NSObject
  • A document text word recognized in an image that consists of an array of symbols.

    Declaration

    Swift

    classVisionDocumentTextWord:NSObject
  • A human face detected in an image.

    Declaration

    Swift

    classVisionFace:NSObject
  • A contour on a human face detected in an image.

    Declaration

    Swift

    classVisionFaceContour:NSObject
  • A face detector that detects faces in an image.

    Declaration

    Swift

    classVisionFaceDetector:NSObject
  • Options for specifying a face detector.

    Declaration

    Swift

    classVisionFaceDetectorOptions:NSObject
  • A landmark on a human face detected in an image.

    Declaration

    Swift

    classVisionFaceLandmark:NSObject
  • An image or image buffer used in vision detection, with optional metadata.

    Declaration

    Swift

    classVisionImage:NSObject
  • Represents a label for an image.

    Declaration

    Swift

    classVisionImageLabel:NSObject
  • An on-device or cloud image labeler for labeling images.

    Declaration

    Swift

    classVisionImageLabeler:NSObject
  • Metadata of an image used in feature detection.

    Declaration

    Swift

    classVisionImageMetadata:NSObject
  • An 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

    Swift

    classVisionLatitudeLongitude:NSObject
  • Options for an on-device image labeler.

    Declaration

    Swift

    classVisionOnDeviceImageLabelerOptions:NSObject
  • A 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

    Swift

    classVisionPoint:NSObject
  • Recognized text in an image.

    Declaration

    Swift

    classVisionText:NSObject
  • A text block recognized in an image that consists of an array of text lines.

    Declaration

    Swift

    classVisionTextBlock:NSObject
  • A text element recognized in an image. A text element is roughly equivalent to a space-separatedword in most Latin-script languages.

    Declaration

    Swift

    classVisionTextElement:NSObject
  • A text line recognized in an image that consists of an array of elements.

    Declaration

    Swift

    classVisionTextLine:NSObject
  • Detected break from text recognition.

    Declaration

    Swift

    classVisionTextRecognizedBreak:NSObject
  • Detected language from text recognition.

    Declaration

    Swift

    classVisionTextRecognizedLanguage:NSObject
  • An on-device or cloud text recognizer that recognizes text in an image.

    Declaration

    Swift

    classVisionTextRecognizer: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.