Created
March 12, 2018 07:11
-
-
Save suyashgupta25/9d05f8738e43659f1fffe33d7d90a348 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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