Serverless Function: Recognize dogs and send to Whatsapp using Twilio and AWS Rekognition

Sat, Jan 19, 2019 One-minute read

While i preparing my graduation project i think i need to add some kind of recognition for demo. For that purpose i used AWS Rekognition.

But obiviously thats not enough :).

Function is basically a simple flask rest service. Its expects image from formdata.

My Knative function recieve an image of animal and it sends to AWS Rekognition service to determine wheteter its dog or not. If its dog i upload this image to AWS S3 service with unique id(UUID). After upload image finished successfully i call twilio whatsapp service to send that dog image from S3 to my whatsapp number.

Github repository:

https://github.com/ffahri/serverlessrecognizedogs

Scheme:

Images:

Here we see twilio setup.