let sceneModel = SceneClassifier()
if let prediction = try? sceneModel.prediction(sceneImage: image) {
return prediction.sceneType
}
Created
June 4, 2018 17:13
-
-
Save islandjoe/d0672cbbaab5b3778bfbc10c8d4e3ea8 to your computer and use it in GitHub Desktop.
The minimum amount of code needed to perform a scene classification in CoreML.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment