Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display summation of nutrition facts for a grocery trip #3390

Open
Tracked by #523
zanovis opened this issue Nov 30, 2022 · 3 comments
Open
Tracked by #523

Display summation of nutrition facts for a grocery trip #3390

zanovis opened this issue Nov 30, 2022 · 3 comments

Comments

@zanovis
Copy link

zanovis commented Nov 30, 2022

Problem

  • Scanning individual products is tedious if you want to get a compilation of nutrition facts for many items.
  • You can think of a grocery trip as the main input of your nutrition, so we could use that compiled information (a receipt) as a means to get a better understanding of what will be consumed until the next grocery trip.
  • Bottom line - calories purchased, calories consumed (mostly).

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

  • Assuming you're buying a week's worth of food and consuming it all within that week (which many people do), you can average your nutritional intake across that week.
  • Scanning a receipt from one grocery store can provide the summed metrics for all the food you bought (and will consume) so you can know how much of each macronutrient you will be having for that week (averaged).

Part of

@zanovis zanovis added the ✨ enhancement New feature or request label Nov 30, 2022
@zanovis zanovis changed the title Scan receipts to show summation of nutrition facts Display summation of nutrition facts for a grocery trip Nov 30, 2022
@teolemon
Copy link
Member

  • I had made this project during a hackathon, a couple of years ago: https://github.com/openreceipts/openreceipts-server
  • This project needs planning because a lot of things have changed since then.
  • We could store short receipt summaries inside of the Folksonomy Engine, for instance

@zanovis
Copy link
Author

zanovis commented Dec 10, 2022

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
Copy link
Member

That would be an awesome addition indeed 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Status: 💬 To discuss and validate
Development

No branches or pull requests

2 participants