Barcode to Product Name Converter
We are designing a mobile shopping system. The camera on the phone will read the barcode and then we have to convert the barcode to a standard product name in order to save it to our database.
We are saving it to our database because we are connecting to a web service of local e-commerce sites to get their price about the related product. We are sending the product name to get the price from them, so that the user can see the prices, compare and buy.
We cannot send barcode num开发者_如何转开发ber to get the data from the e-commerce sites because some sites do not have the info of the barcode number.
I have to somehow get the product name by only knowing the barcode. Google returns the result when barcode number is searched. But how am I going to parse the data? or how am I going to know which answer of google search best suits my input?
Is there a site that sells barcode and product name data match?
We are designing the system with C#
Thanks alot.
I think what you are looking for is a "UPC lookup" website. Try googling for "UPC lookup". There are lots of possibilities like upcdatabase.com.
I've had pretty good luck using https://developers.google.com/shopping-search/. I believe you can look at how the barcode scanning app Zxing uses it @ Android Bar Code results from lookup into app ZXing
Instead of searching Google's general web index, search Google Shopping or amazon.
精彩评论