hr

hubot-rekognition

Hubot script to fetch image labels via AWS Rekognition

Showing:

Popularity

Downloads/wk

0

GitHub Stars

0

Maintenance

Last Commit

5yrs ago

Contributors

1

Package

Dependencies

3

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

hubot-rekognition Build Status

A hubot script that will run an image through the AWS Rekognition detectLabels function.

See src/rekognition.coffee for full documentation.

Installation

In your hubot project repo, run:

npm install hubot-rekognition --save

Then add hubot-rekognition to your external-scripts.json:

["hubot-rekognition"]

Configuration

hubot-rekognition requires a bit of configuration in the form of environment variables to get everything working:

  • HUBOT_S3_BUCKET - the S3 bucket you'd like to upload images to
  • HUBOT_AWS_ACCESS_KEY_ID - an AWS access id with access to S3 and Rekognition
  • HUBOT_AWS_SECRET_ACCESS_KEY - a matching AWS secret key
  • HUBOT_AWS_REGION - the AWS region you'd like to use. eg: 'us-west-2'

Sample Interaction

user1>> @hubot What do you see? <picture>
hubot>> I think I see: Electronics (80.4%), Monitor (80.4%), Screen (80.4%)...

TODO

  • Remove dependency on knox
  • Create more meaningful tests
  • Experiment with Bytes instead of S3Bucket

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial