FIRVisionCloudTextDetector


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

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