this post was submitted on 25 Dec 2023
1933 points (97.9% liked)
People Twitter
6809 readers
2151 users here now
People tweeting stuff. We allow tweets from anyone.
RULES:
- Mark NSFW content.
- No doxxing people.
- Must be a pic of the tweet or similar. No direct links to the tweet.
- No bullying or international politcs
- Be excellent to each other.
- Provide an archived link to the tweet (or similar) being shown if it's a major figure or a politician.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
AI could do this. Conventional programming could do it faster and better, even if it was written by AI.
It's an important concept to grasp
Cameras in your fridge and pantry to keep tabs on what you have, computer vision to take inventory, clustering to figure out which goods can be interchanged with which, language modeling applied to a web crawler to identify the best deals, and then some conventional code to aggregate the results into a shopping list
Unless you're assuming that you're gonna be supplied APIs to all the grocery stores which have an incentive to prevent this sort of thing from happening, and also assuming that the end user is willing, able, and reliable enough to scan every barcode of everything they buy
This app basically depends on all the best ai we already have except for image generation
Cameras and computer vision aren't necessary. Food products already come with upcs. All you need is a barcode reader to input stuff and to track what you use in meals. Tracking what you use could also be used for meal planning.
Yeah, I did think of the barcode approach, but I didn't think anyone would be willing to scan every item, which is why I ignored it
However, revisiting this question made me realize that we could probably have the user scan receipts. It would take some doing but you could probably extract all the information from the receipt because it's in a fairly predictable format, and it's far less onerous.
OTOH, you still have to scan barcodes every time you cook with something, and you'd probably want some sort of mechanism to track partial consumption and leftovers, though a minimum viable product could work without that
The tough part, then, is scouring the internet for deals. Should be doable though.
Might try to slap something together tonight or tomorrow for that first bit, seems pretty easy, I bet you've got open source libraries for handling barcodes, and scanning receipts can probably just be done with existing OCR tech, error correction using minimum edit distance, and a few if statements to figure out which is the quantity and which is the item. That is, if my adhd doesn't cause me to forget
If you can also keep recipes in the system you could skip scanning the barcodes here. You'd just need to input how many servings you prepared and any waste. Even if the "recipe" is just "hot pocket" or something. If the system knows how much is in a package it can deduct what you use from the total and add it to the list when you need more.