VisionTextRecognizer
class VisionTextRecognizer : NSObject
An on-device or cloud text recognizer that recognizes text in an image.
-
The text recognizer type.
Declaration
Swift
var type: VisionTextRecognizerType { get }
-
Unavailable. Use
Vision
factory methods. -
Processes the given image for on-device or cloud text recognition.
Declaration
Swift
func process(_ image: FIRVisionImage, completion: @escaping VisionTextRecognitionCallback)
Parameters
image
The image to process for recognizing text.
completion
Handler to call back on the main queue when text recognition completes.