arXiv:2610.08126cs.CVOct 2026

Manuscript Offprint

arXiv:2610.08126

Supermarket Product Detection and Recognition: Utilizing Deep Learning with Rectified Imagery

Mayank Sah, Jimson Mathew

Abstract

Product Identification has sprung up to become one of the most challenging problems in the automation of the retail industry. With the new industry 5.0 standards, automated inventory management, and catalog creation tasks are vitally important. Object identification models have emerged as a viable answer with their unprecedented identification and localization accuracy. However, the close-knit rack design of supermarkets generates the problem of angle variation in capturing images. The angle-variant densely packed images (a single image contains many objects) become overwhelming for these models alone. In this paper, we try to supplement object detection models with traditional Hough transform (HT) and homogeneous estimation concepts. We study the effect of rectified images using homography estimation and hough transform and their limitations on the problem of grocery identification. We make a case for creating a new dataset to test the effects of such rectification and produce analytical results on different scenarios of angle variation and object densities per image. Extensive experiments on different object detection models suggest that image rectification of angled images improves the detection accuracy of grocery products in images. The results also highlight the limitation of rectification on the angle of image capture and the object density of the image.

Keywords: Grocery Identification, Deep Neural Network, Hough Transform, Homography, Dense Object Detection, Object Detection

1. INTRODUCTION

The transition toward Industry 5.0 has increased the need for automated inventory management, product identification, and catalog generation in retail environments. Although grocery-product identification is straightforward for humans, its automation remains challenging due to the large number of visually similar products, dense shelf arrangements, occlusion, and variations in imaging conditions. The scale of modern retail further emphasizes the need for reliable and scalable computer-vision-based solutions. According to Capital One Shopping Research [1], global retail sales reached USD 29.3 trillion, highlighting the importance of efficient automation across both physical and online retail. Advances in computer vision have established object detection as an effective approach for automated product identification. Early feature based techniques [2] were followed by deep learning-based detectors, including R-CNN [3], SPPNet [4], YOLO [5, 6, 7, 8], and RetinaNet [9]. Subsequent developments introduced anchor-free detectors, such as FCOS [10], and CenterNet [11], along with adaptive anchor-based approaches [12, 13] and transformer-based architectures such as DETR [14]. These methods have demonstrated strong performance across diverse applications, including crack detection [15] and food detection [16]. However, their effectiveness in grocery-product identification can be limited by the characteristics of real-world supermarket scenes. Grocery shelves typically contain numerous closely packed and visually similar products, often captured from oblique viewpoints. Such viewpoints introduce perspective distortion, nonuniform object scales, and geometric deformation, making accurate localization and recognition particularly challenging in dense grocery scenes.

Our previous work, RectyNet [17], demonstrated the potential of viewpoint correction for dense grocery-product detection using trainable rectification modules. However, incorporating additional trainable components increases model complexity. In this work, we instead investigate rectification as an independent preprocessing stage and evaluate its effect on single-stage and transformer-based object detectors. The captured image is first analyzed to estimate its dominant orientation, followed by homography-based perspective correction. The resulting rectified image is then provided to a pretrained object detector for product localization and recognition. To estimate the dominant orientation without introducing an additional learned module, we employ the Hough Transform (HT), a classical technique for detecting geometric structures in images. By mapping image-space lines into a parameter space, HT identifies the dominant shelf orientation from structural edges present in grocery-shelf images. Hassanein et al. [18] provide a comprehensive review of Hough-based techniques and their applications in computer vision. The estimated orientation is then used to select an appropriate homography for correcting left- and right-oriented views. We initially explored this approach in our previous work [19]; however, that study was limited in terms of experimental scope and analysis. In this work, we provide a more compre-

*Corresponding author: email: mayank_2221cs09@iitp.ac.in

**jimson@iitp.ac.in

Figure

Figure 1: The illustration depicts the scheme of grocery identification. A user captures an image of the grocery shelf. The image is then passed through an object detection module that identifies the input image's products. The identified products are then passed through a description database that associates product descriptions with each product.

hensive evaluation of image rectification, investigating its effect across different viewpoints, object densities, and state-of-the-art object detection models.

Several datasets have been developed for grocery-product detection, including SKU110K [20] and the Freiburg Groceries Dataset [21]. However, these datasets do not explicitly focus on the effect of systematic camera viewpoint variation on dense product detection. Therefore, we use a subset of our previously curated Grocer-Help dataset [22], containing frontal, left-oriented, and right-oriented grocery-shelf images, to systematically analyze the effects of viewpoint and perspective rectification.

The main contributions of this work are as follows:

  1. A geometry-based rectification framework combining the Linear Hough Transform and homography estimation is developed to estimate dominant orientation and correct perspective distortion without adding trainable modules to the detector.

  2. The effect of image rectification is systematically evaluated across single-stage and transformer-based object detectors and different camera orientations.

  3. The influence of camera viewpoint and object density on rectification effectiveness is analyzed, including the limitations of rectification in dense grocery scenes.

References (25)