Skip to content

Instantly share code, notes, and snippets.

@fitomad
Created September 1, 2018 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fitomad/304dfe040f067d7d04e603b282cacba4 to your computer and use it in GitHub Desktop.
Save fitomad/304dfe040f067d7d04e603b282cacba4 to your computer and use it in GitHub Desktop.
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