Enoch Chau and Rebecca Leung SD Hacks 2019 https://devpost.com/software/scale-up
https://tutorials-raspberrypi.com/digital-raspberry-pi-scale-weight-sensor-hx711/
- Using out of box scale, record the weight on an object.
- disassemble scale and connect load cell to hx711 and hx711 to Raspberry pi.
- run sample code for hx711 and calibrate load scale using weight of object previously found.
https://www.dexterindustries.com/howto/use-google-cloud-vision-on-the-raspberry-pi/
Fruits: apple, banana, orange to start
- API GET request: search by object name
- Get item_id
- API GET request: get nutrition information by item_id
https://api.nutritionix.com/v1_1/item?id={item_id}&appId&appId={id}}&appKey={key}
- API POST request: search by object name
- Get fdcId
- API GET request: get nutrition information by fdcId
- Get calories value by getting foodNutrients id 1008
- be able to tare scale using button
- set up LED to blink when scale is done processing calories
- LCD to display weight (grams), fruit type, calories
Upon button press to record Caloric data.
- Weight is recorded from load cell.
- Fruit type is recorded from google vision/pi camera.
- Grams per calorie is calculated using dictionary.
- LLCD is updated.
- Calories are recorded somewhere (google sheet with iftt?)
- Implement a database to collect caloric data.
- implement user facing android app or website that can record calories.