Skip to content

shashikantdwivedi/waste-analyzer-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Waste Analyzer App

An android application to analyze the type of waste by scanning its image.

Table of Contents

About The Project

Waste Analyzer is an android application build to analyse the type of waste by scanning its image.

Built With

Getting Started

Prerequisites

To run this application firstly you have to setup the AWS environment that includes -

  1. AWS Lambda
  2. AWS API Gateway
  3. AWS S3
  4. IAM Roles
  5. AWS Rekognition

After setting up the AWS environment you just have to replace the API Key in the app by your API key.

IAM Roles

Create an IAM Role. That will grant access to AWS S3 and AWS Rekognition.

Steps
  1. Open IAM from your AWS console.
  2. Select Roles in IAM.
  3. Click on Create Role Button.
  4. Select Lambda and click on Permission Button.
  5. Attach these Policies
    1. AmazonS3FullAccess
    2. AmazonRekognitionFullAccess
  6. Click on Tags button. You can add tag as per your choice and click on Review Button
  7. Give the role name (‘Waste Analyzer’) and write its description. Click on create role.

AWS S3

Just create a AWS S3 bucket with default permission.

AWS Lambda

Create a lambda function with latest python run time environment. And add the code given in lambda_function directory.

AWS API Gateway

Create a Rest API with the post method. That triggers our Lambda Function when called.

Usage

After completing all the pre-requisite. Add your API link to the code and run the app.

flutter run

Contact

Shashikant Dwivedi - @thesdk1999 - [email protected]

Acknowledgements