arvinsingh commited on
Commit
8c092f3
·
verified ·
1 Parent(s): 3ee9722

Add files using upload-large-folder tool

Browse files
Files changed (3) hide show
  1. README.md +157 -0
  2. landmarks.parquet +3 -0
  3. metadata.csv +0 -0
README.md ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ task_categories:
4
+ - other
5
+ language:
6
+ - cy
7
+ tags:
8
+ - facial-landmarks
9
+ - ibug68
10
+ - face-analysis
11
+ - animation
12
+ - 4d-dataset
13
+ - welsh
14
+ - cymraeg
15
+ - multimodal
16
+ size_categories:
17
+ - 100K<n<1M
18
+ pretty_name: CymruFluency Welsh Speech Dataset - Facial Landmarks
19
+ ---
20
+
21
+ # Welsh Speech Dataset - Facial Landmarks
22
+
23
+ 68-point facial landmarks (ibug68 template) from the Welsh Speech Dataset.
24
+
25
+ ## Contents
26
+
27
+ - **Facial landmarks** for every frame
28
+ - **68 3D points** per frame (x, y, z coordinates)
29
+ - Format: Parquet
30
+ - Manual annotation using ibug68 template
31
+
32
+ ## Format
33
+
34
+ The `landmarks.parquet` file contains:
35
+
36
+ | Column | Description |
37
+ |--------|-------------|
38
+ | `speaker_id` | Speaker identifier (1-33) |
39
+ | `phrase_id` | Phrase identifier (1-10) |
40
+ | `frame_id` | Frame identifier (e.g., "001", "002") |
41
+ | `landmarks_json` | JSON string containing landmark data |
42
+
43
+ ### Landmark JSON Structure
44
+
45
+ ```json
46
+ {
47
+ "landmarks": {
48
+ "points": [[x1, y1, z1], [x2, y2, z2], ..., [x68, y68, z68]],
49
+ "connectivity": [[0,1], [1,2], ...],
50
+ },
51
+ "labels": [
52
+ {"label": "chin", "mask": [0,1,2,...,16]},
53
+ {"label": "leye", "mask": [17,18,...,22]},
54
+ {"label": "reye", "mask": [23,24,...,28]},
55
+ ...
56
+ ],
57
+ "version": 2
58
+ }
59
+ ```
60
+
61
+ ## Semantic Regions
62
+
63
+ | Region | Points |
64
+ |--------|--------|
65
+ | Chin | 0-16 |
66
+ | Left Eye | 17-22 |
67
+ | Right Eye | 23-28 |
68
+ | Left Eyebrow | 29-33 |
69
+ | Nose | 34-42 |
70
+ | Right Eyebrow | 43-47 |
71
+ | Mouth | 48-67 |
72
+
73
+ ## Joining with Main Metadata
74
+
75
+ The main metadata (`welsh-speech-dataset`) is **sequence-level** (one row per speaker-phrase).
76
+ Landmarks are **frame-level** (one row per frame). To get sequence attributes like fluency scores:
77
+
78
+ ```python
79
+ import pandas as pd
80
+ from huggingface_hub import hf_hub_download
81
+
82
+ # load landmarks (frame-level)
83
+ landmarks_path = hf_hub_download(
84
+ repo_id="arvinsingh/welsh-speech-landmarks",
85
+ filename="landmarks.parquet",
86
+ repo_type="dataset"
87
+ )
88
+ landmarks = pd.read_parquet(landmarks_path)
89
+
90
+ # load main metadata (sequence-level)
91
+ main_meta_path = hf_hub_download(
92
+ repo_id="arvinsingh/welsh-speech-dataset",
93
+ filename="metadata.parquet",
94
+ repo_type="dataset"
95
+ )
96
+ main_meta = pd.read_parquet(main_meta_path)
97
+
98
+ # join on speaker_id and phrase_id to get fluency scores, welsh text, etc.
99
+ merged = landmarks.merge(
100
+ main_meta[['speaker_id', 'phrase_id', 'fluency_score', 'welsh_text', 'english_translation']],
101
+ on=['speaker_id', 'phrase_id'],
102
+ how='left'
103
+ )
104
+
105
+ print(merged.head())
106
+ # Now each frame has: speaker_id, phrase_id, frame_id, landmarks_json, fluency_score, welsh_text, ...
107
+ ```
108
+
109
+ ## Basic Usage
110
+
111
+ ```python
112
+ import pandas as pd
113
+ import json
114
+
115
+ # load
116
+ landmarks = pd.read_parquet("landmarks.parquet")
117
+
118
+ # get landmarks for specific frame
119
+ frame = landmarks[(landmarks['speaker_id'] == 1) & (landmarks['phrase_id'] == 1) & (landmarks['frame_id'] == '001')].iloc[0]
120
+
121
+ # parse JSON
122
+ landmark_data = json.loads(frame['landmarks_json'])
123
+ points = landmark_data['landmarks']['points'] # 68 x 3 array
124
+
125
+ print(f"Landmark points: {len(points)} points")
126
+ print(f"First point (x,y,z): {points[0]}")
127
+ ```
128
+
129
+ ## Related Repositories
130
+
131
+ - **Main**: [arvinsingh/welsh-speech-dataset](https://huggingface.co/datasets/arvinsingh/welsh-speech-dataset)
132
+ - **Audio**: [arvinsingh/welsh-speech-audio](https://huggingface.co/datasets/arvinsingh/welsh-speech-audio)
133
+ - **3D Meshes**: [arvinsingh/welsh-speech-3d-meshes](https://huggingface.co/datasets/arvinsingh/welsh-speech-3d-meshes)
134
+
135
+ ## Citation
136
+
137
+ If you use this dataset, please cite both the paper and the dataset:
138
+
139
+ ```bibtex
140
+ @inproceedings{bali_2026_cymrufluency,
141
+ author = {Bali, Arvinder Pal Singh and Tam, Gary KL and Siris, Avishek and Andrews, Gareth and Lai, Yukun and Tiddeman, Bernie and Ffrancon, Gwenno},
142
+ title = {CymruFluency - A Fusion Technique and a 4D Welsh Dataset for Welsh Fluency Analysis},
143
+ booktitle = {Advanced Concepts for Intelligent Vision Systems},
144
+ pages = {96--108},
145
+ year = 2026,
146
+ publisher = {Springer Nature Switzerland},
147
+ doi = {10.1007/978-3-032-07343-3_8},
148
+ }
149
+
150
+ @dataset{bali_2025_dataset,
151
+ author = {Bali, Arvinder Pal Singh and Tam, Gary KL and Siris, Avishek and Andrews, Gareth and Lai, Yukun and Tiddeman, Bernie and Ffrancon, Gwenno},
152
+ title = {Dataset and code for "CymruFluency"},
153
+ year = 2025,
154
+ publisher = {Zenodo},
155
+ doi = {10.5281/zenodo.15397513},
156
+ }
157
+ ```
landmarks.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6e2cb45221ace5a018c893890c3dda40bb63e9a527579df83a16912e6739f74
3
+ size 39293101
metadata.csv ADDED
The diff for this file is too large to render. See raw diff