FIRVisionCloudPage


@interface FIRVisionCloudPage : NSObject

A page consisting of VisionCloudBlock objects.

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

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable)
        NSArray<FIRVisionCloudBlock *> *blocks;
  • Confidence of the OCR results on the page. The value is a float, in range [0, 1].

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSNumber *confidence;
  • The page width. For PDFs, the unit is points. For images (including TIFFs) the unit is pixels. The value is an int.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSNumber *width;
  • The page height. For PDFs, the unit is points. For images (including TIFFs) the unit is pixels. The value is an int.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSNumber *height;
  • Additional information detected for the page.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable)
        FIRVisionCloudTextProperty *textProperty;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;