VisionCloudPage

class VisionCloudPage : NSObject

A page consisting of VisionCloudBlock objects.

  • An array of blocks (text, image, etc.) on the page.

    Declaration

    Swift

    var blocks: [FIRVisionCloudBlock]? { get }
  • Confidence of the OCR results on the page. The value is a float, in range [0, 1].

    Declaration

    Swift

    var confidence: NSNumber? { get }
  • The page width. For PDFs, the unit is points. For images (including TIFFs) the unit is pixels. The value is an int.

    Declaration

    Swift

    var width: NSNumber? { get }
  • The page height. For PDFs, the unit is points. For images (including TIFFs) the unit is pixels. The value is an int.

    Declaration

    Swift

    var height: NSNumber? { get }
  • Additional information detected for the page.

    Declaration

    Swift

    var textProperty: FIRVisionCloudTextProperty? { get }
  • Unavailable.