FIRVisionCloudDocumentTextDetector


@interface FIRVisionCloudDocumentTextDetector : 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.

  • Unavailable. Use Vision factory methods.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Detects text in a given image.

    Declaration

    Objective-C

    - (void)detectInImage:(nonnull FIRVisionImage *)image
               completion:(nonnull FIRVisionCloudTextDetectionCompletion)completion;

    Parameters

    image

    The image to use for detecting a text.

    completion

    Handler to call back on the main queue with the text detected or error.