Classes

The following classes are available globally.

  • A Firebase service that supports vision APIs.

    Declaration

    Objective-C

    
    @interface FIRVision : NSObject
  • An address.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    
    @interface FIRVisionBarcodeCalendarEvent : NSObject
  • A driver license or ID card data representation.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    
    @interface FIRVisionBarcodeWiFi : NSObject
  • A person’s or organization’s business card. For example, a vCard.

    Declaration

    Objective-C

    
    @interface FIRVisionBarcodeContactInfo : NSObject
  • A barcode in an image.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    
    @interface FIRVisionBarcodeDetector : NSObject
  • A block consisting of VisionCloudParagraph objects.

    Declaration

    Objective-C

    
    @interface FIRVisionCloudBlock : NSObject
  • Detected start or end of a structural component.

    Declaration

    Objective-C

    
    @interface FIRVisionCloudDetectedBreak : NSObject
  • Detected language for a structural component.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    
    @interface FIRVisionCloudDetectorOptions : 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

    Objective-C

    
    @interface FIRVisionCloudDocumentTextDetector : NSObject
  • Set of label properties identified by a vision cloud detector.

    Declaration

    Objective-C

    
    @interface FIRVisionCloudLabel : NSObject
  • A label detector that detects labels in an image.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    
    @interface FIRVisionCloudLandmarkDetector : NSObject
  • A page consisting of VisionCloudBlock objects.

    Declaration

    Objective-C

    
    @interface FIRVisionCloudPage : NSObject
  • A paragraph consisting of VisionCloudWord objects in a certain order.

    Declaration

    Objective-C

    
    @interface FIRVisionCloudParagraph : NSObject
  • A representation of a single symbol.

    Declaration

    Objective-C

    
    @interface FIRVisionCloudSymbol : NSObject
  • Represents text identified by the vision cloud text detector.

    Declaration

    Objective-C

    
    @interface FIRVisionCloudText : 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

    Objective-C

    
    @interface FIRVisionCloudTextDetector : NSObject
  • Additional information detected on the structural component for text detection.

    Declaration

    Objective-C

    
    @interface FIRVisionCloudTextProperty : NSObject
  • A representation of a word consisting of VisionSymbol objects.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    
    @interface FIRVisionFaceDetector : NSObject
  • Options for specifying a face detector.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    
    @interface FIRVisionImageMetadata : NSObject
  • Represents a label for an image.

    Declaration

    Objective-C

    
    @interface FIRVisionLabel : NSObject
  • A label detector that detects labels in an image.

    Declaration

    Objective-C

    
    @interface FIRVisionLabelDetector : 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

    Objective-C

    
    @interface FIRVisionLatitudeLongitude : 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

    Objective-C

    
    @interface FIRVisionPoint : 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

    Objective-C

    
    @interface FIRVisionTextBlock : NSObject <FIRVisionText>
  • A text detector that detects texts in an image.

    Declaration

    Objective-C

    
    @interface FIRVisionTextDetector : 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

    Objective-C

    
    @interface FIRVisionTextElement : NSObject <FIRVisionText>