Collect and label shelf images
Capture representative images or frames that cover variable lighting, angles and packed/empty states, and annotate bounding boxes or segmentation masks for products and shelf regions.
Detect products on shelves. Assess stock presence.
A retail shelf image and inventory assistant aims to locate products, recognise SKUs and estimate stock levels from photos or video frames. Common challenges include occlusion, viewpoint and lighting variation, small objects, similar packaging, and the need for reliable counts rather than only class labels.
Learning concept · Not a validated service
A retail shelf image and inventory assistant aims to locate products, recognise SKUs and estimate stock levels from photos or video frames. Common challenges include occlusion, viewpoint and lighting variation, small objects, similar packaging, and the need for reliable counts rather than only class labels.
A proposed application: help store staff and merchandisers maintain shelf availability by flagging out-of-stock segments and generating candidate restock lists for human review. A human must remain in the loop for inventory actions; this project is not suitable for unattended stock decisions in live stores without operational controls.
Capture representative images or frames that cover variable lighting, angles and packed/empty states, and annotate bounding boxes or segmentation masks for products and shelf regions.
Train a lightweight object-detector (e.g. YOLOv5/Detectron2) on the annotated images and compute per-class detection and counting metrics on a held-out validation set.
Measure recall for product presence, counting error (absolute/relative), false negatives on empty shelves, and latency on target hardware.
Wrap preprocessing, detection, confidence thresholds and a simple dashboard that surfaces low-confidence or high-impact errors for human review.
The supplied starter loads scikit-learn's digits dataset (handwritten digit images), splits it, fits a RandomForestClassifier, prints a classification report and shows a confusion matrix. It does not use retail shelf images, object detection, segmentation, or multi-modal image-text techniques.
digits = load_digits()
X_train, X_test, y_train, y_test = train_test_split(
digits.data,
digits.target,
test_size=0.25,
random_state=42,
stratify=digits.target,
)
model = RandomForestClassifier(n_estimators=300, random_state=42)
model.fit(X_train, y_train)The starter uses the sklearn digits dataset and a RandomForest classifier for a digit-recognition baseline. That dataset and model are not representative of product localisation, SKU recognition or counting from shelf images; they do not implement object detection, segmentation, or multi-modal grounding required by the project title.
A proposed extension is to collect annotated shelf photos and train an object detector to provide bounding boxes and product counts, optionally combining a CLIP-like model for matching product text/labels to detected regions for inventory linking.
This is a potential application pathway, not a delivered product. The supplied starter does not implement this service or validate it with real users.
Networkers Home runs this topic inside its AI Engineer Course, with placement support and hands-on labs.