Datasets:
Commit ·
94c667b
0
Parent(s):
Duplicate from standard-cognition/RetailAction
Browse filesCo-authored-by: Davide Mazzini <davidemaz@users.noreply.huggingface.co>
- .gitattributes +59 -0
- .gitignore +4 -0
- LICENSE +72 -0
- README.md +250 -0
- data/test.tar +3 -0
- data/train.tar +3 -0
- data/validation.tar +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
# Audio files - uncompressed
|
| 39 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
# Audio files - compressed
|
| 43 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
# Image files - uncompressed
|
| 49 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
# Image files - compressed
|
| 54 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
# Video files - compressed
|
| 58 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Ignore extracted files in git
|
| 2 |
+
data/test
|
| 3 |
+
data/train
|
| 4 |
+
data/validation
|
LICENSE
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
STANDARD.AI DATASET LICENSE AGREEMENT
|
| 2 |
+
Release Date: September 24th, 2025
|
| 3 |
+
“Dataset” means the data set, database, or other material to which Standard applied this Agreement.
|
| 4 |
+
“Agreement” means the terms and conditions for use, reproduction, distribution and modification of the Dataset Materials set forth herein.
|
| 5 |
+
|
| 6 |
+
“Dataset Materials” means, collectively, the Dataset and Documentation (and any portion thereof) made available under this Agreement.
|
| 7 |
+
|
| 8 |
+
"Derivative Works" shall mean any work, in any form, that is based on (or derived from) the Dataset Materials and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship.
|
| 9 |
+
|
| 10 |
+
“Documentation” means any documentation accompanying the Dataset.
|
| 11 |
+
|
| 12 |
+
“Licensee” or “you” means you, or your employer or any other person or entity (if you are entering into this Agreement on such person or entity’s behalf), of the age required under applicable laws, rules or regulations to provide legal consent and that has legal authority to bind your employer or such other person or entity if you are entering in this Agreement on their behalf.
|
| 13 |
+
|
| 14 |
+
“Standard” or “we” means Standard Cognition Corp.
|
| 15 |
+
|
| 16 |
+
By using or distributing any portion or element of the Dataset Materials, you agree to be bound by this Agreement.
|
| 17 |
+
|
| 18 |
+
1. License Rights and Redistribution.
|
| 19 |
+
a. Grant of Rights. Subject to the terms and conditions of this License, you are granted a non-exclusive, worldwide, non-transferable and royalty-free limited license under Standard’s intellectual property or other rights owned by Standard embodied in the Dataset Materials to use, reproduce, distribute, copy, create derivative works of, and make modifications to the Dataset Materials.
|
| 20 |
+
|
| 21 |
+
b. Redistribution and Use.
|
| 22 |
+
|
| 23 |
+
i. If you distribute or make available the Dataset Materials (or any derivative works thereof), or a product or service that uses any of them, including an AI model, you shall
|
| 24 |
+
|
| 25 |
+
(a) Identify Standard Cognition as the author of the Dataset Materials in the applicable document, website, user interface, about page, product documentation;
|
| 26 |
+
|
| 27 |
+
(b) Indicate the Dataset Materials are licensed under this Agreement and include a copy of this Agreement with any such Dataset Materials;
|
| 28 |
+
|
| 29 |
+
(c) Retain in all copies of the Dataset Materials that you distribute the following attribution notice within a “Notice” text file distributed as a part of such copies: “This Dataset is licensed under the Standard.AI Dataset License, Copyright © Standard Corp. All Rights Reserved.”
|
| 30 |
+
|
| 31 |
+
ii. Your use of the Dataset Materials must comply with applicable laws and regulations (including trade compliance laws and regulations).
|
| 32 |
+
|
| 33 |
+
iii. You will maintain and use the information in the Dataset Materials in deidentified form and will not attempt to reidentify any individuals in the Dataset Materials.
|
| 34 |
+
|
| 35 |
+
iv. You may add your own intellectual property statement to your modifications of the Dataset Materials and, except as set forth in this Section, may provide additional or different terms and conditions for use, reproduction, or distribution of the Dataset Materials or Derivative Work as a whole, provided your use, reproduction, modification, distribution, performance, and display of the Dataset Materials or Derivative Work otherwise complies with the terms and conditions of this Agreement. Any additional or different terms and conditions you impose must not conflict with the terms of this Agreement and in the event of a conflict, the terms and conditions of this Agreement shall govern over any such additional or different terms and conditions.
|
| 36 |
+
|
| 37 |
+
2. Additional Commercial Terms.
|
| 38 |
+
|
| 39 |
+
If, at any time, the revenue obtained from products or services made available by You that use or incorporate the Dataset Materials exceeds $10,000 (USD), you must request a license to the Dataset Materials from Standard, which Standard may grant to you in its sole discretion. You are not authorized to exercise any of the rights under this Agreement unless or until Standard otherwise expressly grants you such rights.
|
| 40 |
+
If you receive the Dataset Materials or Derivative Works from a direct or indirect licensee as part of an integrated end user product, then this Section 2 will not apply to you.
|
| 41 |
+
|
| 42 |
+
3. Disclaimer of Warranty.
|
| 43 |
+
|
| 44 |
+
UNLESS REQUIRED BY APPLICABLE LAW, THE DATASET MATERIALS ARE PROVIDED ON AN “AS IS” BASIS, WITHOUT WARRANTIES OF ANY KIND, AND STANARD DISCLAIMS ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE DATASET MATERIALS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF THE DATASET MATERIALS.
|
| 45 |
+
|
| 46 |
+
4. Limitation of Liability.
|
| 47 |
+
|
| 48 |
+
IN NO EVENT WILL STANDARD OR ITS AFFILIATES BE LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF STANDARD OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY OF THE FOREGOING.
|
| 49 |
+
|
| 50 |
+
5. Accepting Warranty or Additional Liability
|
| 51 |
+
|
| 52 |
+
While redistributing the Dataset Materials or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of Standard, and only if You agree to indemnify, defend, and hold Standard harmless for any liability incurred by, or claims asserted against, Standard by reason of your accepting any such warranty or additional liability.
|
| 53 |
+
|
| 54 |
+
6. Intellectual Property.
|
| 55 |
+
|
| 56 |
+
a. No trademark licenses are granted under this Agreement, and in connection with the Dataset Materials, neither Standard nor Licensee may use any name or mark owned by or associated with the other or any of its affiliates, except as required for reasonable and customary use in describing and redistributing the Dataset Materials or as set forth in this Section 5(a).
|
| 57 |
+
|
| 58 |
+
b. Subject to Standard’s ownership of the Dataset Materials and derivatives made by or for Standard, with respect to any derivative works and modifications of the Dataset Materials that are made by you, as between you and Standard, you are and will be the owner of such derivative works and modifications.
|
| 59 |
+
|
| 60 |
+
c. If you institute litigation or other proceedings against Meta or any entity (including a crossclaim or counterclaim in a lawsuit) alleging that the Dataset Materials, or any portion of any of the foregoing, constitutes infringement of intellectual property or other rights owned or licensable by you, then any licenses granted to you under this Agreement shall terminate as of the date such litigation or claim is filed or instituted. You will indemnify and hold harmless Standard from and against any claim by any third party arising out of or related to your use or distribution of the Dataset Materials.
|
| 61 |
+
|
| 62 |
+
7. Term and Termination.
|
| 63 |
+
|
| 64 |
+
The term of this Agreement will commence upon your acceptance of this Agreement or access to the Dataset Materials and will continue in full force and effect until terminated in accordance with the terms and conditions herein. Standard may terminate this Agreement if you are in breach of any term or condition of this Agreement. Upon termination of this Agreement, you shall delete and cease use of the Dataset Materials. Sections 3, 4 and 8 shall survive the termination of this Agreement.
|
| 65 |
+
|
| 66 |
+
8. Governing Law and Jurisdiction.
|
| 67 |
+
|
| 68 |
+
This Agreement will be governed and construed under the laws of the State of California without regard to choice of law principles, and the UN Convention on Contracts for the International Sale of Goods does not apply to this Agreement. The courts of California shall have exclusive jurisdiction of any dispute arising out of this Agreement.
|
| 69 |
+
|
| 70 |
+
9. Reporting Unlicensed Uses of the Dataset Materials
|
| 71 |
+
|
| 72 |
+
To report unlicensed uses of the Dataset Materials, please contact us at legal@standard.ai.
|
README.md
ADDED
|
@@ -0,0 +1,250 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
task_categories:
|
| 3 |
+
- video-classification
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
tags:
|
| 7 |
+
- Retail
|
| 8 |
+
- Action
|
| 9 |
+
- Video
|
| 10 |
+
- ICCV
|
| 11 |
+
- Multi-View
|
| 12 |
+
- Spatio-Temporal
|
| 13 |
+
- Localization
|
| 14 |
+
- Interactions
|
| 15 |
+
size_categories:
|
| 16 |
+
- 10K<n<100K
|
| 17 |
+
license: other
|
| 18 |
+
---
|
| 19 |
+
# RetailAction Dataset
|
| 20 |
+
|
| 21 |
+
[](https://retailvisionworkshop.github.io/)
|
| 22 |
+
**Paper**: *RetailAction: Dataset for Multi-View Spatio-Temporal Localization of Human-Object Interactions in Retail*
|
| 23 |
+
**Accepted at**: ICCV 2025 – Retail Vision Workshop
|
| 24 |
+
**Authors**: Davide Mazzini, Alberto Raimondi, Bruno Abbate, Daniel Fischetti, David M. Woollard
|
| 25 |
+
**Organization**: [Standard AI](https://standard.ai/)
|
| 26 |
+
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
## Overview
|
| 30 |
+
|
| 31 |
+
RetailAction is a large-scale dataset designed for **multi-view spatio-temporal localization of human–object interactions in real-world retail environments**.
|
| 32 |
+
|
| 33 |
+
Unlike previous action recognition datasets, RetailAction focuses on **precisely localizing customer–product interactions** (e.g., *take*, *put*, *touch*) in both **space and time**, across **multiple synchronized ceiling-mounted cameras** in operational convenience stores.
|
| 34 |
+
|
| 35 |
+
The dataset is released to advance research in:
|
| 36 |
+
- Fine-grained action recognition in retail
|
| 37 |
+
- Multi-view action localization
|
| 38 |
+
- Human–object interaction understanding
|
| 39 |
+
- Applications such as shopper behavior analysis, autonomous checkout, and retail analytics
|
| 40 |
+
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
## Key Features
|
| 44 |
+
|
| 45 |
+
- **Real-world scale**: 21,000 multi-view annotated samples (≈41 hours of video)
|
| 46 |
+
- **Multi-view recordings**: Each sample contains **two synchronized top-view videos** from ceiling-mounted cameras
|
| 47 |
+
- **Real customers**: 10,000+ unique shoppers across **10 convenience stores in the United States**
|
| 48 |
+
- **Interaction-centric labels**: Instead of bounding boxes around people, **point-based annotations** mark the exact location where an item is touched
|
| 49 |
+
- **Action categories**:
|
| 50 |
+
- `Take`: picking up an item
|
| 51 |
+
- `Put`: placing back an item
|
| 52 |
+
- `Touch`: hand contact without taking/placing
|
| 53 |
+
- **Efficient video clips**: Each video has ≤32 frames, selected via motion-aware frame scoring for maximum informativeness
|
| 54 |
+
- **Privacy preserved**: All data anonymized with facial blurring and removal of store identifiers
|
| 55 |
+
|
| 56 |
+
---
|
| 57 |
+
|
| 58 |
+
## Get Started
|
| 59 |
+
|
| 60 |
+
### Download the Dataset
|
| 61 |
+
|
| 62 |
+
To download the full dataset, you can use the following code. If you encounter any issues, please refer to the official Hugging Face documentation.
|
| 63 |
+
|
| 64 |
+
```bash
|
| 65 |
+
# Make sure you have git-lfs installed (https://git-lfs.com)
|
| 66 |
+
git lfs install
|
| 67 |
+
|
| 68 |
+
# When prompted for a password, use an access token with write permissions.
|
| 69 |
+
# Generate one from your settings: https://huggingface.co/settings/tokens
|
| 70 |
+
git clone https://huggingface.co/datasets/standard-cognition/RetailAction
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
### Extract the Dataset
|
| 74 |
+
|
| 75 |
+
```bash
|
| 76 |
+
# Navigate to the directory where the extraction script is located
|
| 77 |
+
cd data
|
| 78 |
+
# Extract the three dataset splits
|
| 79 |
+
tar -xf test.tar
|
| 80 |
+
tar -xf validation.tar
|
| 81 |
+
tar -xf train.tar
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
---
|
| 85 |
+
|
| 86 |
+
## Dataset Statistics
|
| 87 |
+
|
| 88 |
+
- **Total samples**: 21,000
|
| 89 |
+
- **Total video hours**: ~41h
|
| 90 |
+
- **Unique shoppers**: 10,000+
|
| 91 |
+
- **Stores**: 10 real-world locations
|
| 92 |
+
|
| 93 |
+
**Action distribution**:
|
| 94 |
+
|
| 95 |
+
- `Take`: 97.2%
|
| 96 |
+
- `Put`: ~2%
|
| 97 |
+
- `Touch`: <1%
|
| 98 |
+
|
| 99 |
+
**Number of actions per segment**:
|
| 100 |
+
|
| 101 |
+
- 0 actions: 9.1%
|
| 102 |
+
- 1 action: 84.7%
|
| 103 |
+
- 2 actions: 5.5%
|
| 104 |
+
- \>2 actions: 0.7%
|
| 105 |
+
|
| 106 |
+
**Duration distributions**:
|
| 107 |
+
|
| 108 |
+
- Segment duration: typically 10–50s
|
| 109 |
+
- Action duration: mostly ≤3s
|
| 110 |
+
|
| 111 |
+
**Store representation**:
|
| 112 |
+
|
| 113 |
+
- Store 1: 36.2%
|
| 114 |
+
- Store 2: 26.1%
|
| 115 |
+
- Store 3: 18.7%
|
| 116 |
+
- Store 4: 9.1%
|
| 117 |
+
- Remaining stores: 9.9% combined
|
| 118 |
+
|
| 119 |
+
---
|
| 120 |
+
|
| 121 |
+
## Dataset Splits
|
| 122 |
+
|
| 123 |
+
The dataset is partitioned by **unique shopper identity** to avoid leakage:
|
| 124 |
+
|
| 125 |
+
- **Train**: 17,222 samples
|
| 126 |
+
- **Validation**: 1,277 samples
|
| 127 |
+
- **Test**: 2,501 samples
|
| 128 |
+
|
| 129 |
+
Identifiers are anonymized and not released.
|
| 130 |
+
|
| 131 |
+
---
|
| 132 |
+
|
| 133 |
+
## File Structure
|
| 134 |
+
|
| 135 |
+
Each dataset sample contains:
|
| 136 |
+
```
|
| 137 |
+
sample_xxxxx/
|
| 138 |
+
├── rank0_video.mp4 # First camera view
|
| 139 |
+
├── rank1_video.mp4 # Second camera view
|
| 140 |
+
├── metadata.json # Metadata including sampling scores, poses, face positions and spatio-temporal labels for actions
|
| 141 |
+
```
|
| 142 |
+
|
| 143 |
+
### Annotations
|
| 144 |
+
|
| 145 |
+
The `metadata.json` file contains comprehensive annotations organized into several sections:
|
| 146 |
+
|
| 147 |
+
#### Action Labels
|
| 148 |
+
|
| 149 |
+
Each human-object interaction includes:
|
| 150 |
+
|
| 151 |
+
- **Action class**: `{take, put, touch}`
|
| 152 |
+
- **Temporal interval**: Normalized start/end times (0.0-1.0) relative to segment duration
|
| 153 |
+
- **Spatial coordinates**: `(x, y)` normalized coordinates for each camera view (`rank0`, `rank1`)
|
| 154 |
+
|
| 155 |
+
#### Camera Data (`action_cam`)
|
| 156 |
+
|
| 157 |
+
For each camera view (`rank0`, `rank1`):
|
| 158 |
+
|
| 159 |
+
- **Frame timestamps**: ISO 8601 timestamps for each video frame.
|
| 160 |
+
- **Face positions**: Detected face locations with `(col, row)` coordinates and timestamps of the subject of interest.
|
| 161 |
+
- **Sampling scores**: Motion-aware frame importance scores with timestamps
|
| 162 |
+
- **Pose data**: Full-body pose estimation is provided only for the subject of interest (i.e., the person with labeled actions). In videos with multiple people, only this subject has associated face positions and pose data.
|
| 163 |
+
- Joint coordinates for 18 body keypoints (head, shoulders, elbows, wrists, hands, waist, hips, knees, ankles, feet)
|
| 164 |
+
- Confidence scores for each joint detection
|
| 165 |
+
|
| 166 |
+
#### Segment Information
|
| 167 |
+
|
| 168 |
+
- **Temporal bounds**: Start and end timestamps for the entire video segment. `sampled_at_start` for every video starts at 1970-01-01T00:00:00 for anonymization purposes
|
| 169 |
+
|
| 170 |
+
---
|
| 171 |
+
|
| 172 |
+
## Spatial Metric Normalization (meters/pixels factor)
|
| 173 |
+
|
| 174 |
+
To fairly evaluate spatial localization, we convert distances from pixels to meters.
|
| 175 |
+
|
| 176 |
+
1. For each video, we estimate the **meters-per-pixel factor** (`m_px_factor`) based on bone lengths derived from 2D pose keypoints.
|
| 177 |
+
2. We compare measured pixel bone lengths to the average real-world bone lengths (computed from >10K 3D poses across multiple stores and cameras).
|
| 178 |
+
3. The ratio gives a per-video normalization factor used to compute Euclidean distances in meters between predicted and ground-truth interaction points.
|
| 179 |
+
|
| 180 |
+
### Average Bone Lengths in Meters
|
| 181 |
+
|
| 182 |
+
Computed from our 3D retail pose dataset:
|
| 183 |
+
|
| 184 |
+
```python
|
| 185 |
+
BONE_LENGTH_MEANS = {
|
| 186 |
+
("neck", "nose"): 0.19354,
|
| 187 |
+
("left_shoulder", "left_elbow"): 0.27096,
|
| 188 |
+
("left_elbow", "left_wrist"): 0.21228,
|
| 189 |
+
("right_shoulder", "right_elbow"): 0.27210,
|
| 190 |
+
("right_elbow", "right_wrist"): 0.21316,
|
| 191 |
+
("left_hip", "left_knee"): 0.39204,
|
| 192 |
+
("left_knee", "left_ankle"): 0.39530,
|
| 193 |
+
("right_hip", "right_knee"): 0.39266,
|
| 194 |
+
("right_knee", "right_ankle"): 0.39322,
|
| 195 |
+
("left_shoulder", "right_shoulder"): 0.35484,
|
| 196 |
+
("left_hip", "right_hip"): 0.17150,
|
| 197 |
+
("neck", "left_shoulder"): 0.18136,
|
| 198 |
+
("neck", "right_shoulder"): 0.18081,
|
| 199 |
+
("left_shoulder", "left_hip"): 0.51375,
|
| 200 |
+
("right_shoulder", "right_hip"): 0.51226,
|
| 201 |
+
}
|
| 202 |
+
```
|
| 203 |
+
|
| 204 |
+
### Fallback Factor
|
| 205 |
+
In cases where poses are incomplete or invalid and bone-based normalization cannot be computed, we apply a global average factor:
|
| 206 |
+
|
| 207 |
+
```python
|
| 208 |
+
M_PX_FACTOR_AVG = 3.07 # meters per 1000 pixels (approx.)
|
| 209 |
+
```
|
| 210 |
+
This ensures robust metric computation across all samples.
|
| 211 |
+
|
| 212 |
+
## Benchmark & Baselines
|
| 213 |
+
|
| 214 |
+
We provide a **DETR-based multi-view localization model** as baseline, evaluated with state-of-the-art backbones.
|
| 215 |
+
|
| 216 |
+
**Baseline performance (Test Set):**
|
| 217 |
+
|
| 218 |
+
| Model | Type | mAP | mAPs (spatial) | mAPt (temporal) |
|
| 219 |
+
|------------------|--------|------|----------------|-----------------|
|
| 220 |
+
| MoViNet-A2 | Conv | 33.5 | 43.8 | **60.9** |
|
| 221 |
+
| SlowFast-R101 | Conv | 40.2 | 50.4 | 53.2 |
|
| 222 |
+
| MViT-b | Transf | **41.7** | **55.6** | 58.2 |
|
| 223 |
+
| ViT-small | Transf | 28.3 | 42.4 | 46.9 |
|
| 224 |
+
| ViT-base | Transf | 31.1 | 45.7 | 47.0 |
|
| 225 |
+
| ViT-giant (frozen) | Transf | 38.5 | 50.3 | 58.0 |
|
| 226 |
+
|
| 227 |
+
---
|
| 228 |
+
|
| 229 |
+
## Citation
|
| 230 |
+
|
| 231 |
+
If you use this dataset, please cite:
|
| 232 |
+
|
| 233 |
+
```bibtex
|
| 234 |
+
@inproceedings{mazzini2025retailaction,
|
| 235 |
+
title={RetailAction: Dataset for Multi-View Spatio-Temporal Localization of Human-Object Interactions in Retail},
|
| 236 |
+
author={Mazzini, Davide and Raimondi, Alberto and Abbate, Bruno and Fischetti, Daniel and Woollard, David M.},
|
| 237 |
+
booktitle={ICCV Retail Vision Workshop},
|
| 238 |
+
year={2025}
|
| 239 |
+
}
|
| 240 |
+
```
|
| 241 |
+
|
| 242 |
+
## License
|
| 243 |
+
The dataset is released by Standard AI.
|
| 244 |
+
See the full license terms in the [LICENSE](./LICENSE) file.
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
## Contact
|
| 248 |
+
|
| 249 |
+
For questions or collaborations, please contact:
|
| 250 |
+
{davide, bruno, david.woollard}@standard.ai
|
data/test.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26a376627f22df0702d1bb536dd073843d3720a6b4a1788d4d226513a3ac8a25
|
| 3 |
+
size 3838385152
|
data/train.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:272dcd90f2a12020dfe40542b54196dc36309a0e42298ff50f3c384956369ad0
|
| 3 |
+
size 26082080256
|
data/validation.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1287dc0b491f3eab5807d216bb96db2436da845ed0ea6e4ec69daf6182873836
|
| 3 |
+
size 1937612800
|