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.
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
The app stack:
- Node.js, Javascript, AWS SDK V3 (JavaScript) using Rekognition for image identification
- Vue.js, Vuetify.js, and Vite
The following software is required:
- Node.js
- 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.
Clone this repo, add your credentials to an env.local file, and in the repo root folder run: npm install
To supply credentials using your own AWS account, do the following:
In the AWS Console:
- Create an IAM user with policies AmazonRekognitionFullAccess attached.
- Create an access key and secret access key (copy these before navigating away from the page)
- Create a file in the root folder of the app called
.env.local
(note the.
before the wordenv
). - 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
- In the repo root folder run npm run dev
- Open the localhost website (http://localhost:3000 is the default)
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.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.