What is image recognition?
Image recognition is one of the methods of computer vision. A neural network receives an image, finds objects in it and decides which class each object belongs to, for example, "bottle", "price tag" or a specific product.
Image recognition algorithms learn from labeled examples. Developers collect many images and mark on each one where every object is. The neural network studies these examples and learns to find similar objects in new photos, so the model recognizes with confidence only the objects it saw in training.
Besides image recognition, computer vision includes other methods, such as text recognition and video analysis. In retail, shelf recognition systems run on image recognition. A general model is trained on generic objects such as bottles and packs, so it finds the type of package. For shelf recognition, the developer trains the model on the packages of specific SKUs (stock keeping units), so the system tells products apart on the shelf and can compare the result with the planogram.
Key points
- An image recognition algorithm finds an object in a photo and decides which class the object belongs to.
- A model recognizes only the objects it was trained on, so it needs images of every new product.
- Recognition accuracy depends on photo quality, lighting and shooting angle.
- In retail, developers use this method so that the system recognizes products, price tags and point-of-sale materials (POSM) in shelf photos.
What it looks like in practice
A cosmetics manufacturer wanted to check whether its shampoos and the promotional materials it had paid retail chains for were in the stores. The company first took a ready-made image recognition model that finds generic objects in photos, such as bottles and boxes. The model found the bottles, but it could not tell one of the brand's shampoos from another and missed the POSM.
The manufacturer then switched to a shelf recognition system whose model the developer had trained on the packages of the right SKUs and on samples of the promotional materials. The reports began to show which products and materials were missing in each store, and the manufacturer sent merchandisers to those stores.
Common mistakes
- A company assumes that any image recognition model will recognize its products right away. A general model tells a bottle from a box, and it cannot tell apart the flavors of one product line.
- The team tests the model only on clean, well-lit photos and does not check it on real store photos. On a shelf with glare and shadows, the model makes more mistakes, and the team learns about it only after launch.
- A manager judges the algorithm by its overall accuracy rate and does not check which products the model gets wrong most often.
- The team does not update the model after a package redesign, and the system stops recognizing the product.
How image recognition works in Goods Checker
The Shelf Eye module locates products and price tags in photos and marks gaps on the shelf. To start recognizing a new SKU, Shelf Eye needs one render of the package, so it analyzes the product from its first day on sale.
The merchandiser photographs the shelf in the Check & Go app, which checks photo quality and merges several photos of a long shelf into one image. In Goods Checker, recognition accuracy is above 95%, and one photo is processed in up to 30 seconds.