https://github.com/jritsema/rekognotify
A CLI tool that emails an image if it contains a specific Rekognition label
https://github.com/jritsema/rekognotify
aws cli email rekognition
Last synced: 2 months ago
JSON representation
A CLI tool that emails an image if it contains a specific Rekognition label
- Host: GitHub
- URL: https://github.com/jritsema/rekognotify
- Owner: jritsema
- Created: 2017-07-04T19:28:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-04T22:37:36.000Z (about 9 years ago)
- Last Synced: 2025-09-10T19:53:10.238Z (10 months ago)
- Topics: aws, cli, email, rekognition
- Language: JavaScript
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### rekognotify
A CLI tool that emails an image if it contains a specific Rekognition label. The tool takes a set of image recognition labels via stdin, a set of labels to match on specified via an environment variable, and an image to send in case of a match specified via cli arg. Email settings are also specified via environment variables.
#### usage
```
npm install -g https://github.com/jritsema/rekognotify.git
```
```
export REKOGNOTIFY_MATCH='Human,People,Person,Animal,Mammal'
export REKOGNOTIFY_HOST=smtp.server.net
export REKOGNOTIFY_USER=user@server.net
export REKOGNOTIFY_PASS=xyz
export REKOGNOTIFY_SENDER_ADDRESS='User '
export REKOGNOTIFY_RECEIVER_ADDRESS=user2@server.net
rekognize foo.jpg | rekognotify foo.jpg
```