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
863 stars 286 forks source link

Create a plan to enable the tracking of environmental impact #2483

Open teolemon opened 2 years ago

teolemon commented 2 years ago

What

### [ML] Create systems to populate the personal statistics section fastly and easily using Receipts from 3rd party apps/Camera
- [ ] Create a Share Receipt with Open Food Facts intent that accepts Images and PDF
- [ ] Create a view to take a photo of a receipt/Upload one from camera roll/document picker
- [ ] Use MLKit/On-device OCR to perform an OCR on receipts
- [ ] Tokenize the receipt into items
- [ ] Create a view to associate those items with a barcode
- [ ] Create a local database of items/barcode associations
### [Poor man version] Create a Back from the Market scanning mode
- [ ] You enter the mode
- [ ] You scan continuously many barcodes
- [ ] You exit the mode
- [ ] You get a list of all scanned barcodes
### Create a list variant that is able to support everything we need for stocking
- [ ] Add support for storage location in the list system
- [ ] Add support for prices in the list system
- [ ] Add support for number of items in the list system
- [ ] Add support for number of portions available in the list system
- [ ] Add support for number of portions eaten in the list system
- [ ] Create a plan for a good UI to input number of items
- [ ] Create a plan for a good UI to input quantities eaten/left for a product
- [ ] Create a plan for a good UI to assign a product to a storage location
- [ ] Add support for Best Before Date in the list system
- [ ] Add support to recognize/input the Best Before Date
- [ ] Use MLKit/On-device OCR to perform an OCR on best before dates
### Create a personal statistics section
- [ ] Create a statistics section/view in the app
- [ ] You can ask for the stats on the last week of scans (or of any given list)
- [ ] sums up your carbon emissions on a given period (day/week/year https://github.com/openfoodfacts/openfoodfacts-server/issues/4503)
- [ ] Show the pie chart repartition of Eco-Scores on any list (including history)
- [ ] Show the pie chart repartition of Nutri-Score on any list (including history)
- [ ] Show the pie chart repartition of NOVA groups on any list (including history)
- [ ] Create a view with your weekly production of packaging waste
### Allow to take a pledge towards COP21 goals
  - [ ] Allow to take a pledge towards COP21 goals
  - [ ] Allow to pass the part of the ADEME quiz related to food to broadly assess impact ?
  - [ ] Allow to retrieve the exact carbon emission for one product
  - [ ] Alert if you're not on track to meet your pledge

Mockups

image

API fields

Part of

teolemon commented 1 year ago

Research on quantities input: image image image