Transform your fridge into ✨Fridg-E✨ (yes this is a reference to Wall-E). Fridg-E helps you track the items in your fridge to help you reduce the amount of food that gets wasted. Agriculture destroys forests, land, and creates tons of carbon emissions. However, 30-40% of that food is wasted according to usda.gov
Easily trivialize being environomentally conscious while still eating good by letting Fridg-E keep track of your calories, carbon footprint, and even generate recipes that prioritizes using ingredients before they expire.
- Scans items going in
- Scans items going out
- Estimates calories, carbon footprint, and expiration date
scanitem.2.mp4
Live 3D model of your fridge (for fun)
- Scans items going in and out
- Door opens and closes alongside your real fridge
3d.mp4
- provides recommended recipe based on oldest items in the fridge
- per user authentication/fridge data
- sort and search through your fridge easily
Prerequisites: node.js
-
Clone project and install dependencies:
Run
git cloneto clone this repo. Then runnpm ito install all dependencies -
Run project locally:
Run
npm run devornpm start
Prerequisites packages:
- python 3.11
- python3.11-venv
- python3.11-dev
Optional for remote camera:
- v4l2loopback-dkms
- v4l2loopback-utils
- obs-studio-git
NOTE: rolling release of v4l2loopback is broken on Arch at the moment you will need to downgrade
NOTE: Make sure to change into the /objectDetection directory before doing these steps
-
(Optional Remote Camera) Setup OBS Virtual Camera:
Open OBS studio and set up a
Browsersource. Input link made from https://vdo.ninja/ on a mobile device with a camera. Start virtual camera. -
(Optional Remote Camera) Identify OBS Camera Device:
v4l2-ctl --list-devices
Note the
/dev/videoXpath for the OBS Virtual Camera. -
Configure Camera:
- Edit
main.pyand set the camera device variable to the correct/dev/videoXpath found above.
- Edit
-
Install: We've included a make file for quick installation with a virtual python environment
make install
-
Activate Environment:
source .venv/bin/activate -
Open your firebase project console and generate a new private key as a JSON. Save it into this directory.
-
Run Script:
- Ensure OBS Virtual Camera is running.
- Ensure
.venvis active.
python main.py