VisionCloudDocumentTextDetector

class VisionCloudDocumentTextDetector : 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.

  • Detects text in a given image.

    Declaration

    Swift

    func detect(in image: FIRVisionImage, completion: @escaping VisionCloudTextDetectionCompletion)

    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.