Last active
April 16, 2018 23:49
-
-
Save bourdakos1/219c373325d02181f36a255b964f20f2 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 classifierID = "your-classifier-id" | |
let failure = { (error: Error) in print(error) } | |
let image = UIImage(named: "your-image-filename") | |
visualRecognition.classifyWithLocalModel(image: image, classifierIDs: [classifierID], failure: failure) { | |
classifiedImages in print(classifiedImages) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment