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.

    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. For example, a vCard.

    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
  • Detected start or end of a structural component.

    Declaration

    Swift

    class VisionCloudDetectedBreak : NSObject
  • Detected language for a structural component.

    Declaration

    Swift

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

    Declaration

    Swift

    class VisionCloudDetectorOptions : NSObject
  • A document text detector that detects text in an image. This detector is optimized for dense text or document images. For text detection within a normal image, see VisionCloudTextDetector.

    Declaration

    Swift

    class VisionCloudDocumentTextDetector : NSObject
  • Set of label properties identified by a vision cloud detector.

    Declaration

    Swift

    class VisionCloudLabel : NSObject
  • A label detector that detects labels in an image.

    Declaration

    Swift

    class VisionCloudLabelDetector : 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
  • A representation of a single symbol.

    Declaration

    Swift

    class VisionCloudSymbol : NSObject
  • Represents text identified by the vision cloud text detector.

    Declaration

    Swift

    class VisionCloudText : NSObject
  • A text detector that detects a text in an image. This detector is optimized for areas of normal text within a larger image. For text detection within a document or dense text image, see VisionCloudDocumentTextDetector.

    Declaration

    Swift

    class VisionCloudTextDetector : NSObject
  • Additional information detected on the structural component for text detection.

    Declaration

    Swift

    class VisionCloudTextProperty : NSObject
  • A representation of a word consisting of VisionSymbol objects.

    Declaration

    Swift

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

    Declaration

    Swift

    class VisionFace : 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
  • Metadata of an image used in feature detection.

    Declaration

    Swift

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

    Declaration

    Swift

    class VisionLabel : NSObject
  • A label detector that detects labels in an image.

    Declaration

    Swift

    class VisionLabelDetector : 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
  • 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
  • Describes a text block detected in a still image frame. Its properties provide details about detected text. A text block is a simple list of lines.

    Declaration

    Swift

    class VisionTextBlock : NSObject, VisionText
  • A text detector that detects texts in an image.

    Declaration

    Swift

    class VisionTextDetector : NSObject
  • Describes a single element in a line of detected text. An element is roughly equivalent to a space-separated word in most Latin-script languages.

    Declaration

    Swift

    class VisionTextElement : NSObject, VisionText
  • A single line of text detected in an image.

    Declaration

    Swift

    class VisionTextLine : NSObject, VisionText