A hubot script that interacts with Clarifai's API to recognize images.
-
Register an app on Clarifai. Yup! They have a free tier.
-
Get your client id and secret in the step above and export them as environment variables
CLIENT_ID
andCLIENT_SECRET
:
export CLIENT_ID=HugeCR4zyV4luesTh3yW1!!g1veU
- In hubot project repo, run:
npm install hubot-recognizer --save
Then add hubot-recognizer to your external-scripts.json
:
[
"hubot-recognizer"
]
[robot] what is this [image url]
- Checkout video analysis API