FirebaseMLVision Framework Reference

Classes

The following classes are available globally.

  • A Firebase service that supports vision APIs.

    Declaration

    Swift

    class Vision : NSObject
  • An address.

    Declaration

    Swift

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

    Declaration

    Swift

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

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    class VisionBarcodeWifi : 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 the FIRVisionBarcodes rawValue property.

    Declaration

    Swift

    class VisionBarcodeContactInfo : NSObject
  • A barcode in an image.

    Declaration

    Swift

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

    Declaration

    Swift

    class VisionBarcodeDetector : NSObject
  • Options for specifying a Barcode detector.

    Declaration

    Swift

    class VisionBarcodeDetectorOptions : NSObject
  • Generic options of a vision cloud detector.

    Declaration

    Swift

    class VisionCloudDetectorOptions : NSObject
  • Options for a cloud document text recognizer.

    Declaration

    Swift

    class VisionCloudDocumentTextRecognizerOptions : NSObject
  • Options for a cloud image labeler.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    class VisionCloudLandmarkDetector : NSObject
  • Options for a cloud text recognizer.

    Declaration

    Swift

    class VisionCloudTextRecognizerOptions : NSObject
  • Recognized document text in an image.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    class VisionDocumentTextWord : NSObject
  • A human face detected in an image.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    class VisionFaceDetector : NSObject
  • Options for specifying a face detector.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    class VisionImage : NSObject
  • Represents a label for an image.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    class VisionImageMetadata : NSObject
  • An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.

    Declaration

    Swift

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

    Declaration

    Swift

    class VisionOnDeviceImageLabelerOptions : NSObject
  • A 2D or 3D point in the image. A valid point must have both x and y coordinates. The point’s coordinates are in the same scale as the original image.

    Declaration

    Swift

    class VisionPoint : NSObject
  • Recognized text in an image.

    Declaration

    Swift

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

    Declaration

    Swift

    class VisionTextBlock : NSObject
  • A text element recognized in an image. A text element is roughly equivalent to a space-separated word in most Latin-script languages.

    Declaration

    Swift

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

    Declaration

    Swift

    class VisionTextLine : NSObject
  • Detected break from text recognition.

    Declaration

    Swift

    class VisionTextRecognizedBreak : NSObject
  • Detected language from text recognition.

    Declaration

    Swift

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

    Declaration

    Swift

    class VisionTextRecognizer : NSObject