TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Open Food Facts – A free food products database

381 pointsby teolemonover 10 years ago

35 comments

codereflectionover 10 years ago
I love this idea. I have wanted to build something similar for a long time. One of the key features I believe would be to track ingredient changes over time, per product.<p>I put a great amount of effort into purchasing products without specific ingredients for the allergy concerns of my family. One of those is High Fructose Corn Syrup. I had finally found a brand of BBQ sauce that was HFCS free, and used it for quite a long time. One day I became curious if the ingredients had changed, and sure enough, the company had started using HFCS at home point.<p>Tracking these sorts of changes of course requires a great amount of crowd-sourcing effort, but I believe that it&#x27;s worth so much more than the effort put in. In my case, it was just HFCS, and not much of a problem. But had it been one of the allergens that we have to avoid, that would have caused a much bigger problem.<p>Great work, keep it up! I look forward to contributing.
评论 #8940508 未加载
评论 #8940506 未加载
评论 #8940513 未加载
desdivover 10 years ago
Would it be possible to display the data on a &quot;per package&quot; basis instead of the usual &quot;per 100 g&quot; or &quot;per serving&quot; basis?<p>I&#x27;m not a stupid person, but I still can&#x27;t for the life of me figure out why the food industry deemed it necessary to invent a psudo-unit, &quot;the serving&quot;, that differs depending on what food you&#x27;re eating and what <i>brand</i> of that food you&#x27;re eating.
评论 #8940565 未加载
评论 #8940773 未加载
评论 #8940627 未加载
GigabyteCoinover 10 years ago
This is a fantastic idea.<p>My only worry is that the owners will be legally hounded from every corner of the world due to the fact that most large food corporations don&#x27;t really want you to know what&#x27;s in their products.<p>Like the fact that &quot;orange juice&quot; is basically rancid orange sugar water left sitting in large vats for up to a year that is doused with orange oil before sale, apparently. [0]<p>I would get some legal cousel were I persuing this venture.<p>[0] <a href="http://www.cbc.ca/news/business/orange-juice-is-premium-juice-actually-more-natural-1.2902004" rel="nofollow">http:&#x2F;&#x2F;www.cbc.ca&#x2F;news&#x2F;business&#x2F;orange-juice-is-premium-juic...</a>
评论 #8940920 未加载
评论 #8941234 未加载
yoasif_over 10 years ago
Great idea -- as a user of Musicbrainz, it&#x27;s right up my alley. I went ahead and made some updates to a nutella <a href="http://world.openfoodfacts.org/product/009800895007" rel="nofollow">http:&#x2F;&#x2F;world.openfoodfacts.org&#x2F;product&#x2F;009800895007</a> page, and it works as I&#x27;d expect.<p>The Android app has problems, though.<p>1. The barcode scanner doesn&#x27;t work, at least on the product I mentioned above. I tried it with the Barcode Scanner app, and it works fine there.<p>2. No barcode search. Since I used the Barcode Scanner app to get the barcode, I wanted to try to paste the result into OFF. No go.<p>3. The scan help text &quot;Scan the barcode to find or add a product&quot; is very hard to read on a dark background. There&#x27;s probably a better way to show this help text.<p>4. Pressing physical back button in &quot;scan&quot; mode does not go back: <a href="https://github.com/openfoodfacts/openfoodfacts-android/issues/21" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;openfoodfacts&#x2F;openfoodfacts-android&#x2F;issue...</a>
评论 #8941879 未加载
评论 #8941251 未加载
kyzhover 10 years ago
Today I learned that you can graph data from the website. It&#x27;s a great way to see how one can make better decisions with open food facts <a href="http://world.openfoodfacts.org/cgi/search.pl?action=process&amp;tagtype_0=categories&amp;tag_contains_0=contains&amp;tag_0=breakfast%20cereal&amp;sort_by=unique_scans_n&amp;page_size=20&amp;axis_x=sugars&amp;axis_y=fat&amp;graph=1" rel="nofollow">http:&#x2F;&#x2F;world.openfoodfacts.org&#x2F;cgi&#x2F;search.pl?action=process&amp;...</a>
评论 #8941419 未加载
icsover 10 years ago
I was interested and then surprised on visiting the site that there seemed to be quite a few listings. However, most of what I clicked on had no nutritional information (a few lines of &quot;?&quot; instead). I would be much more likely to add information if I could easily see either a list or table of products which have been added (i.e. name and a picture) but have no&#x2F;missing data. Also as rpedela has mentioned, an API would be helpful for adding and consuming the data.
评论 #8940299 未加载
ioddlyover 10 years ago
First: looks great, well done.<p>The problem with other food databases I&#x27;ve seen is the amount of duplicate or incorrect information. Are y&#x27;all actively taking steps to curtail this?
评论 #8942571 未加载
esfandiaover 10 years ago
I&#x27;m dreaming of a &quot;GPL&quot; food movement, where the process of making the food in question can be inspected by anyone at any time, and where the ingredients and sub-ingredients that went into it are also recursively &quot;open source&quot;. There would be a Sourceforge&#x2F;GitHub&#x2F;YouTube site where you could upload and view videos of those inspections and leave comments.<p>Then you could even have a 100% &quot;open source&quot; product label when all the ingredients and sub-ingredients you used were also &quot;open source&quot;.<p>You may ask: why would anyone other than paid food inspectors be interested in checking out those places? For one, it can be very educative to take your kids to show them how things are made. If you have allergies you may be interested in double-checking claims. It could also be an alternative fun thing for people into geocaching, for example to help &quot;complete&quot; the &quot;100% open source&quot; label for a given product.<p>You may also ask: why would anybody in the food industry be interested in making their food open source? Why would they want to give up their trade secrets? Well, for one not every product has to be mysterious: e.g., bread is bread, you just want to know if any suspicious additive has been used, and if your bread is good you want people to know it. It can be a marketing tool. You could prove that your product is 100% organic&#x2F;local&#x2F;kosher&#x2F;gluten-free&#x2F;peanut-free, etc., because all of the sub-ingredients have been verified to be the same as well, and you&#x27;ve crowd-sourced the work of verifying this.<p>Thoughts?
评论 #8941478 未加载
ventiover 10 years ago
Another alternative: <a href="http://fddb.info/db/en/index.html" rel="nofollow">http:&#x2F;&#x2F;fddb.info&#x2F;db&#x2F;en&#x2F;index.html</a>
评论 #8941443 未加载
评论 #8940666 未加载
mrschwabeover 10 years ago
Neat! I was thinking about an optimal design for a similar idea just the other day. Motivated by the lack of accountability by food producer&#x2F;manufacturers - and lack of a venue for consumers to voice concerns.<p>This was a direct result of a jar of honey I had qualms about (and probably an aggregate of other concerns &amp; thoughts that we all build up over time on topics like this).<p>I wrote the producer an email, but would much prefer voicing my opinion public - seems that would be a far more effective way to get the issue resolved.<p>Anyway, I gave it a go with this Open Food Facts site. Here&#x27;s the product I added:<p><a href="http://world.openfoodfacts.org/product/5220400060/raw-organic-honey-honey-bunny" rel="nofollow">http:&#x2F;&#x2F;world.openfoodfacts.org&#x2F;product&#x2F;5220400060&#x2F;raw-organi...</a><p>My first impression is that the interface is a tad cluttered.<p>Secondly, some of the categorization fields on the Add Product page are redundant.<p>Last &amp; most importantly: my most desired use-case for this application is not actually accommodated for.<p>In addition to the detailed product info, which the site does a nice job of allowing me to enter, I want to be able to leave feedback about the product itself.<p>For example, with this particular jar of honey my main gripe was the film&#x2F;plastic foil residue left on the outer rim of the jar when you first open it up. It&#x27;s great that this product is in a glass jar, is 100% raw and organic - but when little chunks of plastic foil end up in my honey it totally invalidates those benefits.<p>Anyway, the feedback feature could be as simple as a comment thread below the page. And perhaps thinking a bit father out, ideally: an Amazon style review system.<p>Either way - love the progress so far, props for a great app already.
leetroutover 10 years ago
This looks like a great free alternative to Nutritionix and&#x2F;or MyFitnessPal. I&#x27;ve never been approved for a MFP API account. I&#x27;m definitely going to be checking this out!<p>So many places charge outrageous sums for this data, especially if you have UPCs. I didn&#x27;t see UPCs anywhere on the site- any plans to track those as well?
评论 #8940591 未加载
评论 #8940613 未加载
thomasfoster96over 10 years ago
Really nice - especially seeing as a lot of things I&#x27;d actually find in a supermarket are there.<p>Is there any way to get a database dump of some sort? I managed to find a Open Food Facts API on Github, but I&#x27;d imagine it might be better to be able to export data so I&#x27;m not chewing up resources on Open Food Facts&#x27; server.
评论 #8941931 未加载
Springtimeover 10 years ago
A wiki for food nutrition info, nice work and good to see there&#x27;s already considerable community support.<p>One odd thing I noticed while at first browsing with Javascript disabled is clicking the site logo in the top left opens a file upload dialog. Not sure exactly what purpose using an input element for the logo is.
ashwinppover 10 years ago
As the comments point out, apart from immediate use to consumers, it can also help understand underlying temporal trends and perhaps with some data analysis suggest healthier substitutes based on user tastes.<p>However, as part of a course project in using Convolutional nets for image recognition, I was wondering, what if, we could simply take a picture of a rack in a grocery store and augment the image with the overall &quot;healthiness&quot; heatmap.<p>And now to the meat of the problem, data. Is there a readily available dataset on which the image recognition can be trained? Note that each product will need to have a images taken from a variety of angles and lighting conditions. There exist methods to automatically generate alternate sets of images, but they are not perfect and we would still need data.
评论 #8942563 未加载
arthurfmover 10 years ago
Something else that would be quite useful is to include links to the international names of each product so that you can compare their ingredients.<p>For example, Kellogg&#x27;s Frosted Flakes [1][2] are called Frosties in the UK, France [3] and some parts of Europe, but do not have identical ingredients.<p>[1] <a href="http://en.wikipedia.org/wiki/Frosted_Flakes" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Frosted_Flakes</a><p>[2] <a href="http://world.openfoodfacts.org/product/038000219634/frosted-flakes-kellogg-s" rel="nofollow">http:&#x2F;&#x2F;world.openfoodfacts.org&#x2F;product&#x2F;038000219634&#x2F;frosted-...</a><p>[3] <a href="http://world.openfoodfacts.org/product/5053827104081/frosties-kellogg-s" rel="nofollow">http:&#x2F;&#x2F;world.openfoodfacts.org&#x2F;product&#x2F;5053827104081&#x2F;frostie...</a>
kw71over 10 years ago
Hi teolemon, if you&#x27;re still following:<p>Please consider allowing multiple barcodes for an individual product. I live in the USA, where (because of tradition and archaic technology) some grocers don&#x27;t like to market products bearing only EAN barcodes. So, many imported items have both UPC and EAN barcode.<p>I hit a different case today: a box of 20 pieces with one barcode, but the individual item inside has a different barcode.<p>Maybe the functionality is already there, but I couldn&#x27;t figure out how to do this.
评论 #8942557 未加载
cl42over 10 years ago
This is fantastic.<p>One &quot;future vision&quot; if I may -- actually tracking, sharing, recommending, etc. nutrition research. I think one of the most painful things for everyone interested in nutrition is actually knowing what the research says about what they need to eat, when, how, etc.<p>&quot;Future vision squared&quot; would be to personalize nutrition recommendations &#x2F; advice to each person, but I&#x27;m dreaming.
评论 #8940523 未加载
yitchelleover 10 years ago
I love this idea.<p>One question, do you have any mechanism for verifying the data is correct? I see that the submitter can upload a picture of the nutrition data that is on the food packaging, but if that food is not packaged in a can, but fresh food, how can the data be verified?<p>Hope that this takes off.<p>My family is using lactose free and gluten free products, and accurate information is hard to come by.
wilgover 10 years ago
Made a &quot;quick&quot; graph of which brands have the most carbohydrates (for food products that aren&#x27;t just sugar).<p>Kind of neat, but I&#x27;ve never heard of a lot of the brands. (Most of the data is from France, turns out.)<p><a href="http://i.imgur.com/i3gOQS3.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;i3gOQS3.png</a>
评论 #8941311 未加载
评论 #8941314 未加载
gagzillaover 10 years ago
Love the concept. Tried adding products with the Android app- it would be good to add more details than just the name and pictures (on the app that is)<p>Also encountered a bug for a new product ingredient. The unfortunate part is that it lost all the data that I had entered till then.<p>Looking forward to contributing.
mark_l_watsonover 10 years ago
Thanks for creating this. I use the USDA nutrition database in my cookingspace.com web portal. I am interested in all things food (work in a community garden, maintain a 100 year old irrigation ditch for a historic farm, and cooking is a major hobby). Thanks again.
rpedelaover 10 years ago
Interesting. Is there an API or download link? I am having trouble finding one if there is.
评论 #8940283 未加载
MichaelTiesoover 10 years ago
I couldn&#x27;t find anything but this type of information would be great with an API.
评论 #8943881 未加载
ameliusover 10 years ago
Nice! I want to know how much of each ingredient is in the food. I want the tool to automatically collect the nutritients and vitamins and other components from ingredients and subingredients, and sub-sub-ingredients, etc.<p>(Sorry for brevity)
frikover 10 years ago
I like the idea of a free database and the implementation.<p>I had used www.codecheck.info before, it&#x27;s a similar database with a community. It started as a university project, though the community content is now owned by a company.
rmetzlerover 10 years ago
I don&#x27;t get why there is a East-Germany option in the left sidebar select.
评论 #8940756 未加载
NAFV_Pover 10 years ago
Wow, bananas are really scary:<p><a href="http://en.wikipedia.org/wiki/Banana_equivalent_dose" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Banana_equivalent_dose</a>
dansotoover 10 years ago
Geez. I was looking for a &quot;free food products&quot; database and was disappointed to find a &quot;free, food products db&quot; :&#x2F;
评论 #8940821 未加载
israrkhanover 10 years ago
It would be nice if this database can also include halal, kosher, or vegetarian&#x2F;vegan status for the products.
评论 #8942577 未加载
schoenover 10 years ago
Is there a way to use this database to determine if a food product is suitable for vegetarians or vegans?
评论 #8940554 未加载
评论 #8940542 未加载
je42over 10 years ago
MMh do they track the density to enable conversion between spoon and gram and vice versa ?
clockwerxover 10 years ago
I wonder if they have imported a bunch of Freebase items, now that its shutting down.
machbioover 10 years ago
Someone is going to write a Scrappy Project for this site soon..
评论 #8942497 未加载
j2kunover 10 years ago
Is there price information as well?
评论 #8940742 未加载
评论 #8940470 未加载
seekingtruthover 10 years ago
Not &quot;open&quot; but a much better resource, at least for now: <a href="http://nutritiondata.self.com/" rel="nofollow">http:&#x2F;&#x2F;nutritiondata.self.com&#x2F;</a><p>Maybe these guys can catch up.