Skip to content

Instantly share code, notes, and snippets.

@GantMan
Created February 18, 2019 19:41
Show Gist options
  • Save GantMan/4ec670e229c41361e8d05d814ba7dd2c to your computer and use it in GitHub Desktop.
Save GantMan/4ec670e229c41361e8d05d814ba7dd2c to your computer and use it in GitHub Desktop.
// Gimme that image
const img = document.getElementById('questionable_img')
// Classify the image
const predictions = await model.classify(img)
// Share results
console.log('Predictions: ', predictions)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment