Skip to content

Instantly share code, notes, and snippets.

@lando22
Created May 26, 2022 21: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 lando22/086d44e8a62a26f88d422c1a4514ed8f to your computer and use it in GitHub Desktop.
Save lando22/086d44e8a62a26f88d422c1a4514ed8f to your computer and use it in GitHub Desktop.
import humingbird
prediction = humingbird.Image.predict(
image_path='ice-cream.jpg',
labels=["strawberry ice cream", "vanilla ice cream", "chocolate ice cream"] # add more if you'd like :)
)
print(prediction)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment