Search code examples
ioscordovabarcode-scanner

How can I lookup data about a food from its barcode number?


I am currently designing an iOS application for helping diabetics to manage their condition.

One feature I am working on is a barcode scanner, where the user will be able to take a picture of a barcode (as they are shopping) and get back information on the product based on its barcode.

With this information, I will create a nutrition score of 1-10 for the diabetic.

My question is, is there a way I can use the scanned barcode to get information on the particular food product?? I realize that the barcode is just a number, and that in supermarkets barcodes information are stored in a supermarket database. Is there anyway I would have access to an online db of food products?


Solution

  • Use the barcode scanner plugin then query labelcalc to get the info you need.