The Open Images dataset in its current V7 release is a good source for large-vocabulary pretraining and a poor fit for retail shelf detection on its own. Google’s figures put it at about 9M images, with 16M bounding boxes for 600 object classes on a densely annotated subset of 1.9M images. It does not contain what a shelf model has to learn: products packed far more densely than in its photos, labels at SKU level, and the lighting, camera angles and occlusion of your own stores. Use it to initialise a detector. A production shelf model still needs store images.
What the Open Images Dataset Contains in V7
Open Images V7 combines six annotation types, and they cover very different shares of the images. Not every image carries every label type. Out of the 9M images, a 1.9M-image subset has been annotated with boxes, segmentations, relationships, narratives and point labels; the remaining images have only image-level labels.
| Annotation type | Classes | Volume | Images covered |
|---|---|---|---|
| Image-level labels | 20,638 | 61.4M labels | All images; human-verified labels on 7,337,077 training images, machine-generated on 8,949,445 |
| Bounding boxes | 600 | 16M boxes | 1.9M images |
| Instance segmentation masks | 350 (a subset of the 600) | 2.7M training masks plus 99k validation and test masks | 944k training images plus 54k validation and test images |
| Visual relationships | 288 object classes, 15 attributes | Over 3.1M triplet instances on the training split | Training split |
| Localized narratives | Not class-based | 675k annotations | Released in V6 |
| Point-level labels | 5,827 | 66.4M labels | 1.4M images |
The official split is 9,011,219 training images, 41,620 validation images and 125,436 test images. For detection, the boxed training subset in the FiftyOne packaging is 1,743,042 images, about 513 GB. Every image has been rescaled so its longest side is at most 1,024 pixels.
The images come from Flickr and were collected without a predefined list of class names, which the dataset’s authors say gives natural class statistics and avoids an initial design bias.
How Many Classes Does Open Images V7 Have, and Which Come with Boxes?
The answer depends on the annotation type you count. Google’s description gives 600 classes with bounding boxes, a broader range than the ILSVRC and COCO detection challenges, with examples such as “fedora” and “snowman”. Of those 600, 350 also have segmentation masks. Point labels cover 5,827 classes, both things (dog, shoes) and stuff (mountain, pavement). Image-level labels span 20,638 classes.
Ultralytics tooling uses 601 classes. The Ultralytics documentation notes that Google rounds the boxable count down to 600 while the official class list has 601 entries. If a class-index mapping is off by one between two pipelines, check this first.
What Changed Between Open Images V6 and V7?
V7 added point-level labels. The V7 description lists 66.4M point-level labels over 1.4M images covering 5,827 classes, which it describes as sparse pixel-level localisation suited to zero-shot and few-shot semantic segmentation. Google’s announcement blog gives a smaller figure, 38.6M new point annotations (12.4M with “yes” labels) over 5.8 thousand classes and 1.4M images. The description’s total covers train, validation and test and comes to 66M class labels on 57M unique points. We would use the description page’s figure as the current count.
According to Google, the points cover 9x more classes than the boxes and 16x more than the instance segmentation, and they are the first Open Images annotation that localises both countable objects and uncountable “stuff” categories. The V6 description gives the same box and mask figures: 16M boxes for 600 classes on 1.9M images and masks on 350 of them.
V6 itself had added 675k localized narratives (synchronised voice, text and mouse traces), 2.5M human-action annotations and 23.5M new human-verified image-level labels, for a total of 59.9M across nearly 20,000 categories. V7 now lists 61.4M image-level labels over 20,638 classes.
The V7 pages give the release date as October 2022, while the archived V6 page says V7 came out in September 2021. We trust the V7 pages, because they describe the release itself.
Can Open Images V7 Be Used Commercially?
The annotations and the images are licensed separately. Google LLC licenses the annotations under CC BY 4.0. The images are listed as CC BY 2.0, but Google makes no representations or warranties about each image’s licence status and tells users to verify each image themselves. CC BY licences allow commercial use as long as you give attribution.
For a commercial product, the annotations are the easy part. The work is image provenance. We would keep the Open Images image ID and source reference for every image in the training manifest, so the per-image check can be done, audited and repeated whenever the subset changes. Whether model weights trained on attributed images carry obligations of their own is a question for legal counsel. We can make the provenance traceable, but we cannot give a legal ruling on it.
How Do I Download Only Some Open Images Classes in Python?
Google offers three channels: manual download of the images and raw annotations, TensorFlow Datasets for all annotations, and the open-source FiftyOne library for a subset of annotations (images, image labels, boxes, relationships, masks and point labels). The full training, validation and test image sets can also be downloaded as compressed archives from CVDF’s site.
For a class subset, FiftyOne provides parameters to download just that subset. Its zoo loader accepts a label_types argument (detections, classifications, relationships, points, segmentations) and a classes argument that loads only samples containing at least one instance of the listed classes. When you request a new subset, it reuses data already downloaded before fetching more.
import fiftyone as fo
import fiftyone.zoo as foz
# Class names must match the official class descriptions exactly;
# check them against the boxable class list before running.
dataset = foz.load_zoo_dataset(
"open-images-v7",
split="validation",
label_types=["detections"],
classes=["Bottle", "Tin can"],
max_samples=500,
shuffle=True,
)
session = fo.launch_app(dataset) # inspect boxes before committing to a full pull
Start with the validation split and a sample cap. The goal is to see what the boxes look like on your target classes before you download hundreds of gigabytes.
If you train with Ultralytics, data="open-images-v7.yaml" downloads the dataset on first use, installs FiftyOne to fetch it, converts the annotations to YOLO format and needs about 561 GB of free disk. That configuration has 1,743,042 training images and 41,620 validation images. Ultralytics also publishes five Open Images V7 pretrained detectors, yolov8n-oiv7.pt through yolov8x-oiv7.pt, reported at 18.4 to 36.3 mAP across all 601 classes. They let you run prediction on your own images without the 561 GB download.
Which Shelf Objects Does Open Images Cover, and Where Does It Fall Short?
The box vocabulary spans 600 classes, broader than ILSVRC and COCO, with examples like “fedora” and “snowman”. A 600-class vocabulary cannot name the thousands of SKUs on a store’s planogram. The 20,638 image-level classes are wider, but an image-level label says only that something appears in the image, not where, so it gives a detector no box to learn from.
The more fundamental gap is how the data was captured. Here is how Open Images compares with two datasets built for retail:
| Open Images V7 | SKU-110K | RPC | |
|---|---|---|---|
| Images | 1.9M densely annotated, from Flickr | 11,743 shelf images | 83,739 (53,739 single-product exemplars, 30,000 checkout images) |
| Objects per image | About 8.3 boxes on average | About 147 products on average | |
| Label granularity | 600 general object classes | One class, “object”; no per-SKU labels | 200 SKUs in 17 meta-categories |
| Scene | Flickr photos | Densely packed supermarket shelves | Products on a checkout counter, with occlusion and clutter |
On these figures, SKU-110K packs roughly 18 times as many objects into an average frame as Open Images does (147 divided by 8.3). Precise localisation at that density is the core challenge of dense retail object detection on SKU-110K’s small, tightly packed, often identical-looking products. Open Images images are also capped at 1,024 pixels on their longest side. Open Images photos give a detector little practice at that scale. A generic SKU detection benchmark gives a practical reference point. A detector trained on close to 300 public-domain images (including Open Images) with 4,556 annotations reached mAP 0.560 at 0.5 IoU on SKU-110K, which its authors call satisfactory for so little data. Its authors list shelf occlusion and objects ranging from 0.1% to 20% of the scene as current limitations of their baseline.
Retail-specific datasets have gaps of their own. SKU-110K teaches density but has no product identity. On RPC, the best baseline still performs unsatisfactorily on the medium and hard clutter levels. The Locount authors also note that most earlier retail datasets cover classification or detection in constrained scenarios, which is much easier than detection in a supermarket from a mobile camera.
In our view, off-the-shelf models break in production retail because of compound conditions: thousands of SKU classes with severe imbalance, look-alike products that need architectural answers rather than more data, edge hardware that cannot run heavy models at the required throughput, and a constant stream of unknown products that generic systems misclassify instead of flagging. Open Images addresses none of those four conditions directly.
Is Open Images Enough to Pretrain a Shelf Model, or Do I Still Need Store Images?
Open Images is a reasonable pretraining source, and you still need store images. Ultralytics describes Open Images V7 as better suited than COCO to large-vocabulary detection and pretraining, with 601 classes and 1,743,042 training images against COCO’s 80 classes and 118,287. Pretraining does not guarantee a better final model.
He, Girshick and Dollár (2018) found that ImageNet pretraining speeds up convergence early in training but does not necessarily improve final accuracy on COCO detection. Training from random initialisation was competitive even with only 10% of the training data. That study measured ImageNet pretraining on COCO. So read it as a caution against expecting pretraining to fix a domain gap, not as a retail measurement.
In practice, we would start from Open Images (or a generic checkpoint trained on it) to get a working baseline quickly. Then we would treat store images as the actual training data, because only they show your own density, occlusion, camera geometry and SKUs. What a usable store dataset involves, from capture to label taxonomy, is covered in our piece on building an SKU dataset for retail product recognition.
Before choosing a dataset, a retail team should settle two practical questions. How many SKUs must the model tell apart? And how fast does the range change? Those two numbers decide whether the work is mostly labelling or mostly architecture: an open-set design that flags unknown products, plus fine-grained heads for look-alike products. That second kind of work is where our computer vision R&D team focuses, because a bigger general dataset does not close that gap.