DEV Community

Cover image for Image recognition with NodeJS + AWS Lambda + Rekognition + Translator
Stenio Wagner
Stenio Wagner

Posted on

Image recognition with NodeJS + AWS Lambda + Rekognition + Translator

Hey, guys!

I wanted to share with you an implementation that I made using NodeJS, AWS-Lambda and Serverless-Framework for image recognition and classification.

The objectives are:

1 - Download a certain image
2 - Extract classification labels related to this image using AWS-Rekognition
3 - Translate the labels from step # 2 to another language using AWS-Translate
4 - Return the results as follows:

[EnglishLabel, LabelTranslated] - Percentage of confidence that this label makes sense for the input image.

Ex (en => pt): [Dog, Cachorro]: 99.87%

It's a very simple project, but it shows how easily these services are accessible and simple to be used.

Cheers!

https://github.com/steniowagner/serverless-aws-lambda-studies/tree/master/demo03-image-analysis

Top comments (0)