Skip to content

Instantly share code, notes, and snippets.

@mohdsanadzakirizvi
Created November 9, 2019 22:31
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 mohdsanadzakirizvi/9c4f37cd1f746cff8af970a12f653ff2 to your computer and use it in GitHub Desktop.
Save mohdsanadzakirizvi/9c4f37cd1f746cff8af970a12f653ff2 to your computer and use it in GitHub Desktop.
guard let ciImage = CIImage(image: image) else {
fatalError("couldn't convert UIImage to CIImage")
}
classifyImage(image: ciImage)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment