Haloroute commited on
Commit
24e2373
·
verified ·
1 Parent(s): ce6e5a8

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +100 -0
README.md CHANGED
@@ -1,3 +1,103 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ task_categories:
4
+ - translation
5
+ - video-classification
6
+ language:
7
+ - vi
8
+ configs:
9
+ - config_name: default
10
+ data_files:
11
+ - split: train
12
+ path: "data/shard_*-train.parquet"
13
  ---
14
+ # TriViS-MediaPipe
15
+
16
+ MediaPipe Holistic 3D keypoints extracted from **TriViS**, a continuous Vietnamese Sign Language video dataset (~84.5k videos, 12,000 sentences, 3 synchronized camera views).
17
+
18
+ ## Dataset overview
19
+
20
+ - **Views**: every take is recorded by 3 cameras (`front`, `left`, `right`). `group4` file names say `center` for the front camera; the `view` field always uses the CSV value.
21
+ - **Scenes** (metadata field `scene`):
22
+ - `lab`: 72,453 clips (24,151 takes × 3 views) of 12,000 sentences recorded in a studio, all 4 signer groups. Includes 108 `group3` recordings named `*_abnormal.mp4`, flagged `"abnormal": true`.
23
+ - `real`: 12,000 clips (4,000 takes × 3 views) of 4,000 sentences recorded in real-life indoor/outdoor settings, 3,000 clips per group.
24
+ - **Annotations**: Vietnamese sentence (`Sentence`), sign-order gloss sequence (`Sign_sentence`, `|`-separated) and one of 10 categories.
25
+
26
+ All clips are in a single `train` split; build your own train/val/test split from the metadata.
27
+
28
+ > [!IMPORTANT]
29
+ > All 4,000 `real` sentences also appear in `lab` (same text and `id_sentence`), and each take has 3 views.
30
+ > To evaluate on unseen sentences, split by `id_sentence`; to avoid view leakage, keep the 3 views of a take
31
+ > (same `scene` and `id_video`) in the same split.
32
+
33
+ ## Splits
34
+
35
+ | Split | Labeled rows | Found | Missing | Extracted (uploaded) | Failed / empty |
36
+ | :--- | ---: | ---: | ---: | ---: | ---: |
37
+ | `train` | 84,453 | — | — | 6,000 (extraction in progress) | — |
38
+
39
+ ## Columns
40
+
41
+ | Column | Type / shape | Description |
42
+ | :--- | :--- | :--- |
43
+ | `pose_pts` | `float32[T, 33, 3]` | Normalized 3D body pose landmarks (`x, y, z`). |
44
+ | `pose_conf` | `float32[T, 33]` | Per-landmark visibility (`0.0` when missing). |
45
+ | `face_pts` | `float32[T, 478, 3]` | Normalized 3D face mesh landmarks (incl. iris). |
46
+ | `face_conf` | `float32[T, 478]` | `1.0` when the face is detected in the frame, else `0.0`. |
47
+ | `left_hand_pts` | `float32[T, 21, 3]` | Normalized 3D left-hand landmarks. |
48
+ | `left_hand_conf` | `float32[T, 21]` | `1.0` when the left hand is detected, else `0.0`. |
49
+ | `right_hand_pts` | `float32[T, 21, 3]` | Normalized 3D right-hand landmarks. |
50
+ | `right_hand_conf` | `float32[T, 21]` | `1.0` when the right hand is detected, else `0.0`. |
51
+ | `transcript` | `string` | Vietnamese sentence (NFC-normalized, whitespace-cleaned). |
52
+ | `fps` | `float32` | Video frame rate (OpenCV). |
53
+ | `duration` | `int32` | Number of decoded frames `T`. |
54
+ | `key` | `string` | `train/<Sentence_video_path>`; unique. |
55
+ | `metadata` | `string` | JSON object, fields below. |
56
+
57
+ ## Metadata fields
58
+
59
+ | Field | Type | Description |
60
+ | :--- | :--- | :--- |
61
+ | `split` | `string` | Always `"train"`. |
62
+ | `scene` | `string` | `"lab"` or `"real"`. |
63
+ | `filename` | `string` | Video file name. |
64
+ | `video_path` | `string` | `Sentence_video_path` from the label CSV (relative to the TriViS root). |
65
+ | `id_video` | `int` | Take ID (`ID_video`): the same for the 3 views of a take, unique per take within a scene (not across scenes). |
66
+ | `id_sentence` | `int` | Sentence ID (`ID_sentence`); shared between `lab` and `real`. |
67
+ | `group` | `string` | Signer group (`"group1"`–`"group4"`). |
68
+ | `view` | `string` | `"front"`, `"left"` or `"right"`. |
69
+ | `video_belong_id` | `int` | `video_belong_id` column from the label CSV, kept verbatim. |
70
+ | `sentence` | `string` | Cleaned Vietnamese sentence. |
71
+ | `sign_sentence` | `string` | Gloss sequence as in the CSV (`|`-separated, NFC-normalized). |
72
+ | `glosses` | `list[string]` | `sign_sentence` split on `|`. |
73
+ | `category` | `string` | One of the 10 categories (case variants in the CSVs are unified). |
74
+ | `abnormal` | `bool` | File name ends with `_abnormal.mp4`. |
75
+ | `fps` | `float` | Video frame rate. |
76
+ | `total_frames` | `int` | Number of decoded frames. |
77
+
78
+ ## Categories
79
+
80
+ Stored in [`categories.json`](categories.json); the original label CSVs are under [`labels/`](labels/).
81
+
82
+ - `Cuộc sống thường nhật`
83
+ - `Mối quan hệ`
84
+ - `Công việc`
85
+ - `Du lịch`
86
+ - `Cuộc sống học đường`
87
+ - `Sức khỏe`
88
+ - `Thái độ và Cảm xúc`
89
+ - `Tài chính`
90
+ - `Chính trị`
91
+ - `Văn hóa và Giáo dục`
92
+
93
+ ## Usage
94
+
95
+ ```python
96
+ import json
97
+ from datasets import load_dataset
98
+
99
+ ds = load_dataset("Haloroute/TriViS-MediaPipe", split="train")
100
+ sample = ds[0]
101
+ meta = json.loads(sample["metadata"])
102
+ print(sample["transcript"], sample["duration"], meta["scene"], meta["view"], meta["glosses"])
103
+ ```