Skip to content

avidhi2100/Smart_Pantry

Repository files navigation

Smart_Pantry

Project Introduction:

Introducing Smart Pantry, the innovative mobile application that transforms kitchen management by blending the convenience of IoT with the robust capabilities of cloud services. Our system features a Raspberry Pi with a camera to scan and identify ingredients in your kitchen, smoothly integrated with AWS IoT Core for immediate data capture. Leveraging Amazon Rekognition, the app adeptly organizes pantry items and suggests recipes aligned with your food preferences. The architecture upholds secure access through Amazon Cognito, while AWS Lambda and DynamoDB work in tandem, processing inputs to customize your culinary journey. Smart Pantry simplifies meal preparation by utilizing what's available or inspiring new recipes that cater to your palate, making it your essential kitchen partner.

Features List:

  1. Our App shows a recommended list of recipes based on user food preference selected at the time of Registration.
  2. The App also shows a preferred list of recipes based on ingredients present in the User Pantry.
  3. Smart Pantry also gives users a list of ingredients present in the pantry.

Software Components Used

  1. Android Studio
  2. Raspbian OS
  3. AWS CLI
  4. Custom Dataset for Enhanced Rekognition Training

Hardware Components Used

  1. Raspberry Pi 4B
  2. Camera Module
  3. SD Card

Sample Demo Screenshots of the App

Landing Page

image

Login Page

image

Register

image

HomePage with recipe based on your food preference

image image image

Image clicked from the camera module athat got saved into S3 bucket image

Architechture Diagram

image

Pre-requisites Set Up

  1. AWS Amplify: Create a android project in Android Studio and do amplify init to initialize the amplify project in the AWS account.
  2. AWS IoT Core: Create a thing in AWS IoT Core Policy and a Certificate. Create a IoT thing and assign the policy. Download the certificates and the keys.
  3. AWS IoT Rule: Create a rule that listens to a topic, to which the raspberry pi will send the image data.
  4. Lambda Function: Lamda is used to connect several AWS services.
  5. AWS S3: S3 buckets are used to store the pantry imagesof users. It is also used to store images for labelling.
  6. S3 Cross Region Replication: S3 Cross region replication done to ensure Disaster Recovery
  7. DynamoDB: The tables are configured as part of the amplify project.
  8. AWS SageMaker: It is used for labelling our house pantry images.
  9. AWS Rekognition: A custom labelling model is used to train the model with images labelled from sagemaker. Then the trained model is used to detect ingredients whenever a new image is uploaded to the pantry bucket.
  10. Raspberry pi: Use a SD card to install Raspbian OS onto the raspberry pi and connecte a camera module to it. On the raspberry pi install the aws sdks like boto3 and awsiotsdk, which will be used to create a python script. The python script captures the image, encodes it and sends it to the topic.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •