Skip to content

Instantly share code, notes, and snippets.

@suyashgupta25
Created March 12, 2018 07: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 suyashgupta25/9d05f8738e43659f1fffe33d7d90a348 to your computer and use it in GitHub Desktop.
Save suyashgupta25/9d05f8738e43659f1fffe33d7d90a348 to your computer and use it in GitHub Desktop.
let imageRequestHandler = VNImageRequestHandler(cvPixelBuffer: pixbuff!, orientation: CGImagePropertyOrientation.right, options: [:])
// Run Image Request
do {
if requests.count > 0 {
try imageRequestHandler.perform(self.requests)
}
} catch {
print(error)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment