Datasets:
image imagewidth (px) 2.59k 2.59k | width int64 2.59k 2.59k | height int64 1.94k 1.94k | objects dict |
|---|---|---|---|
2,592 | 1,944 | {
"bbox": [
[
1171.6800537109375,
1047.5999755859375,
399.8500061035156,
284.1000061035156
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1180.52001953125,
1055.31005859375,
384.3299865722656,
281.6199951171875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1182.199951171875,
1044.969970703125,
391.9599914550781,
281.4700012207031
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1188.4000244140625,
1052.449951171875,
390.9599914550781,
285.8699951171875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1193.989990234375,
1055.27001953125,
391.9200134277344,
282.6499938964844
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1197.97998046875,
1044.969970703125,
391.9599914550781,
286.7300109863281
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1197.97998046875,
1050.22998046875,
402.4800109863281,
291.989990234375
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1197.97998046875,
1052.8599853515625,
413,
278.8399963378906
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1214.8900146484375,
1053.719970703125,
392.3599853515625,
281.6700134277344
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1230.9599609375,
1052.489990234375,
385.489990234375,
280.1499938964844
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1226.9200439453125,
1047.5999755859375,
399.8500061035156,
286.7300109863281
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1234.81005859375,
1047.5999755859375,
397.2200012207031,
286.7300109863281
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1237.43994140625,
1042.3399658203125,
391.9599914550781,
286.7300109863281
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1244.4300537109375,
1057.800048828125,
390.8299865722656,
273.2799987792969
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1253.22998046875,
1050.22998046875,
384.05999755859375,
268.32000732421875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1250.5999755859375,
1047.5999755859375,
386.70001220703125,
278.8399963378906
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1253.22998046875,
1055.489990234375,
386.70001220703125,
273.5799865722656
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1242.699951171875,
1058.1199951171875,
389.3299865722656,
265.69000244140625
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1245.3299560546875,
1050.22998046875,
397.2200012207031,
268.32000732421875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1248.030029296875,
1054.27001953125,
386.510009765625,
273.4700012207031
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1184.56005859375,
1056.5,
380.1400146484375,
267.92999267578125
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1248.280029296875,
1052.949951171875,
378.8299865722656,
270.2200012207031
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1242.699951171875,
1047.5999755859375,
381.42999267578125,
281.4700012207031
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1237.43994140625,
1050.22998046875,
381.42999267578125,
276.2099914550781
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1232.1800537109375,
1052.8599853515625,
384.05999755859375,
273.5799865722656
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1232.1800537109375,
1050.22998046875,
376.1700134277344,
278.8399963378906
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1227.06005859375,
1053.8900146484375,
376.0899963378906,
266.70001220703125
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1216.4000244140625,
1044.969970703125,
381.42999267578125,
278.8399963378906
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1213.77001953125,
1058.1199951171875,
386.70001220703125,
276.2099914550781
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1210.4000244140625,
1054.0400390625,
373.510009765625,
268.7099914550781
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1197.97998046875,
1047.5999755859375,
389.3299865722656,
273.5799865722656
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1169.050048828125,
1047.5999755859375,
399.8500061035156,
278.8399963378906
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1196.6800537109375,
1055.010009765625,
375.75,
266.95001220703125
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1176.93994140625,
1050.22998046875,
381.42999267578125,
276.2099914550781
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1171.6800537109375,
1055.489990234375,
386.70001220703125,
278.8399963378906
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1166.4200439453125,
1063.3900146484375,
397.2200012207031,
273.5799865722656
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1171.6800537109375,
1058.1199951171875,
394.5899963378906,
268.32000732421875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1178.969970703125,
1057.5899658203125,
382.1099853515625,
277.4200134277344
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1050.6700439453125,
868.719970703125,
368.2799987792969,
397.2200012207031
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1048.7900390625,
896.739990234375,
371.3599853515625,
413.2200012207031
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1050.6700439453125,
889.77001953125,
370.9100036621094,
415.6300048828125
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1053.300048828125,
900.2899780273438,
373.5400085449219,
407.739990234375
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1055.9300537109375,
897.6599731445312,
386.70001220703125,
423.5199890136719
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1053.300048828125,
897.6599731445312,
381.42999267578125,
410.3699951171875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1061.18994140625,
902.9199829101562,
391.9599914550781,
418.260009765625
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1082.239990234375,
908.1799926757812,
373.5400085449219,
410.3699951171875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1074.3499755859375,
884.510009765625,
376.1700134277344,
439.30999755859375
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1079.6099853515625,
900.2899780273438,
394.5899963378906,
426.1499938964844
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1092.760009765625,
900.2899780273438,
373.5400085449219,
418.260009765625
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1034.8900146484375,
863.4600219726562,
389.3299865722656,
420.8900146484375
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1105.550048828125,
900.3599853515625,
367.92999267578125,
412.9700012207031
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1105.9100341796875,
892.4000244140625,
368.2799987792969,
420.8900146484375
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1112.3199462890625,
895.1900024414062,
368.69000244140625,
414.1099853515625
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1113.6500244140625,
892.719970703125,
367.54998779296875,
411.05999755859375
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1113.81005859375,
889.77001953125,
368.2799987792969,
397.2200012207031
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1119.0699462890625,
881.8800048828125,
370.9100036621094,
407.739990234375
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1111.1700439453125,
876.6099853515625,
381.42999267578125,
410.3699951171875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1113.81005859375,
881.8800048828125,
373.5400085449219,
402.4800109863281
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1111.1700439453125,
866.0900268554688,
373.5400085449219,
415.6300048828125
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1105.9100341796875,
868.719970703125,
373.5400085449219,
405.1099853515625
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1045.5699462890625,
874.27001953125,
369.8800048828125,
405.2099914550781
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1098.02001953125,
863.4600219726562,
370.9100036621094,
410.3699951171875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1105.9100341796875,
860.8300170898438,
365.6499938964844,
410.3699951171875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1102.219970703125,
866.7899780273438,
357.7799987792969,
397.79998779296875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1096.6600341796875,
859.2999877929688,
361.05999755859375,
404.57000732421875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1084.8699951171875,
860.8300170898438,
370.9100036621094,
415.6300048828125
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1084.8699951171875,
858.2000122070312,
368.2799987792969,
410.3699951171875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1081.5400390625,
856.2999877929688,
360.20001220703125,
406.4100036621094
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1075.3299560546875,
859.77001953125,
359.9700012207031,
401.20001220703125
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1063.8199462890625,
852.9400024414062,
365.6499938964844,
410.3699951171875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1058.56005859375,
863.4600219726562,
363.0199890136719,
394.5899963378906
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1044.6400146484375,
880.22998046875,
361.54998779296875,
402.3299865722656
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1055.9300537109375,
858.2000122070312,
370.9100036621094,
407.739990234375
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1040.25,
882.1500244140625,
368.3500061035156,
405.04998779296875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1045.4100341796875,
889.77001953125,
365.6499938964844,
405.1099853515625
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1045.4100341796875,
871.3499755859375,
360.3900146484375,
413
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1037.52001953125,
884.510009765625,
365.6499938964844,
423.5199890136719
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1042.780029296875,
884.510009765625,
381.42999267578125,
413
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1071.719970703125,
710.8900146484375,
334.0799865722656,
347.239990234375
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1122.97998046875,
720.8099975585938,
325.54998779296875,
332.5400085449219
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1126.9599609375,
716.1500244140625,
334.0799865722656,
344.6099853515625
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1130.719970703125,
713.77001953125,
327.3800048828125,
332.0400085449219
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1136.3800048828125,
707.3400268554688,
326.2099914550781,
333.010009765625
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1129.5899658203125,
697.72998046875,
331.45001220703125,
341.9800109863281
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1134.8499755859375,
687.2100219726562,
339.3399963378906,
355.1300048828125
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1129.5899658203125,
681.9500122070312,
341.9800109863281,
347.239990234375
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1139.7099609375,
687.2999877929688,
326.54998779296875,
332.5400085449219
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1132.219970703125,
671.4299926757812,
341.9800109863281,
341.9800109863281
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1132.219970703125,
676.6900024414062,
326.19000244140625,
331.45001220703125
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1083.1500244140625,
722.5900268554688,
329.5400085449219,
331.5400085449219
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1129.5899658203125,
676.6900024414062,
336.7099914550781,
331.45001220703125
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1121.699951171875,
658.280029296875,
334.0799865722656,
347.239990234375
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1124.3299560546875,
666.1699829101562,
320.92999267578125,
331.45001220703125
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1116.3299560546875,
656.219970703125,
332.4800109863281,
342.8699951171875
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1114,
658.9299926757812,
326.2099914550781,
336.70001220703125
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1100.6500244140625,
650.3800048828125,
336.7099914550781,
344.6099853515625
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1102.3499755859375,
655.4400024414062,
327.3800048828125,
339.0299987792969
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1097.5899658203125,
657.3800048828125,
326.2099914550781,
338.45001220703125
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1084.8699951171875,
655.6500244140625,
341.9800109863281,
344.6099853515625
]
],
"category": [
111
]
} | |
2,592 | 1,944 | {
"bbox": [
[
1083.0799560546875,
659.3400268554688,
331.2900085449219,
338.4100036621094
]
],
"category": [
111
]
} |
FineRPC — Retail Product Checkout in the unified detection format
Source: HF mirror benjamintli/retail-product-checkout (row count verified against the official 83,739). Official: https://rpc-dataset.github.io
Converted by the finedet project into a unified, AutoTrain-compatible layout:
image / width / height / objects{bbox, category} with COCO-format
[x, y, w, h] boxes in absolute pixels. Boxes are clipped to the image and
empty boxes dropped; category ids are densified per the category tables
below.
Box format
objects.bbox follows the COCO convention: [x, y, w, h] in absolute pixels,
origin at the image's top-left corner.
License
Original dataset: RPC (Wei et al., arXiv:1901.07249), CC BY-NC-SA 4.0 per the official site; the HF mirror this was converted from is tagged CC BY-NC-SA 2.0. Redistributed non-commercially under share-alike terms with attribution.
Example images
Boxes are colored by category: near-transparent fill, opaque outline.
![]() | ![]() |
![]() | ![]() |
Conversion notes
Domain gap by split: train contains single-product exemplar images; validation/test contain checkout-counter scenes. Mirror row order is the chunk order.
Splits
- test: 24000 images
- train: 53739 images
- validation: 6000 images
Categories
This dataset has 200 categories. The full category table has moved to categories.csv (columns: id, original_id, name; original_id is empty for this dataset).
Training with transformers
The boxes are already in the absolute-pixel COCO [x, y, w, h] format that
AutoImageProcessor expects, so fine-tuning a detector needs no bbox
conversion:
import torch
from datasets import load_dataset
from transformers import (AutoImageProcessor, AutoModelForObjectDetection,
Trainer, TrainingArguments)
ds = load_dataset("finedet/rpc")
obj_feat = ds["train"].features["objects"]
if hasattr(obj_feat, "feature"):
obj_feat = obj_feat.feature
cat_feat = obj_feat["category"]
names = (cat_feat.feature if hasattr(cat_feat, "feature") else cat_feat).names
checkpoint = "facebook/detr-resnet-50"
processor = AutoImageProcessor.from_pretrained(checkpoint)
model = AutoModelForObjectDetection.from_pretrained(
checkpoint,
id2label=dict(enumerate(names)),
label2id={n: i for i, n in enumerate(names)},
ignore_mismatched_sizes=True,
)
def transform(batch):
images = [img.convert("RGB") for img in batch["image"]]
annotations = [
{"image_id": i,
"annotations": [
{"bbox": box, "category_id": cat, "area": box[2] * box[3], "iscrowd": 0}
for box, cat in zip(objs["bbox"], objs["category"])
]}
for i, objs in enumerate(batch["objects"])
]
return processor(images=images, annotations=annotations, return_tensors="pt")
def collate(batch):
return {"pixel_values": torch.stack([x["pixel_values"] for x in batch]),
"labels": [x["labels"] for x in batch]}
trainer = Trainer(
model=model,
args=TrainingArguments(output_dir="out", per_device_train_batch_size=4,
num_train_epochs=10, learning_rate=1e-5,
remove_unused_columns=False),
train_dataset=ds["train"].with_transform(transform),
data_collator=collate,
)
trainer.train()
- Downloads last month
- 104



