News for hackers. Stuff that matters.
Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by Godel_unicode on Tuesday March 22, 2016 @11:08AM (#11337129)
I feel like that kind of comparison is a good candidate for a side project. Take picture, OCR, compare to old list, turn red if it's different
Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by thaumasiotes on Tuesday March 22, 2016 @12:04PM (#11337517)
If anyone actually starts this project, be sure to record two more data points:

- price of product

- food mass of product

Those vary invisibly all the time, and it'd be great to have a record of it.

Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by bduerst on Tuesday March 22, 2016 @01:08PM (#11338022)
I worked on an idea/project a couple years ago to OCR prices off of shelves in grocery stores. Basically you could scan an isle in Safeway and have a geo-based price list of grocery goods.

After talking to people about it though, it became apparent that most grocery shoppers already have an idea of where they are going to buy groceries, making location more important than price. It's a razor thin industry, and even the price-sensitive coupon-using folks almost always just go to the closest Safeway equivalent.

Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by thaumasiotes on Tuesday March 22, 2016 @08:10PM (#11341012)
Well, if Hershey bars lose a few grams as a stealth price increase at one store, they're going to lose them at every store. What you're talking about is orthogonal to what I'm talking about.
Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by anexprogrammer on Tuesday March 22, 2016 @12:35PM (#11337758)
And records the congolmerate that actually owns the brand.

So many food brands are now just meaningless words in someone's brand portfolio. Especially silly when the two main competitors for an item turn out to now be owned by the same parent and rationalised to be made in the same factory.

They get traded around like football cards.

Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by jlg23 on Tuesday March 22, 2016 @01:05PM (#11337993)
And also get a very, very good insurance. Bugs in such an app can kill people.
Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by pyre on Tuesday March 22, 2016 @05:45PM (#11340184)
Since this is about OCR'ing the ingredient lists, I think that it would be much more likely to have false mismatches than false matches.
Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by bduerst on Tuesday March 22, 2016 @01:09PM (#11338029)
It could be covered in the TOS.
Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by jeromeflipo on Tuesday March 22, 2016 @12:23PM (#11337663)
Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by teolemon on Wednesday March 23, 2016 @05:23AM (#11343036)
http://world.openfoodfacts.org/cgi/search.pl?action=process&...

We have them :-) We also store every single revision of the product, but we don't display the changes yet.

Join us on http://slack.openfoodfacts.org to see how we can just do that.

Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by reustle on Tuesday March 22, 2016 @11:31AM (#11337300)
Would be a cool app project. "Scan" each label as you put it in your cart, and see if it rejects it or not
Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by bduerst on Tuesday March 22, 2016 @12:54PM (#11337898)
You wouldn't even need to scan labels per se, you could just take a picture of the box and identify the food item that is the largest in the FOV.

If your ingredients data is getting stale, you could reward users with coupons for stale-data items, so some users will take pictures of the ingredients list (kind of a 'bounty' list). You could do this for new items too - e.g. a popup after the picture is taken saying you can get $0.50 off if you take a picture of the UPC and ingredients list. Do a visual diff on the ingredients photo to see if the they have changed, and if so, OCR it to the database.

Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by pyre on Tuesday March 22, 2016 @05:40PM (#11340157)
Do the manufacturers change the UPC code when they update the ingredient lists? I doubt it. It's still technically the same item (and probably the same internal SKU too).
Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by bduerst on Tuesday March 22, 2016 @07:24PM (#11340780)
Nope, but for new items in the database or if packaging changes drastically, you would need the UPC to join the update with previous data.
Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by toomuchtodo on Tuesday March 22, 2016 @11:47AM (#11337400)
The problem is, the ingredients can change without the UPC code changing. You would need manufacturers to purchase and use unique UPC codes for each version of their food formulations.
Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by gkop on Tuesday March 22, 2016 @11:52AM (#11337431)
Neither parent nor grandparent references UPC. Grandparent references the list of ingredients.
Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by toomuchtodo on Tuesday March 22, 2016 @12:15PM (#11337604)
Sorry about that! I didn't assume someone would suggest having a mobile device OCR an ingredients label, versus looking up a UPC code tied to an ingredients list and groking for your allergies.

One is easy, the other is hard.

Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by khedoros on Tuesday March 22, 2016 @04:12PM (#11339623)
> One is easy, the other is hard.

There are APIs and libraries for OCR, so that might not be so bad (even on a mobile device). A low-end phone is faster than the first PCs I did OCR on anyhow, and about 20 years more research has gone into algorithms.

Re:Kraft Reveals Revamped Mac and Cheese, 50M Boxes Later by cbhl on Tuesday March 22, 2016 @02:58PM (#11339013)
OCR isn't that hard, just expensive. You do a first pass with an algorithm, and then use Mechanical Turk to correct for errors.