Skip to content

Instantly share code, notes, and snippets.

@m25lazi
Created August 5, 2017 06:28
Show Gist options
  • Save m25lazi/987c86b6f55ba0bad4a65b899b8800ea to your computer and use it in GitHub Desktop.
Save m25lazi/987c86b6f55ba0bad4a65b899b8800ea to your computer and use it in GitHub Desktop.
Using Inception Model to predict the object
var model = Inceptionv3()
let output = try? model.prediction(image: pixelBuffer)
let prediction = output?.classLabel ?? “I don’t know! 😞”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment