mclint commited on
Commit
a8ebfcd
·
verified ·
1 Parent(s): f763f86

VIP image-level dataset release

Browse files
Files changed (3) hide show
  1. README.md +118 -0
  2. data/comparisons.jsonl +0 -0
  3. dataset_info.json +6 -0
README.md ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: VIP Image-Level
4
+ annotations_creators:
5
+ - crowdsourced
6
+ task_categories:
7
+ - other
8
+ tags:
9
+ - image
10
+ - computer-vision
11
+ - pairwise-ranking
12
+ ---
13
+
14
+ # VIP Image-Level
15
+
16
+ **VIP: Finding Important People in Images** (CVPR 2015)
17
+
18
+ [CVPR paper](https://openaccess.thecvf.com/content_cvpr_2015/html/Mathialagan_VIP_Finding_Important_2015_CVPR_paper.html)
19
+ | [arXiv](https://arxiv.org/abs/1502.05678)
20
+ | [🤗 Hugging Face dataset](https://huggingface.co/datasets/matclint/vip-image-level)
21
+ | [Toolkit](https://github.com/mclint/vip)
22
+
23
+ ## Dataset Summary
24
+
25
+ Pairwise ground-truth importance comparisons between two people in the same image.
26
+
27
+ - Comparisons: 538
28
+ - Data file: `data/comparisons.jsonl`
29
+
30
+ Each JSONL row is a complete comparison. The two `relative_importance`
31
+ values are normalized within that row and sum to 1. They are not absolute
32
+ scores and should not be compared directly across unrelated comparisons.
33
+
34
+ ## Data Fields
35
+
36
+ | Field | Description |
37
+ |---|---|
38
+ | `comparison_id` | Stable identifier for the person pair. |
39
+ | `image.image_id` | VIP image identifier. |
40
+ | `image.source_filename` | Original source-image filename used by the optional downloader. |
41
+ | `image.media_path` | Relative path expected by the local viewer. |
42
+ | `image.width`, `image.height` | Dimensions of the task image in pixels. |
43
+ | `person_a.person_id`, `person_b.person_id` | Person identifiers within the image. |
44
+ | `person_a.bbox_xywh`, `person_b.bbox_xywh` | Face bounding boxes as `[x, y, width, height]` in task-image pixels. |
45
+ | `person_a.relative_importance`, `person_b.relative_importance` | Normalized pair-relative importance values that sum to 1. |
46
+ | `label` | More important side: `a`, `b`, or `tie`. |
47
+
48
+ Bounding boxes identify faces. They preserve the original release coordinates
49
+ and may extend beyond an image boundary when a face is partially outside the
50
+ frame. Clip boxes to the corresponding image dimensions before cropping.
51
+
52
+ ## Example
53
+
54
+ ```json
55
+ {
56
+ "comparison_id": "00001-2-3",
57
+ "image": {
58
+ "image_id": "00001",
59
+ "source_filename": "506467518_537b81ce37_199_34189125@N00.jpg",
60
+ "media_path": "task_flickr/00001.jpg",
61
+ "width": 600,
62
+ "height": 401
63
+ },
64
+ "person_a": {
65
+ "person_id": 2,
66
+ "bbox_xywh": [
67
+ 256.0,
68
+ 73.0,
69
+ 121.0,
70
+ 122.0
71
+ ],
72
+ "relative_importance": 0.9
73
+ },
74
+ "person_b": {
75
+ "person_id": 3,
76
+ "bbox_xywh": [
77
+ 393.0,
78
+ 156.0,
79
+ 44.0,
80
+ 44.0
81
+ ],
82
+ "relative_importance": 0.1
83
+ },
84
+ "label": "a"
85
+ }
86
+ ```
87
+
88
+ ## Media Access
89
+
90
+ Raw source media is not redistributed in this dataset release. The
91
+ `vip` package provides helpers for preparing locally sourced media and
92
+ building the viewer.
93
+
94
+ ## License
95
+
96
+ VIP comparison labels, relative-importance scores, face bounding boxes,
97
+ timestamps, and release metadata are licensed under
98
+ [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Upstream source
99
+ media is not covered by this license and is not redistributed with the dataset.
100
+
101
+ ## Tools
102
+
103
+ See [mclint/vip](https://github.com/mclint/vip) for dataset loaders,
104
+ evaluation utilities, media helpers, and local viewers.
105
+
106
+ ## Citation
107
+
108
+ If you use this dataset, please cite the CVPR 2015 paper:
109
+
110
+ ```bibtex
111
+ @InProceedings{Mathialagan_2015_CVPR,
112
+ author = {Solomon Mathialagan, Clint and Gallagher, Andrew C. and Batra, Dhruv},
113
+ title = {VIP: Finding Important People in Images},
114
+ booktitle = {Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
115
+ month = {June},
116
+ year = {2015}
117
+ }
118
+ ```
data/comparisons.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
dataset_info.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_name": "vip-image-level",
3
+ "format_version": "1.0.0",
4
+ "task": "pairwise_person_importance",
5
+ "data_file": "data/comparisons.jsonl"
6
+ }