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.

    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

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

    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
  • Generic options of a vision cloud detector.

    Declaration

    Objective-C

    
    @interface FIRVisionCloudDetectorOptions : 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
  • Recognized document text in an image.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    
    @interface FIRVisionFaceContour : 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
  • Recognized text in an image.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Objective-C

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

    Declaration

    Objective-C

    
    @interface FIRVisionTextLine : NSObject
  • Detected break from text recognition.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    
    @interface FIRVisionTextRecognizer : NSObject