Skip to content

Use Amazon Rekognition ML to recognize different regional styles of Saree

License

Notifications You must be signed in to change notification settings

jlooper/Saree-Detector-App

Repository files navigation

Saree-Detecting ML-Powered Web App

This app was inspired by sample code and a course published by the Academic Advocacy Team at AWS, authored by Stephen Howell, in which you build an app called AcadeML, a sample app for a university. You can find that workshop at AWS Workshop Studio Building a Machine Learning-Enabled Web App.

History and Demo

This app was built as a demo to show how image recognition capabilities can be used for artisan textiles, to enhance connoisseurship. Watch a TEDx talk on the topic, featuring this app. Here is a demo:

demo.mp4

Technology and Services

The app stack:

  • Node.js, Javascript, AWS SDK V3 (JavaScript) using Rekognition for image identification
  • Vue.js, Vuetify.js, and Vite

Prerequisites

The following software is required:

  1. Node.js
  2. The app requires an AWS account to run, so you will need to supply your own AWS account: Create a new account or sign in to your existing account. Store your keys privately in an env.local file.

Warning: The repo calls AWS services, which incur a cost. While briefly running the app as a learning exercise would only incur a relatively small cost, care should be taken to monitor spend and delete AWS resources and associated services when no longer needed to ensure future charges do not accrue.

Installation

Clone this repo, add your credentials to an env.local file, and in the repo root folder run: npm install

AWS Credentials

To supply credentials using your own AWS account, do the following:

In the AWS Console:

  1. Create an IAM user with policies AmazonRekognitionFullAccess attached.
  2. Create an access key and secret access key (copy these before navigating away from the page)
  3. Create a file in the root folder of the app called .env.local (note the . before the word env).
  4. Add the following lines to .env.local:
  • VITE_AWS_ACCESS_KEY_ID=AccessKey
  • VITE_AWS_SECRET_ACCESS_KEY=SecretAccessKey
  • VITE_AWS_REGION=us-east-1

Running

  1. In the repo root folder run npm run dev
  2. Open the localhost website (http://localhost:3000 is the default)

Clean-up

To clean up the app assets if you don't want to reuse it, delete the AWS IAM user that was created by the installation steps above when you no longer need this app.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

Use Amazon Rekognition ML to recognize different regional styles of Saree

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published