Code Monkey home page Code Monkey logo

aws-image-recognition-as-a-service's Introduction

AWS-Image-Recognition-as-a-Service

Project 1 - IaaS - Amazon Web Services

  1. The aim of the project was to develop an elastic and responsive application that utilizes cloud resources and IoT devices (Raspberry Pi B+) in order to provide Image Recognition as a Service to users by using the AWS cloud resources and Raspberry Pi as edge computing model to perform deep learning on images provided by the users by utilizing a lightweight deep learning framework, Darknet.

  2. The deep learning model was provided in an AWS image(Custom image ID:ami-0903fd482d7208724,Region:us-east-1(North Virginia))and Raspberry Pi. These applications invokes this model to perform image recognition on the received images.The load should be distributed accordingly between Raspberry Pi and EC2 instances in order to achieve better end to end latency.

  3. These applications(EC2 instances and Raspberry Pi) will handle multiple requests concurrently. EC2 instances will automatically scale out when the request demand increases, and automatically scale in when the demand drops. However, this number is limited to 20 instances as per project requirements. Any request more than 20 will be kept waiting.

  4. AWS services used in the project are : i) Elastic Compute Cloud (EC2) ii) Simple Queue Service (SQS) iii) Simple Storage Service (S3)

Further details are provided in the report.

Listener :

  1. This application runs inside the app instances and listens for messages (requests) in the Input Queue.
  2. When the message arrives, it takes the message and runs the deep learning model for classification and puts the classification result into a S3 bucket. The classification result is also inserted into the Output Queue.
  3. When there is no message in the Input queue, the application shuts down the instance in which its running, facilitating scale in.

Listener Running :

This is the same as Listener application but the instance which is running this application won't terminate at all, facilitating quick response to the user.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.