Dataset Viewer
Auto-converted to Parquet Duplicate
TEMPLATE_ID
int64
SUBJECT_ID
int64
FILE
string
MEDIA_ID
int64
SIGHTING_ID
int64
FRAME
float64
FACE_X
float64
FACE_Y
float64
FACE_WIDTH
float64
FACE_HEIGHT
float64
RIGHT_EYE_X
float64
RIGHT_EYE_Y
float64
LEFT_EYE_X
float64
LEFT_EYE_Y
float64
NOSE_BASE_X
float64
NOSE_BASE_Y
float64
FACE_YAW
float64
FOREHEAD_VISIBLE
float64
EYES_VISIBLE
float64
NOSE_MOUTH_VISIBLE
float64
INDOOR
float64
GENDER
int64
SKIN_TONE
int64
AGE
float64
FACIAL_HAIR
float64
0
1,673
img/8565.jpg
8,565
27,394
null
3,155
527
571
565
null
null
3,290
807
3,238.25
903.25
null
1
1
1
1
1
4
4
0
0
1,673
img/8559.jpg
8,559
28,222
null
1,188
460.125
166
205.875
1,220.833333
573.5
1,259.714286
561.285714
1,234.923077
614.846154
null
1
1
1
0
1
4
4
1
0
1,673
img/8579.jpg
8,579
27,127
null
573.428571
252.571429
125.142857
161.428571
622.2
340.8
664.666667
337.666667
647.153846
370.307692
0.11244
1
1
1
1
1
4
4
1
0
1,673
img/8558.jpg
8,558
26,484
null
102.25
73.25
200
257.5
196.666667
199
265.857143
196.714286
243.333333
246.833333
7.89891
1
0
0
1
1
4
4
1
0
1,673
frame/29930_00060.png
29,930
14,745
60
195.625
98
75
92.75
212.5
143.5
242.166667
143.166667
224.333333
159.5
-13.6772
1
1
1
1
1
4
4
0
0
1,673
frame/29930_00120.png
29,930
14,746
120
89.571429
53
134.428571
151.142857
181.6
148.4
211.833333
130.333333
214.615385
167.846154
12.4717
1
1
1
1
1
4
null
0
0
1,673
frame/29930_00180.png
29,930
14,747
180
92
50
115.333333
170
141.6
169.6
183.166667
162.333333
165.333333
196.833333
0
1
1
1
1
1
4
null
0
0
1,673
frame/29930_00240.png
29,930
14,748
240
103.714286
62
124
143.428571
185.8
155.6
213.5
137.666667
215.833333
168.333333
null
1
1
1
1
1
4
4
0
0
1,673
frame/29930_00300.png
29,930
14,749
300
148
50
98.285714
124.285714
null
null
176.666667
120.166667
158.142857
141.428571
-32.9558
1
1
1
1
1
4
4
0
0
1,673
frame/29930_00360.png
29,930
14,750
360
169.571429
55
100.857143
131
222.833333
120.833333
258.428571
121.428571
245.846154
143.615385
22.0988
1
1
1
1
1
4
4
0
0
1,673
frame/29930_00390.png
29,930
14,751
390
150.714286
58.714286
102.285714
127.857143
null
null
184.571429
125.142857
163.692308
148.846154
-35.4175
1
1
1
1
1
4
4
0
0
1,673
frame/29930_00450.png
29,930
14,752
450
153
56.333333
103.666667
129.333333
167.5
125.166667
195.5
123.5
175.461539
149.461539
-28.066
1
1
1
1
1
4
4
0
0
1,673
frame/29985_00000.png
29,985
9,263
0
148.428571
50.857143
72.857143
104.142857
160.764706
109.352941
184.5
106.5
171.363636
127.727273
-25.4191
1
0
1
1
1
4
4
1
0
1,673
frame/29985_00060.png
29,985
9,264
60
137.666667
35.333333
109
148.333333
161.8
140.4
192.428571
139.142857
182.4
162
null
1
0
0
1
1
4
4
null
0
1,673
frame/29985_00090.png
29,985
9,265
90
145
34
109
152.5
168
135.5
199.166667
130.666667
185.583333
160.5
null
1
0
0
1
1
4
4
0
0
1,673
frame/29985_00150.png
29,985
9,266
150
115
44.4
111.8
154
137.8
153.6
168.333333
146.5
156.636364
174.727273
null
1
0
1
1
1
4
4
0
0
1,673
frame/29985_00210.png
29,985
9,267
210
149.875
43.375
115.125
150.875
163.8
145.2
190.5
141.5
179.923077
168.307692
null
1
0
1
1
1
4
4
0
0
1,673
frame/29985_00270.png
29,985
9,268
270
135.714286
43.714286
102.571429
149.285714
155.4
147.6
184
144
173.384615
169.923077
null
1
0
1
1
1
4
4
0
0
1,673
frame/29985_00321.png
29,985
9,269
321
128.285714
35.571429
120
146.857143
159.333333
132.5
191.25
125.75
178.909091
154.909091
null
0
0
1
1
1
4
4
0
0
1,673
frame/29985_00381.png
29,985
9,270
381
126.285714
42
117.428571
155
152
150
176.833333
146.666667
164.727273
172.545455
null
1
0
1
1
1
4
4
0
0
1,673
frame/29985_00441.png
29,985
9,271
441
129.2
46.8
108.8
148.2
155
150.285714
183
146.2
169.777778
173
null
1
0
1
1
1
4
null
0
0
1,673
frame/29985_00480.png
29,985
9,272
480
133.714286
45.857143
104.571429
147.857143
153.2
149.8
182.571429
144.714286
170.8
172.9
null
1
0
1
1
1
4
4
0
0
1,673
frame/29985_00540.png
29,985
9,273
540
146.333333
31.333333
103.666667
140
159.4
114.6
189.166667
112.166667
169.384615
140.076923
-31.8954
1
0
1
1
1
4
4
1
1
1,673
img/8580.jpg
8,580
29,498
null
84
9
107.285714
140.571429
124.4
90.6
167.285714
88.714286
147.615385
119.538462
-4.30583
1
1
1
1
1
4
4
0
2
1,673
img/8563.JPG
8,563
25,812
null
1,802.142857
840.142857
504.571429
690.428571
2,078
1,171.8
2,247.571429
1,184.285714
2,187.909091
1,307.454545
20.6034
1
1
1
1
1
4
null
1
5
1,673
img/8572.jpg
8,572
26,074
null
556.142857
430
413.857143
441.285714
885.6
676.4
null
null
932.8
766.9
null
1
1
1
1
1
4
4
1
6
1,673
img/8564.jpg
8,564
30,094
null
1,509
903.428571
124.428571
140
1,581
981.8
1,613.857143
980.142857
1,605.333333
1,005.666667
23.0057
1
1
1
0
1
4
4
0
7
1,673
frame/29931_00000.png
29,931
21,164
0
160
63
95
140
206.2
156
237
154.5
224.363636
175.454546
null
1
0
1
1
1
4
4
0
7
1,673
frame/29931_00060.png
29,931
21,165
60
126.666667
66.333333
106.333333
144
181.5
161.666667
212.8
159
199.5
182.5
null
1
0
1
1
1
4
4
0
7
1,673
frame/29931_00120.png
29,931
21,166
120
134
65.333333
100.333333
140.666667
187.666667
156.833333
null
null
203.083333
177.583333
null
1
0
0
1
1
4
null
0
7
1,673
frame/29931_00180.png
29,931
21,167
180
140.6
64.4
100.4
137.4
192.166667
158.333333
224.666667
157.166667
208.5
178.875
null
1
0
0
1
1
4
4
null
7
1,673
frame/29931_00240.png
29,931
21,168
240
142
61.333333
99
140.666667
192
152.4
225.2
150.6
207.333333
175.583333
null
1
0
0
1
1
4
4
0
7
1,673
frame/29931_00300.png
29,931
21,169
300
147
69.714286
88
133
189
159
220
158.333333
204
180.1
null
1
0
0
1
1
4
4
null
7
1,673
frame/29931_00315.png
29,931
21,170
315
141.428571
66.571429
104.571429
137
null
null
226.5
157.666667
209.222222
179.666667
null
1
0
0
1
1
4
4
1
7
1,673
frame/29931_00375.png
29,931
21,171
375
148
57.333333
93
135.666667
192
133.6
222.166667
132.666667
208.166667
156.666667
-2.87622
1
0
1
1
1
4
3
0
7
1,673
frame/29931_00435.png
29,931
21,172
435
146
67
95
133
194
159.6
224.8
158.8
211.5
178.875
null
1
0
0
1
1
4
4
null
7
1,673
frame/29931_00495.png
29,931
21,173
495
150
66.666667
93
136.333333
193.2
154.2
224.75
154.5
209.111111
174.777778
null
1
0
0
1
1
4
4
0
7
1,673
frame/29931_00555.png
29,931
21,174
555
147
63
101
140
192.8
153.8
224.5
155
208.444444
175.666667
null
1
0
0
1
1
4
4
null
11
3,273
img/36539.jpg
36,539
71,028
null
1,568
184
1,241
1,640
2,122.5
1,037.666667
2,544.5
963
2,431
1,316
10.6387
1
1
1
1
1
1
3
3
11
3,273
img/36546.jpg
36,546
71,051
null
1,265
475
1,502
1,735
1,407
1,237
1,844.666667
1,104.666667
null
null
-33.3524
1
1
1
1
1
1
2
3
11
3,273
frame/36549_00000.png
36,549
71,070
0
712
6
243
244
877.166667
103
null
null
null
null
null
1
1
1
1
1
1
2
0
11
3,273
frame/36549_00060.png
36,549
71,071
60
718
0
241
254
878.666667
104
null
null
null
null
null
1
1
1
1
1
1
3
3
11
3,273
frame/36549_00120.png
36,549
71,072
120
601
116
225
297
699.2
268.6
776.2
258
749.5
311.5
7.76749
1
1
1
1
1
1
3
3
11
3,273
frame/36549_00180.png
36,549
71,073
180
624
124
249
291
700.8
279.8
775.6
265.6
null
null
-12.5781
1
1
1
1
1
1
3
3
11
3,273
frame/36549_00240.png
36,549
71,074
240
608
136
225
286
711
290.5
786
272.4
null
null
7.19233
1
1
1
1
1
1
2
3
11
3,273
frame/36549_00300.png
36,549
71,075
300
622
115
212
283
706.8
261.2
782.8
253.8
null
null
6.89853
1
1
1
1
1
1
2
3
11
3,273
frame/36549_00360.png
36,549
71,076
360
580
132
244
276
670.25
289.5
744.8
259
722.6
318.2
0.280077
1
1
1
1
1
1
2
3
11
3,273
frame/36549_00420.png
36,549
71,077
420
603
124
227
299
663.5
297.833333
735.8
278.8
null
null
-16.2208
1
1
1
1
1
1
2
3
11
3,273
frame/36549_00480.png
36,549
71,078
480
556
144
240
264
652
289.5
722.333333
259.666667
702.285714
324
-7.27381
1
1
0
1
1
1
2
null
11
3,273
frame/36549_00540.png
36,549
71,079
540
587
123
227
292
645.6
285.6
717.75
261
null
null
-16.5952
1
1
1
1
1
1
2
3
11
3,273
frame/36549_00600.png
36,549
71,080
600
601
107
240
304
676.6
270.4
753
249.4
null
null
-8.81124
1
1
1
1
1
1
2
3
11
3,273
frame/36549_00660.png
36,549
71,081
660
600
115
232
300
662
275.333333
736.333333
258.5
704.4
316.2
-14.8764
1
1
1
1
1
1
2
3
11
3,273
frame/36549_00720.png
36,549
71,082
720
592
104
252
313
682.2
277.4
755.166667
260.166667
null
null
-7.2969
1
1
1
1
1
1
2
3
11
3,273
frame/36580_00060.png
36,580
71,164
60
100
62
74
93
107.166667
109.166667
129.2
108.8
null
null
-28.0733
1
1
1
1
1
1
3
null
11
3,273
frame/36580_00120.png
36,580
71,165
120
302
80
130
165
351.75
200
388.333333
209.666667
null
null
null
1
1
1
1
1
1
3
0
11
3,273
frame/36580_00169.png
36,580
71,166
169
91
83
48
56
125.5
110.5
null
null
null
null
null
1
1
1
1
1
1
3
0
11
3,273
frame/36580_00227.png
36,580
71,167
227
181
71
83
101
219.285714
124.857143
237.8
142
null
null
17.8064
1
1
0
1
1
1
3
0
11
3,273
frame/36580_00287.png
36,580
71,168
287
68
34
82
88
121.4
79.8
138.75
76.75
137.8
89.6
31.3435
1
1
1
1
1
1
3
null
11
3,273
frame/36580_00347.png
36,580
71,169
347
114
56
87
90
173.6
105
186.4
97.2
null
null
31.4613
1
1
0
1
1
1
3
0
11
3,273
frame/36580_00407.png
36,580
71,170
407
112
59
80
91
165.166667
113
182
103.2
null
null
33.445
1
1
0
1
1
1
3
0
11
3,273
frame/37147_00000.png
37,147
73,396
0
502
251
137
177
523.333333
343.333333
564.8
343.2
null
null
-23.7457
1
1
1
0
1
1
3
3
11
3,273
frame/37147_00060.png
37,147
73,397
60
528
56
222
292
557.166667
212.666667
615.4
211.6
576
263
-24.4751
1
1
1
1
1
1
3
3
11
3,273
frame/37147_00115.png
37,147
73,399
115
692
208
132
163
747
295.2
null
null
null
null
null
1
1
1
1
1
1
3
2
11
3,273
frame/37147_00142.png
37,147
73,400
142
564
108
129
180
619
220.5
664.666667
216.666667
null
null
null
1
1
1
1
1
1
3
null
11
3,273
frame/37147_00168.png
37,147
73,401
168
505
41
136
188
547.666667
154.666667
593.4
147.4
574.6
182.4
-4.43536
1
1
1
1
1
1
2
3
11
3,273
frame/37147_00193.png
37,147
73,402
193
633
41
132
184
663.2
146.6
706.4
147.2
null
null
-18.3194
1
1
1
1
1
1
2
3
12
3,273
img/36541.jpg
36,541
71,046
null
1,912
338
1,253
1,521
2,183.2
1,006.2
2,588.2
945.6
null
null
-11.7811
1
1
1
1
1
1
2
3
13
3,273
img/36542.jpg
36,542
71,047
null
38
24
168
233
115.6
151.8
179
151.4
null
null
7.20656
1
1
1
1
1
1
2
0
14
3,273
img/36543.jpg
36,543
71,048
null
113
111
576
768
325.4
494.8
543.4
497.4
null
null
12.3745
1
1
1
0
1
1
2
3
15
3,273
img/36544.jpg
36,544
71,049
null
113
44
1,311
1,710
711.2
947.6
1,129
874
992.5
1,189.25
14.3185
1
1
1
1
1
1
3
3
16
3,273
img/36545.jpg
36,545
71,050
null
1,966
261
1,235
1,634
2,231.166667
1,068.666667
2,626.666667
1,152.666667
null
null
-9.69335
1
1
1
1
1
1
2
3
17
3,273
frame/36540_00000.png
36,540
71,029
0
584
3
288
409
739
217
830
224.8
null
null
21.5589
1
1
1
1
1
1
2
null
17
3,273
frame/36540_00060.png
36,540
71,030
60
636
22
267
361
758.8
199.2
846.6
220.4
null
null
12.531
1
1
1
1
1
1
3
2
17
3,273
frame/36540_00120.png
36,540
71,031
120
416
32
272
345
452.25
216
536.833333
195.666667
null
null
-30.1473
1
1
1
1
1
1
2
1
17
3,273
frame/36540_00180.png
36,540
71,032
180
457
44
294
332
578
218.5
674.25
196.25
null
null
8.20771
1
1
1
1
1
1
2
1
17
3,273
frame/36540_00240.png
36,540
71,033
240
441
8
337
408
612.8
237.2
709.8
200
null
null
7.04618
1
1
1
1
1
1
3
0
17
3,273
frame/36540_00300.png
36,540
71,034
300
448
41
313
385
590.6
261.8
689.833333
223
670.8
309.4
6.0088
1
1
1
1
1
1
2
null
17
3,273
frame/36540_00330.png
36,540
71,035
330
449
30
316
395
596.4
263.2
697
223.6
null
null
6.4251
1
1
1
1
1
1
3
1
17
3,273
frame/36540_00390.png
36,540
71,036
390
489
48
302
409
633
287.4
727.333333
257
null
null
16.1084
1
1
1
1
1
1
2
2
17
3,273
frame/36540_00450.png
36,540
71,037
450
489
24
297
436
633.6
290.6
730
260.8
701.8
351.6
9.3216
1
1
1
1
1
1
2
null
17
3,273
frame/36540_00510.png
36,540
71,038
510
478
12
307
424
627.75
261
725.571429
238.857143
695.6
328.2
14.6744
1
1
1
1
1
1
2
0
17
3,273
frame/36540_00570.png
36,540
71,039
570
489
32
297
406
628.8
262
730.2
237.2
null
null
8.81149
1
1
1
1
1
1
3
0
17
3,273
frame/36540_00630.png
36,540
71,040
630
504
33
296
385
649.833333
230.5
749.2
205.2
728.8
290
15.6141
1
1
1
1
1
1
3
2
17
3,273
frame/36540_00690.png
36,540
71,041
690
500
33
320
404
642.2
259
744.2
238.6
null
null
11.1244
1
1
0
1
1
1
2
0
17
3,273
frame/36540_00750.png
36,540
71,042
750
632
36
348
436
803.5
266.5
904.5
293
null
null
16.2295
1
1
1
1
1
1
2
null
17
3,273
frame/36540_00780.png
36,540
71,043
780
518
57
284
396
655.4
252.6
748.2
297.2
null
null
18.2327
1
1
1
1
1
1
2
null
17
3,273
frame/36540_00840.png
36,540
71,044
840
534
76
297
401
669.8
282
764
320.5
null
null
17.9805
1
1
1
1
1
1
3
0
17
3,273
frame/36540_00900.png
36,540
71,045
900
368
64
318
387
436.8
273
529.6
260
null
null
-23.8373
1
1
1
1
1
1
3
0
18
3,273
frame/36547_00000.png
36,547
71,052
0
117
77
87
93
186.444444
121
null
null
null
null
null
1
1
1
1
1
1
3
3
18
3,273
frame/36547_00060.png
36,547
71,053
60
137
78
82
90
197.6
127.6
null
null
null
null
null
1
1
1
1
1
1
3
3
18
3,273
frame/36547_00120.png
36,547
71,054
120
203
26
114
174
225.333333
114.888889
265
123.2
null
null
-17.613
1
1
1
1
1
1
2
3
18
3,273
frame/36547_00180.png
36,547
71,055
180
244
22
118
153
265
95.714286
302
96.8
null
null
-18.6623
1
1
1
1
1
1
2
3
18
3,273
frame/36547_00240.png
36,547
71,056
240
242
44
125
162
303
138
340
130.333333
328.4
159.2
9.15813
1
1
1
1
1
1
2
3
18
3,273
frame/36547_00300.png
36,547
71,057
300
264
35
121
155
339
115.2
373
110.8
null
null
24.923
1
1
1
1
1
1
2
3
18
3,273
frame/36547_00330.png
36,547
71,058
330
275
34
115
151
295.4
111.6
332
105.6
null
null
-20.0212
1
1
1
1
1
1
3
3
18
3,273
frame/36547_00390.png
36,547
71,059
390
276
35
132
156
302.2
108.4
337.2
113
null
null
-21.1979
1
1
1
1
1
1
2
3
18
3,273
frame/36547_00450.png
36,547
71,060
450
284
38
114
159
343.5
111.166667
381.2
113.8
null
null
20.4446
1
1
1
1
1
1
2
3
18
3,273
frame/36547_00510.png
36,547
71,061
510
241
40
132
165
null
null
276.6
120.2
254.8
148.8
null
1
1
1
1
1
1
3
3
18
3,273
frame/36547_00570.png
36,547
71,062
570
254
37
117
167
296.8
128
336.8
126.2
null
null
0.005505
1
1
1
1
1
1
null
3
18
3,273
frame/36547_00630.png
36,547
71,063
630
280
43
114
158
331.8
124.8
370.166667
127.833333
null
null
12.6959
1
1
1
1
1
1
3
3
End of preview. Expand in Data Studio

IJB-A HF-ready

This repo packages the IARPA Janus Benchmark-A (IJB-A) face recognition dataset in its CleanData layout, plus the official 10-split 1:1 verification and 1:N identification protocols.

Unlike LFW-style benchmarks, IJB-A is template-based: each subject is represented by a template aggregating multiple still images and/or video frames. Protocol CSVs map every (template, file) row to a face annotation with bounding box, landmarks, and demographic attributes.

Layout

ijba/
β”œβ”€β”€ README.md
β”œβ”€β”€ files.csv
β”œβ”€β”€ img/                              # 5396 still images (flat)
β”œβ”€β”€ frame.tar                         # 20369 video frames packed into a single tar (~817 MB)
β”œβ”€β”€ img.txt                           # upstream bbox annotations subset (still images)
β”œβ”€β”€ frame.txt                         # upstream bbox annotations subset (video frames)
└── protocols/
    β”œβ”€β”€ IJB-A_11_sets/split{1..10}/    # 1:1 verification protocol inputs
    β”‚   β”œβ”€β”€ train_<n>.csv
    β”‚   β”œβ”€β”€ verify_metadata_<n>.csv
    β”‚   └── verify_comparisons_<n>.csv
    β”œβ”€β”€ IJB-A_11_output/split{1..10}/  # baseline 1:1 outputs (.matches)
    β”œβ”€β”€ IJB-A_1N_sets/split{1..10}/    # 1:N identification protocol inputs
    β”‚   β”œβ”€β”€ train_<n>.csv
    β”‚   β”œβ”€β”€ search_gallery_<n>.csv
    β”‚   └── search_probe_<n>.csv
    └── IJB-A_1N_output/split{1..10}/  # baseline 1:N outputs (.candidate_lists)

Protocol CSV columns

train_*.csv, verify_metadata_*.csv, search_gallery_*.csv, search_probe_*.csv all share the same schema:

TEMPLATE_ID, SUBJECT_ID, FILE, MEDIA_ID, SIGHTING_ID, FRAME, FACE_X, FACE_Y, FACE_WIDTH, FACE_HEIGHT, RIGHT_EYE_X, RIGHT_EYE_Y, LEFT_EYE_X, LEFT_EYE_Y, NOSE_BASE_X, NOSE_BASE_Y, FACE_YAW, FOREHEAD_VISIBLE, EYES_VISIBLE, NOSE_MOUTH_VISIBLE, INDOOR, GENDER, SKIN_TONE, AGE, FACIAL_HAIR

The FILE column resolves relative to the dataset root, e.g. img/8565.jpg or frame/28065_00000.png.

verify_comparisons_*.csv is a header-less file with two columns: enroll_template_id, verify_template_id.

*.matches (verification baseline) and *.candidate_lists (identification baseline) preserve the upstream output schema β€” see the IJB-A documentation for details.

files.csv

A flat index of every image with columns file_name, kind, extension, size_bytes, referenced_in_protocols. Use it for quick joins or coverage checks without walking the filesystem.

Local Stats

  • Still images (img/): 5396
  • Video frames (frame/): 20369
  • Total images: 25765
  • Distinct files referenced by protocols: 25791
  • Verification splits: 10 (IJB-A_11_sets/split1..split10, 30 CSVs total)
  • Verification baseline outputs: 10 (IJB-A_11_output/, 10 files total)
  • Identification splits: 10 (IJB-A_1N_sets/split1..split10, 30 CSVs total)
  • Identification baseline outputs: 10 (IJB-A_1N_output/, 10 files total)

Missing protocol references

The upstream CleanData drop is missing 26 frames that are referenced by at least one protocol CSV. Filter rows on these FILE values before loading them, or skip silently:

  • frame/28264_00000.png
  • frame/28296_00337.png
  • frame/28296_00397.png
  • frame/28296_00448.png
  • frame/28296_00508.png
  • frame/28296_00928.png
  • frame/28296_00983.png
  • frame/28296_01011.png
  • frame/28296_01079.png
  • frame/28296_01375.png
  • frame/28296_01380.png
  • frame/28296_01440.png
  • frame/28296_01500.png
  • frame/28296_01560.png
  • frame/28317_01035.png
  • frame/28332_01020.png
  • frame/28496_00000.png
  • frame/28552_00660.png
  • frame/28593_00000.png
  • frame/28789_00000.png
  • frame/28928_00000.png
  • frame/29192_00000.png
  • frame/29387_00125.png
  • frame/29563_00000.png
  • frame/30369_00000.png
  • frame/30387_00060.png

Unpacking video frames

Video frames are shipped as a single frame.tar archive (uploading 20k tiny PNGs to the Hub triggered server-side commit failures). After downloading the repo, extract it once so the protocol FILE paths resolve:

tar xf frame.tar     # creates frame/<video_id>_<frame_offset>.png

Loading

import pandas as pd
import tarfile
from huggingface_hub import snapshot_download
from pathlib import Path
from PIL import Image

root = Path(snapshot_download(repo_id="marcelohaps/ijb-a", repo_type="dataset"))

# Extract frame.tar in place if not already extracted
if not (root / "frame").exists():
    with tarfile.open(root / "frame.tar") as tf:
        tf.extractall(root)

# 1:1 verification, split 1
metadata = pd.read_csv(root / "protocols/IJB-A_11_sets/split1/verify_metadata_1.csv")
comparisons = pd.read_csv(
    root / "protocols/IJB-A_11_sets/split1/verify_comparisons_1.csv",
    header=None, names=["enroll_template_id", "verify_template_id"],
)

# Open the first face referenced by template_id 109
row = metadata[metadata["TEMPLATE_ID"] == 109].iloc[0]
image = Image.open(root / row["FILE"])

Notes

IJB-A is distributed under the IARPA Janus benchmark license. Check the original dataset terms before publishing or redistributing it. This package preserves the upstream filenames (case included), bounding boxes, and protocol files verbatim.

Downloads last month
38