File size: 25,039 Bytes
7a0937c
 
 
 
 
 
2c148f4
55714d0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2c148f4
55714d0
 
 
2c148f4
 
7a0937c
 
2c148f4
 
 
 
 
 
 
 
e35a8df
 
2c148f4
 
 
7a0937c
2c148f4
 
 
 
 
55714d0
2c148f4
 
 
 
 
7a0937c
 
2c148f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7a0937c
 
2c148f4
 
 
 
 
7a0937c
 
2c148f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7a0937c
 
 
 
 
2c148f4
7a0937c
 
2c148f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7a0937c
 
 
 
 
2c148f4
 
 
 
55714d0
e35a8df
7a0937c
 
 
 
2c148f4
 
 
 
 
55714d0
e35a8df
7a0937c
 
 
89f95a6
 
 
 
2c148f4
89f95a6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2c148f4
 
 
 
 
89f95a6
 
 
 
 
 
 
 
 
 
2c148f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89f95a6
 
 
7a0937c
 
 
 
2c148f4
7a0937c
 
 
 
 
 
 
 
2c148f4
7a0937c
 
 
 
 
 
 
 
 
 
 
 
 
 
2c148f4
7a0937c
 
 
 
 
 
 
 
89f95a6
 
2c148f4
 
 
7a0937c
 
 
 
 
 
2c148f4
7a0937c
 
 
 
 
 
 
 
2c148f4
 
 
 
 
7a0937c
 
 
 
 
 
2c148f4
7a0937c
 
 
 
 
 
 
 
2c148f4
 
 
 
 
7a0937c
 
 
 
 
 
2c148f4
7a0937c
 
 
 
 
 
 
 
 
 
 
 
 
 
2c148f4
7a0937c
 
 
 
 
 
 
 
 
 
 
 
 
 
2c148f4
55714d0
7a0937c
 
 
 
 
 
 
 
 
 
 
 
 
2c148f4
55714d0
7a0937c
 
 
 
 
 
 
 
 
 
 
 
 
2c148f4
55714d0
7a0937c
 
 
 
 
 
 
 
 
 
 
 
 
2c148f4
7a0937c
 
 
 
 
 
 
 
 
 
 
 
2c148f4
89f95a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
{
  "@context": {
    "@language": "en",
    "@vocab": "https://schema.org/",
    "sc": "https://schema.org/",
    "cr": "http://mlcommons.org/croissant/",
    "rai": "http://mlcommons.org/croissant/RAI/",
    "dct": "http://purl.org/dc/terms/",
    "citeAs": "cr:citeAs",
    "column": "cr:column",
    "conformsTo": "dct:conformsTo",
    "containedIn": "cr:containedIn",
    "data": {
      "@id": "cr:data",
      "@type": "@json"
    },
    "dataType": {
      "@id": "cr:dataType",
      "@type": "@vocab"
    },
    "examples": {
      "@id": "cr:examples",
      "@type": "@json"
    },
    "extract": "cr:extract",
    "field": "cr:field",
    "fileObject": "cr:fileObject",
    "fileSet": "cr:fileSet",
    "fileProperty": "cr:fileProperty",
    "format": "cr:format",
    "includes": "cr:includes",
    "isLiveDataset": "cr:isLiveDataset",
    "jsonPath": "cr:jsonPath",
    "key": "cr:key",
    "md5": "cr:md5",
    "parentField": "cr:parentField",
    "path": "cr:path",
    "recordSet": "cr:recordSet",
    "references": "cr:references",
    "regex": "cr:regex",
    "repeated": "cr:repeated",
    "replace": "cr:replace",
    "samplingRate": "cr:samplingRate",
    "separator": "cr:separator",
    "source": "cr:source",
    "subField": "cr:subField",
    "transform": "cr:transform",
    "equivalentProperty": "cr:equivalentProperty"
  },
  "@type": "sc:Dataset",
  "@id": "synglass",
  "name": "SynGlass",
  "alternateName": [
    "SynGlass: A Large-Scale Synthetic Dataset for Fine-Grained Eyeglasses Segmentation",
    "Synthetic Humans with Glasses dataset"
  ],
  "description": "SynGlass is a large-scale synthetic dataset for fine-grained eyeglasses segmentation, introduced at BMVC 2026. It contains 332,928 renders (1024x1024 PNG) of 128 photorealistic RenderPeople avatars wearing 867 distinct 3D-scanned eyeglass models, each combination rendered in Unreal Engine 5 under 3 random near-frontal head poses in an indoor living-room scene. Every render comes with pixel-accurate lens and frame segmentation masks generated directly from the 3D geometry (the masks additionally encode normalized camera-view depth in their RGBA channels) and a per-render JSON file with head pose, head/eye positions and camera parameters. Each eyeglass model is labelled with frame family (full-rim / semi-rimless / rimless), material (plastic / metal), lens shape (rectangle, square, round, oval, aviator, cat-eye, other) and lens type (clear / sunglasses); each avatar with gender, age group and ethnicity. The split is by eyeglass model: 776 models (297,984 renders) for training and 91 held-out models whose 22,304 pose-matched renders form the test set; the remaining 12,640 renders of the test models are kept in a separate test_pool split and must not be used for training. Subject and eyeglass identifiers are anonymized (subject_NNN, glasses_NNN). Each row of manifest/sessions.csv is one render; resource paths are relative to the dataset root and start with the subject folder.",
  "version": "1.1.0",
  "license": "https://creativecommons.org/licenses/by-nc/4.0/",
  "url": "https://huggingface.co/datasets/asergiu/SynGlass",
  "datePublished": "2026-05-01",
  "dateModified": "2026-11-04",
  "citeAs": "@inproceedings{borza2026synglass, title={SynGlass: A Large-Scale Synthetic Dataset for Fine-Grained Eyeglasses Segmentation}, author={Borza, Diana-Laura and Marinescu, Alexandru-Ion and Bota, Robert and D\\u0103r\\u0103bant, Adrian-Sergiu}, booktitle={Proceedings of the British Machine Vision Conference (BMVC)}, year={2026}}",
  "keywords": [
    "eyeglasses segmentation",
    "lens segmentation",
    "semantic segmentation",
    "synthetic dataset",
    "Unreal Engine 5",
    "RenderPeople",
    "human avatars",
    "eyewear",
    "boundary accuracy",
    "computer vision",
    "BMVC 2026"
  ],
  "creator": [
    {
      "@type": "Person",
      "name": "Diana-Laura Borza",
      "email": "diana.borza@ubbcluj.ro",
      "affiliation": {
        "@type": "Organization",
        "name": "Babeș-Bolyai University, Department of Computer Science",
        "url": "https://www.cs.ubbcluj.ro/"
      }
    },
    {
      "@type": "Person",
      "name": "Alexandru-Ion Marinescu",
      "email": "alexandru.marinescu@ubbcluj.ro",
      "affiliation": {
        "@type": "Organization",
        "name": "Babeș-Bolyai University, Department of Computer Science",
        "url": "https://www.cs.ubbcluj.ro/"
      }
    },
    {
      "@type": "Person",
      "name": "Robert Bota",
      "email": "robertbota2201@gmail.com",
      "affiliation": {
        "@type": "Organization",
        "name": "Babeș-Bolyai University, Department of Computer Science",
        "url": "https://www.cs.ubbcluj.ro/"
      }
    },
    {
      "@type": "Person",
      "name": "Adrian-Sergiu Dărăbant",
      "email": "sergiu.darabant@ubbcluj.ro",
      "affiliation": {
        "@type": "Organization",
        "name": "Babeș-Bolyai University, Department of Computer Science",
        "url": "https://www.cs.ubbcluj.ro/"
      }
    }
  ],
  "publisher": {
    "@type": "Organization",
    "name": "Babeș-Bolyai University, Department of Computer Science",
    "url": "https://www.cs.ubbcluj.ro/"
  },
  "funder": [
    {
      "@type": "Organization",
      "name": "Romanian Hub for Artificial Intelligence - HRIA (2021-2027, MySMIS no. 351416)"
    },
    {
      "@type": "Organization",
      "name": "Project PN-IV-P7-7.1-PTE-2024-0105, contract no. 43PTE (05/05/2025)"
    }
  ],
  "conformsTo": "http://mlcommons.org/croissant/1.1",
  "inLanguage": "en",
  "isLiveDataset": false,
  "rai:dataCollection": "Fully synthetic generation with an automated Unreal Engine 5 pipeline. Each of the 128 RenderPeople avatars wears each of the 867 eyeglass models (3D scans of real frames with separate frame and lens sub-meshes) and is rendered from a frontal camera (horizontal FOV 15 deg) at 125-175 cm in an indoor living-room scene, under three random head poses: two with yaw/pitch/roll in [-2, 2] deg and one in [-7, 7] deg excluding [-2, 2] deg. No real person was photographed.",
  "rai:dataCollectionType": [
    "Synthetic data generation (Unreal Engine 5 rendering of licensed 3D scans)"
  ],
  "rai:dataCollectionTimeframe": "2025 - 2026 (rimless-frame renders added in 2026)",
  "rai:dataCollectionRawData": "Raw 1024x1024 lossless PNG renders are distributed as-is, together with the lens and frame masks rendered from the same viewpoint and the per-render JSON metadata.",
  "rai:dataCollectionMissingData": "None: every render has a color image, a frame mask, a lens mask and a metadata file. Frames whose lenses are not visible do not occur because all captures are near-frontal and occlusion-free by construction.",
  "rai:dataPreprocessingProtocol": [
    "No filtering or cleaning was applied to the renders. The benchmark in the paper crops faces with MediaPipe (20 % enlarged box re-centred on the eyes, central crop with width = 2 x height, resized to width 448); the released images are the uncropped 1024x1024 renders.",
    "The test split is a pose-matched subsample (22,304 of 34,944 renders) of the 91 held-out eyeglass models; the unselected renders are kept in the test_pool split."
  ],
  "rai:dataAnnotationProtocol": "Segmentation masks are rendered directly from the frame and lens sub-meshes of the 3D eyeglass models, so they are pixel-accurate and free of human labelling noise. In the RGBA mask PNGs, black means background; any non-black pixel belongs to the class and its four channels encode the normalized camera-view depth. Per-eyeglass taxonomy labels (family, material, shape, lens type) were assigned manually by the authors per eyeglass model; avatar demographics come from the RenderPeople catalogue.",
  "rai:dataAnnotationPlatform": [
    "None (masks from the rendering engine; taxonomy labels assigned by the authors)"
  ],
  "rai:dataAnnotationAnalysis": "Mask annotations are deterministic renders, so inter-annotator agreement does not apply. Taxonomy labels are a single expert assignment per eyeglass model (867 models).",
  "rai:machineAnnotationTools": [
    "Unreal Engine 5 (masks, depth encoding, metadata)"
  ],
  "rai:annotationsPerItem": "One frame mask, one lens mask and one metadata file per render.",
  "rai:annotatorDemographics": "Not applicable (no crowd annotators; taxonomy labels assigned by the authors).",
  "rai:personalSensitiveInformation": [
    "The dataset contains no real personal data: all faces are renders of commercially licensed RenderPeople scans and all identifiers are anonymized (subject_NNN, glasses_NNN). Avatars carry coarse gender, age-group and ethnicity labels to enable fairness analyses. Eyeglass models are 3D scans of commercial frames; product names are not released."
  ],
  "rai:dataUseCases": [
    "Training and benchmarking fine-grained eyeglasses lens/frame segmentation",
    "Pre-training for real-world eyeglasses segmentation (synthetic-to-real transfer)",
    "Boundary-accuracy evaluation with region-based and radial metrics (RTA, RErr)",
    "Optometric measurement research (pupillary distance, fitting height, lens optical centre), frame retrieval, eyewear-aware face analysis"
  ],
  "rai:dataLimitations": [
    "Entirely synthetic: indoor lighting only; real skin textures, natural illumination and reflections under uncontrolled light are not covered.",
    "Near-frontal, cooperative captures only (|yaw|, |pitch|, |roll| <= 7 deg); not suited for in-the-wild or profile views.",
    "Frame families are imbalanced as in commercial catalogues: 839 full-rim, 17 rimless, 11 semi-rimless models; the test set contains 6 rimless and 1 semi-rimless model.",
    "128 avatars with the demographic skew listed under dataBiases.",
    "Subject identities are shared between train and test; only eyeglass models are disjoint."
  ],
  "rai:dataBiases": [
    "Avatar demographics (128): gender 73 female / 55 male; age <13: 12, 13-18: 10, 19-30: 73, 31-50: 22, 50+: 11; ethnicity White 73, Black 23, Asian 18, Indian 6, Middle Eastern 5, Hispanic/Latino 3.",
    "Eyeglass models (867): full-rim 839 / rimless 17 / semi-rimless 11; plastic 726 / metal 141; rectangle 182, cat-eye 181, round 153, oval 146, square 114, other 47, aviator 44; clear lenses 669 / sunglasses 198."
  ],
  "rai:dataSocialImpact": "Intended to improve eyewear segmentation for optometric measurement, frame retrieval and eyewear-aware face analysis. Segmentation models trained on it could be used as a component of face-recognition or surveillance pipelines; the dataset is released under CC BY-NC 4.0 and must not be used for surveillance or any application that could harm individuals.",
  "rai:dataReleaseMaintenancePlan": "Hosted on Hugging Face (asergiu/SynGlass) and maintained by Prof. Adrian-Sergiu Darabant, Babes-Bolyai University (sergiu.darabant@ubbcluj.ro). Errata are documented on the dataset page; released versions stay available with version identifiers (1.0.0: initial release; 1.1.0: corrected split labels, eyeglass taxonomy and avatar demographics tables).",
  "distribution": [
    {
      "@type": "cr:FileObject",
      "@id": "sessions-csv",
      "name": "sessions.csv",
      "description": "Manifest with one row per render: split (train / test / test_pool), anonymized subject and eyeglass ids, capture index and the relative paths of the four resources.",
      "contentUrl": "manifest/sessions.csv",
      "encodingFormat": "text/csv",
      "sha256": "c0f74d8fbc8d4bfefddc785a657cdacdd8dbd6353fe789bcb10c4de4de6ce660"
    },
    {
      "@type": "cr:FileObject",
      "@id": "eyeglasses-csv",
      "name": "eyeglasses.csv",
      "description": "One row per eyeglass model (867): split, frame family, material, lens shape and lens type.",
      "contentUrl": "manifest/eyeglasses.csv",
      "encodingFormat": "text/csv",
      "sha256": "497f0aa4aba0bb47f0182de790603ab39aa6d2031bad5a1c034ce3dbae8a6bd0"
    },
    {
      "@type": "cr:FileObject",
      "@id": "subjects-csv",
      "name": "subjects.csv",
      "description": "One row per avatar (128): gender, age group and ethnicity.",
      "contentUrl": "manifest/subjects.csv",
      "encodingFormat": "text/csv",
      "sha256": "a11d131df40ae833d99d41ec9da9aaeb1b2e1972563561aa8bb9a51c72c2e545"
    },
    {
      "@type": "cr:FileSet",
      "@id": "shards",
      "name": "WebDataset TAR shards",
      "description": "Renders packed as WebDataset-style TAR shards, ~4 GB each: shards/train/train-NNNNNN.tar (143 files) and shards/test/test-NNNNNN.tar (11 files). Note: the train shards physically also contain the 12,640 test_pool renders; use the split column of sessions.csv to select renders.",
      "includes": "shards/*/*.tar",
      "encodingFormat": "application/x-tar"
    },
    {
      "@type": "cr:FileSet",
      "@id": "png-files",
      "name": "PNG images and masks",
      "description": "1024x1024 colour renders (*_color.png) and RGBA frame/lens masks with depth encoding (*_mask_frame.png, *_mask_lens.png), inside the shards.",
      "containedIn": {
        "@id": "shards"
      },
      "includes": "**/*.png",
      "encodingFormat": "image/png"
    },
    {
      "@type": "cr:FileSet",
      "@id": "json-files",
      "name": "Per-render metadata JSON",
      "description": "*_meta.json: head rotation (pitch/yaw/roll, deg), head and eye positions, camera positions/rotations, camera_fov, slider_avatar_distance (cm).",
      "containedIn": {
        "@id": "shards"
      },
      "includes": "**/*.json",
      "encodingFormat": "application/json"
    }
  ],
  "recordSet": [
    {
      "@type": "cr:RecordSet",
      "@id": "splits",
      "name": "splits",
      "description": "Split definitions used in sessions.csv. train: 776 eyeglass models, 297,984 renders; test: 91 held-out models, 22,304 pose-matched renders; test_pool: the remaining 12,640 renders of the 91 test models (not part of the benchmark, never to be used for training).",
      "dataType": "cr:Split",
      "key": {
        "@id": "splits/name"
      },
      "field": [
        {
          "@type": "cr:Field",
          "@id": "splits/name",
          "name": "name",
          "description": "Split name as stored in sessions.csv.",
          "dataType": "sc:Text"
        },
        {
          "@type": "cr:Field",
          "@id": "splits/url",
          "name": "url",
          "description": "Croissant semantic identifier of the split.",
          "dataType": [
            "sc:Text",
            "cr:Split"
          ]
        }
      ],
      "data": [
        {
          "splits/name": "train",
          "splits/url": "cr:TrainingSplit"
        },
        {
          "splits/name": "test",
          "splits/url": "cr:TestSplit"
        },
        {
          "splits/name": "test_pool",
          "splits/url": "cr:TestSplit"
        }
      ]
    },
    {
      "@type": "cr:RecordSet",
      "@id": "eyeglasses",
      "name": "eyeglasses",
      "description": "Taxonomy of the 867 eyeglass models (anonymized ids).",
      "key": {
        "@id": "eyeglasses/eyeglass_model_name"
      },
      "field": [
        {
          "@type": "cr:Field",
          "@id": "eyeglasses/eyeglass_model_name",
          "name": "eyeglass_model_name",
          "description": "Anonymized eyeglass model identifier (glasses_001 ... glasses_867).",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "eyeglasses-csv"
            },
            "extract": {
              "column": "eyeglass_model_name"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "eyeglasses/split",
          "name": "split",
          "description": "train (776 models) or test (91 models; their renders are in the test and test_pool splits).",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "eyeglasses-csv"
            },
            "extract": {
              "column": "split"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "eyeglasses/family",
          "name": "family",
          "description": "Frame family: full-rim, semi-rimless or rimless.",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "eyeglasses-csv"
            },
            "extract": {
              "column": "family"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "eyeglasses/material",
          "name": "material",
          "description": "Frame material: plastic or metal.",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "eyeglasses-csv"
            },
            "extract": {
              "column": "material"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "eyeglasses/shape",
          "name": "shape",
          "description": "Lens shape: rectangle, square, round, oval, aviator, cat-eye or other.",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "eyeglasses-csv"
            },
            "extract": {
              "column": "shape"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "eyeglasses/lens_type",
          "name": "lens_type",
          "description": "clear or sunglasses (tinted lenses).",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "eyeglasses-csv"
            },
            "extract": {
              "column": "lens_type"
            }
          }
        }
      ]
    },
    {
      "@type": "cr:RecordSet",
      "@id": "subjects",
      "name": "subjects",
      "description": "Demographic attributes of the 128 RenderPeople avatars (anonymized ids).",
      "key": {
        "@id": "subjects/human_subject_name"
      },
      "field": [
        {
          "@type": "cr:Field",
          "@id": "subjects/human_subject_name",
          "name": "human_subject_name",
          "description": "Anonymized avatar identifier (subject_001 ... subject_128).",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "subjects-csv"
            },
            "extract": {
              "column": "human_subject_name"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "subjects/gender",
          "name": "gender",
          "description": "female or male (as listed by RenderPeople).",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "subjects-csv"
            },
            "extract": {
              "column": "gender"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "subjects/age_group",
          "name": "age_group",
          "description": "Age group: <13, 13-18, 19-30, 31-50 or 50+.",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "subjects-csv"
            },
            "extract": {
              "column": "age_group"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "subjects/ethnicity",
          "name": "ethnicity",
          "description": "White, Black, Asian, Indian, Middle Eastern or Hispanic/Latino (as listed by RenderPeople).",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "subjects-csv"
            },
            "extract": {
              "column": "ethnicity"
            }
          }
        }
      ]
    },
    {
      "@type": "cr:RecordSet",
      "@id": "synglass_sessions",
      "name": "synglass_sessions",
      "description": "One record per render (mono capture session): a colour image, a frame mask, a lens mask and a metadata file.",
      "key": {
        "@id": "synglass_sessions/session_id"
      },
      "field": [
        {
          "@type": "cr:Field",
          "@id": "synglass_sessions/session_id",
          "name": "session_id",
          "description": "Unique anonymized session identifier (= file stem).",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "sessions-csv"
            },
            "extract": {
              "column": "session_id"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "synglass_sessions/split",
          "name": "split",
          "description": "train, test or test_pool.",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "sessions-csv"
            },
            "extract": {
              "column": "split"
            }
          },
          "references": {
            "field": {
              "@id": "splits/name"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "synglass_sessions/human_subject_name",
          "name": "human_subject_name",
          "description": "Anonymized avatar identifier; joins subjects.",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "sessions-csv"
            },
            "extract": {
              "column": "human_subject_name"
            }
          },
          "references": {
            "field": {
              "@id": "subjects/human_subject_name"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "synglass_sessions/eyeglass_model_name",
          "name": "eyeglass_model_name",
          "description": "Anonymized eyeglass model identifier; joins eyeglasses.",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "sessions-csv"
            },
            "extract": {
              "column": "eyeglass_model_name"
            }
          },
          "references": {
            "field": {
              "@id": "eyeglasses/eyeglass_model_name"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "synglass_sessions/capture_session_index",
          "name": "capture_session_index",
          "description": "Capture index 1-3 (three random head poses per avatar-eyeglass pair).",
          "dataType": "sc:Integer",
          "source": {
            "fileObject": {
              "@id": "sessions-csv"
            },
            "extract": {
              "column": "capture_session_index"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "synglass_sessions/file_stem",
          "name": "file_stem",
          "description": "Common filename stem of the four resources.",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "sessions-csv"
            },
            "extract": {
              "column": "file_stem"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "synglass_sessions/color",
          "name": "color",
          "description": "Relative path of the 1024x1024 colour render (PNG).",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "sessions-csv"
            },
            "extract": {
              "column": "color"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "synglass_sessions/mask_frame",
          "name": "mask_frame",
          "description": "Relative path of the frame mask (RGBA PNG; black = not frame; non-black channels encode normalized depth).",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "sessions-csv"
            },
            "extract": {
              "column": "mask_frame"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "synglass_sessions/mask_lens",
          "name": "mask_lens",
          "description": "Relative path of the lens mask (RGBA PNG; black = not lens; non-black channels encode normalized depth).",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "sessions-csv"
            },
            "extract": {
              "column": "mask_lens"
            }
          }
        },
        {
          "@type": "cr:Field",
          "@id": "synglass_sessions/metadata",
          "name": "metadata",
          "description": "Relative path of the per-render JSON metadata (head pose, head/eye positions, camera parameters, avatar distance).",
          "dataType": "sc:Text",
          "source": {
            "fileObject": {
              "@id": "sessions-csv"
            },
            "extract": {
              "column": "metadata"
            }
          }
        }
      ]
    }
  ]
}