Skip to content

Instantly share code, notes, and snippets.

@suyashgupta25
Last active March 12, 2018 06:51
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/7356660863f973c2c7c9bf753d0c515b to your computer and use it in GitHub Desktop.
Save suyashgupta25/7356660863f973c2c7c9bf753d0c515b to your computer and use it in GitHub Desktop.
let classificationRequest = VNCoreMLRequest(model:visionModel, completionHandler: handleDetections)
// make a global variable in your UIViewCOntroller : var requests = [VNRequest]()
self.requests = [classificationRequest]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment