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