Smile Shot takes a picture from your camera and analyze the camera image. if the image has some smiles ( :D ) you can get the smiles from slack.
In my case, I would like to see my daughter face when she smiles.
- install
$ git clone https://github.com/yosuke-furukawa/smile_shot
$ npm install
- write config files
// conf/key.json
// download from google cloud
{
"type": "foobarbuz",
"project_id": "foo",
"private_key_id": "keyid",
"private_key": "key",
...
}
// conf/gcloud.json
{
"projectId": "xxxxxxxxxxx",
"keyFilename": "./conf/key.json"
}
// conf/slack.json
{
"api_token": "xoxp-xxxxxxxxxxxxxxxxxxxxxxxx",
"channels": ["general"]
}