Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/augustodevjs/image-analysis-aws
https://github.com/augustodevjs/image-analysis-aws
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/augustodevjs/image-analysis-aws
- Owner: augustodevjs
- Created: 2024-08-01T00:40:40.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-03T16:33:49.000Z (3 months ago)
- Last Synced: 2024-08-03T17:36:06.220Z (3 months ago)
- Language: JavaScript
- Size: 80.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS Rekognition and Translate Lambda Function with Serverless Framework
This project demonstrates how to use AWS Rekognition and AWS Translate services within an AWS Lambda function, deployed using the Serverless Framework. The function analyzes an image from a provided URL, detects labels with high confidence, translates the labels into Portuguese, and formats the results.
## Prerequisites
- AWS account with necessary permissions for Rekognition and Translate services.
- Node.js and npm installed.
- Serverless Framework installed globally (`npm install -g serverless`).## Installation
1. Clone the repository:
```sh
git clone https://github.com/augustodevjs/image-analysis-aws
cd image-analysis-aws
```2. Install dependencies:
```sh
npm install
```3. Configure AWS credentials:
Ensure your AWS credentials are set up. You can use the AWS CLI to configure them:
```sh
aws configure
```## Deployment
Deploy the function using the Serverless Framework:
```sh
serverless deploy
```## Application Flow
The image above represents the flow of the application, created using Excalidraw. It illustrates the process from receiving the image URL to returning the translated labels to the user.
![Fluxo da Aplicação](image/image-aws.png)