Instantly share code, notes, and snippets.

Embed
What would you like to do?
private func prepareTextDetection() -> Void
{
self.requestText = VNDetectTextRectanglesRequest(completionHandler: self.handleTextDetection)
self.requestText.reportCharacterBoxes = true
}
private func handleTextDetection(request: VNRequest, error: Error?) -> Void
{
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment