{ "@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" } } } ] } ] }