News for hackers. Stuff that matters.
Re:On-Device Supermarket Product Recognition by swimfar on Tuesday August 11, 2020 @04:32PM (#24125638)
I would love something like this paired with augmented reality to show/hide/highlight only the products that meet my search criteria. Try going to a big supermarket to look for whole-milk yogurt, for example. It's a pain trying to filter them out of the rest of the 100 varieties.

Another thing I would like to do is compare products by price/quanity. Maybe I'm trying to get the most protein/$, or oz/$, etc. You could also hook it into some database to only show you ethically caught fish, organic projects, fair trade products, local products, etc.

I've thought about this kind of technology a lot. Cool to see that it's actually becoming possible.

Re:On-Device Supermarket Product Recognition by azalemeth on Tuesday August 11, 2020 @05:29PM (#24126194)
> It's a pain trying to filter them out of the rest of the 100 varieties.

Arguably, shops specifically design themselves to do things like this. When I was growing up, it used to drive my dad mad that the local supermarket would move almost literally everything around seemingly at random "to prevent shoplifting". He was a pilot, and usually had little time -- he liked to go into supermarket, grab x, pay, and leave. Suddenly, that stoped working, as finding x became increasingly difficult. It really annoyed him. For a long time the floor manager said that they moved their stock around to prevent shoplifting – until one day the store manager, when asked the same question, said it was "to promote footfall". Suddenly the real reason became clear.

>Another thing I would like to do is compare products by price/quanity. Maybe I'm trying to get the most protein/$, or oz/$, etc. You could also hook it into some database to only show you ethically caught fish, organic projects, fair trade products, local products, etc.

In the UK at least, all of this information is required to be printed on the label: product per unit money on the shop label and misery per unit product on the product's label.

Are you asking for a filter / search engine for that on top? Either way, I don't think your average supermarket would let that stay un-advertised for too long. Products at eyeball level pay a premium to be there.

Re:On-Device Supermarket Product Recognition by squeaky-clean on Tuesday August 11, 2020 @06:52PM (#24126925)
I don't know if it's legally required, but that's also the standard here in the US. One problem though is the units may not always be equal. I was buying canned coconut milk this weekend and among all the different choices were $/pound, $/gram, and $/liter. It's easier to do the math from scratch yourself at that point.
Re:On-Device Supermarket Product Recognition by tanatocenose on Tuesday August 11, 2020 @11:41PM (#24128402)
> In the UK at least, all of this information is required to be printed on the label: product per unit money on the shop label and misery per unit product on the product's label.

Cant find anything about misery per unit, can you link to more information please? Interested to know how this is calculated.

Re:On-Device Supermarket Product Recognition by bobthepanda on Tuesday August 11, 2020 @11:24PM (#24128328)
That's a bit strange. At least in the US manufacturers will bid for shelf space, to get closer to eye level, the end of the aisle, or what have you. Store brands get a privileged position as well. So at least here the placements do change, but usually because a different person has won/lost the bid war.
Re:On-Device Supermarket Product Recognition by matthewheath on Tuesday August 11, 2020 @08:23PM (#24127444)
> You could also hook it into some database to only show you ethically caught fish, organic projects, fair trade products, local products, etc.

I work on an app that does this. It's quite amazing how much technology has let us achieve in recent years.

Re:On-Device Supermarket Product Recognition by memco on Tuesday August 11, 2020 @09:51PM (#24127871)
This could have accessibility applications too. I have a hard time reading labels for some products or finding certain ingredients. Having a camera that I could wave around when looking for something and just follow the vibrations when the camera detects a matching product would be huge for me.
Re:On-Device Supermarket Product Recognition by egfx on Tuesday August 11, 2020 @05:34PM (#24126261)
Kind of like this? https://youtu.be/YJg02ivYzSs
Re:On-Device Supermarket Product Recognition by cs702 on Tuesday August 11, 2020 @03:02PM (#24124442)
This is only the beginning. At the moment, mobile devices must run sub-SOTA models, such as a MobileNetV3[a] for visual recognition, to provide an acceptable user experience. As mobile devices continue to get more powerful and start incorporating dedicated AI hardware for multiply-add-accumulate ops, I expect to see devices that can run today's SOTA models locally within a couple of years. Exciting stuff!

[a] https://ai.googleblog.com/2019/11/introducing-next-generatio...

Re:On-Device Supermarket Product Recognition by awinter-py on Tuesday August 11, 2020 @04:31PM (#24125627)
interesting that one of the uses of NN here is to shrink the amount of storage required per product in the product recognition DB -- compression is a neat application of NN that generally follows from recognition / synthesis tricks, and will matter a lot on mobile.

I'm wondering if 'on device' is an exaggeration. The post is saying 64 bytes per product, and a DB of millions of products, but the video is showing product details, prices, and a box image. I wonder if once it identifies the product it then loads metadata from ze cloud?

Re:On-Device Supermarket Product Recognition by anoncareer0212 on Tuesday August 11, 2020 @10:10PM (#24127961)
'it had to load an image from the cloud' sounds much more like a nitpick than 'it recognized the product locally' sounds like an exaggeration
Re:On-Device Supermarket Product Recognition by awinter-py on Wednesday August 12, 2020 @12:41AM (#24128652)
it's a spectrum, right? 'on-device' is a big claim with different implications if you're thinking about this as an NN problem or a privacy problem. Loading an image from the cloud = sending telemetry on your supermarket shopping to a giant ads company.
Re:On-Device Supermarket Product Recognition by apapli on Tuesday August 11, 2020 @06:21PM (#24126695)
This is interesting - I couldn’t determine how they train them system to recognise all the products though.

Flavour variants, special promotional packaging etc make training hard due to the sheer size of images that need to be in a training dataset to yield accurate results.

How is this achieved?

Re:On-Device Supermarket Product Recognition by joshvm on Tuesday August 11, 2020 @07:59PM (#24127319)
This is likely done using OCR:

> OCR is executed on the ROI for each camera frame in order to extract additional information, such as packet size, product flavor variant, etc.

You could probably also do some very simple statistics like a colour histogram on the box, once you had high certainty of the product line.

Re:On-Device Supermarket Product Recognition by riyadparvez on Tuesday August 11, 2020 @07:01PM (#24126967)
I am interested into why they haven't released this feature in their main Google Lens app. My hunch is they released a separate app for experimental and beta testing. Once these features get robust and reliable, they will probably move these features to the main Google Lens app.
Re:On-Device Supermarket Product Recognition by ganzuul on Tuesday August 11, 2020 @03:25PM (#24124782)
This is one of those obvious killer-apps that with a moment's thought was obviously computationally prohibitive or much too complex for a sole developer. If this is in the pipelines then we can soon also expect a bunch of semantic apps.
Re:On-Device Supermarket Product Recognition by tolidano on Wednesday August 12, 2020 @02:01AM (#24128983)
Didn’t Amazon do this with the Fire Phone and FireFly in 2015? What I need is to comparison shop this item at 5 other grocery stores and FreshDirect and Amazon Fresh and have it tell me if I’m getting a good deal.
Re:On-Device Supermarket Product Recognition by nmstoker on Wednesday August 12, 2020 @05:50AM (#24130154)
Would be handy if they applied this to an internal shop level Google Maps

Would cut the need to speak to shop staff, who in many places in larger cities don't have the language skills to know what you're looking for.

Re:On-Device Supermarket Product Recognition by dillonmckay on Tuesday August 11, 2020 @03:23PM (#24124766)
License this to Instacart so I can get the proper size package I ordered.
Re:On-Device Supermarket Product Recognition by mjs33 on Tuesday August 11, 2020 @05:57PM (#24126514)
Does it take into account flavors? Yoghurt packages and Oreos come to mind. Lots of different flavors and the packaging is subtly different
Re:On-Device Supermarket Product Recognition by greesil on Tuesday August 11, 2020 @04:48PM (#24125788)
Interesting how it isn't just one giant neural net mashed together, and seems to leverage "hand-crafted" features.
Re:On-Device Supermarket Product Recognition by lifeisstillgood on Tuesday August 11, 2020 @05:20PM (#24126117)
An RFID scanner will do a lot of this surely ? The issues are presumably access to the TFID number database, but for me the big open question is that as we progress to an RFID chip in everything world, that access becomes a public good - a complete supply chain record will be the next "food labelling" fight
Re:On-Device Supermarket Product Recognition by ladberg on Tuesday August 11, 2020 @06:07PM (#24126587)
That basically already exists with barcodes.
Re:On-Device Supermarket Product Recognition by lifeisstillgood on Wednesday August 12, 2020 @04:57AM (#24129879)
1. Barcode UPN lists are closely guarded secrets. Knowing that 123456 is a lot of hummus is valuable to a lot of retailers.

2. The supply chain for who made the hummus, who grew the chickpeas, were they sprayed with what. That basically does not exist, let alone in public.

Re:On-Device Supermarket Product Recognition by polskibus on Tuesday August 11, 2020 @05:45PM (#24126397)
Is this app open source?
Re:On-Device Supermarket Product Recognition by arkanciscan on Tuesday August 11, 2020 @05:03PM (#24125944)
People who can't recognize products on a shelf often can't use a touchscreen either. I live with a Boomer and he can't even use a Chromecast because he can't see his screen, let alone use screen readers or voice commands.
Re:On-Device Supermarket Product Recognition by pkaye on Tuesday August 11, 2020 @05:48PM (#24126418)
Its another option for the visually impaired.
Re:On-Device Supermarket Product Recognition by armitron on Tuesday August 11, 2020 @04:16PM (#24125458)
Privacy nightmare not to mention solution looking for a problem.
Re:On-Device Supermarket Product Recognition by gundmc on Tuesday August 11, 2020 @05:21PM (#24126125)
What specific aspects of the design do you consider to a "privacy nightmare"?

Typically on-device computing is lauded from a privacy perspective when compared to cloud equivalents.

Re:On-Device Supermarket Product Recognition by ffpip on Tuesday August 11, 2020 @06:07PM (#24126591)
Doing it on-device, and storing it on-device are 2 different things.

Shopping data is the most valuable. It is the end result of advertising.

What ad caused you to but that specific product? Can Google show a competitors ad to you?

Re:On-Device Supermarket Product Recognition by olyjohn on Tuesday August 11, 2020 @05:02PM (#24125934)
You know... Every time some new product comes out, I can't help but think "how are they going to use this to track my habits." And how can you blame anybody for that? Think about everything you own that is already tracking you. Your TV, your Phone, your smart speaker... all the apps you use... Can you really blame somebody for being pessimistic?

You know this is a useful tool for visually impaired people, but I can't help but think that nobody should have to give up their privacy in order to have some level of equality. That is total horseshit IMO.

Re:On-Device Supermarket Product Recognition by anoncareer0212 on Tuesday August 11, 2020 @10:12PM (#24127972)
this is a spot-on caricature of a lot of comments over the past 5 years, great stuff