FirebaseMLVision Framework Reference

Classes

The following classes are available globally.

  • A Firebase service that supports vision APIs.

    Declaration

    Objective-C

    @interfaceFIRVision:NSObject
  • An address.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @interfaceFIRVisionBarcodeCalendarEvent: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

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @interfaceFIRVisionBarcodeWiFi: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

    Objective-C

    @interfaceFIRVisionBarcodeContactInfo:NSObject
  • A barcode in an image.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @interfaceFIRVisionBarcodeDetector:NSObject
  • Options for specifying a Barcode detector.

    Declaration

    Objective-C

    @interfaceFIRVisionBarcodeDetectorOptions:NSObject
  • Generic options of a vision cloud detector.

    Declaration

    Objective-C

    @interfaceFIRVisionCloudDetectorOptions:NSObject
  • Options for a cloud document text recognizer.

    Declaration

    Objective-C

    @interfaceFIRVisionCloudDocumentTextRecognizerOptions:NSObject
  • Options for a cloud image labeler.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @interfaceFIRVisionCloudLandmarkDetector:NSObject
  • Options for a cloud text recognizer.

    Declaration

    Objective-C

    @interfaceFIRVisionCloudTextRecognizerOptions:NSObject
  • Recognized document text in an image.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @interfaceFIRVisionDocumentTextWord:NSObject
  • A human face detected in an image.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @interfaceFIRVisionFaceDetector:NSObject
  • Options for specifying a face detector.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @interfaceFIRVisionImage:NSObject
  • Represents a label for an image.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @interfaceFIRVisionImageMetadata: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

    Objective-C

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

    Declaration

    Objective-C

    @interfaceFIRVisionOnDeviceImageLabelerOptions: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

    Objective-C

    @interfaceFIRVisionPoint:NSObject
  • Recognized text in an image.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @interfaceFIRVisionTextBlock:NSObject
  • A 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:NSObject
  • A text line recognized in an image that consists of an array of elements.

    Declaration

    Objective-C

    @interfaceFIRVisionTextLine:NSObject
  • Detected break from text recognition.

    Declaration

    Objective-C

    @interfaceFIRVisionTextRecognizedBreak:NSObject
  • Detected language from text recognition.

    Declaration

    Objective-C

    @interfaceFIRVisionTextRecognizedLanguage:NSObject
  • An 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.