openfoodfacts / smooth-app

🤳🥫 The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart
https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo
Apache License 2.0
853 stars 282 forks source link

Display summation of nutrition facts for a grocery trip #3390

Open zanovis opened 1 year ago

zanovis commented 1 year ago

Problem

Proposed solution

  1. Scan receipt from a particular store
  2. Search database for the products (need to input receipt names to product to connect names<>barcodes, if barcode not included on receipt)
  3. Sum nutrition content for each product and output totals for that receipt

Alternative solution, not requiring database connection between receipt names and barcodes:

  1. Scan all purchased items from store and add to 'Grocery Trip' list
  2. Sum nutrition content for each product and output totals and display This solution may incentivize more product scans since you users will scan everything they've purchased! Downside to this method is repetitive for regularly purchased items. This is where the previous solution outperforms.

Additional context

Part of

teolemon commented 1 year ago
zanovis commented 1 year ago

Amazing to hear you've thought about this! For learning mostly, I am working on a flutter app to do a similar thing (receipt->OCR->OFF api->nutrition facts and ingredients summary) but the possibilities are endless. I like the calories vs price scatter plot idea! Maybe receipt insights could be part of the OFF app at some point, not sure if that's out of scope for project plans?

teolemon commented 1 year ago

That would be an awesome addition indeed 👍