text stringlengths 8 56 |
|---|
id|gloss |
08_0714|يوجد حراره وسط |
08_0717|يوجد الم معده |
08_0718|يوجد اذن نزيف الم |
08_0719|يوجد الم سن |
08_0720|يوجد شعور الم عيون |
08_0723|يوجد انتفاخ بطن |
08_0724|يوجد جلد الم |
08_0725|يوجد الم رقبه |
08_0726|يوجد انا شعور سمنه |
08_0727|يوجد اقدام انتفاخ |
08_0730|انا مرض ضغط_دم |
08_0731|اريد فحص عيون |
08_0733|وقت زياره قصير |
08_0734|دواء يجب |
08_0735|ضغط غير_مستمر |
08_0736|ام مرض |
08_0737|مختبر نظيف |
08_0738|شعور انا منخفض ضعيف |
08_0741|طب هدوء |
08_0751|اريد شاحن لاب_توب |
08_0753|اريد دفع فاتوره اول |
08_0754|اخذ حقيبه تاخير |
08_0758|طياره هبوط |
08_0759|سوال وزن حقيبه |
08_0760|تاخير ركوب طياره |
08_0761|سوال انت طياره |
08_0762|مكتب فاتوره رفض |
08_0763|اشاره جواز ام |
08_0764|مال سوال مال فاتوره |
08_0768|يوجد هويه بطاقه |
08_0769|اريد غطاء راس |
08_0771|اريد رفض حساب |
08_0773|اريد دفع تامين طياره |
08_0774|اريد تصوير |
08_0779|صلاه مكان دور ثاني |
08_0780|كابتن انتظار كرسي |
08_0785|تغيير شركه طياره |
08_0786|انا يوجد اربعه حقايب اربعه |
08_0790|كرسي حرف C |
08_0791|سوال مال ترقيه |
08_0792|باص اتجاه مكان |
08_0793|يوجد كتاب عمل |
08_0794|سوال شركه طياره |
08_0795|ضع يوجد يوجد |
08_0797|سوال فاتوره مسن |
08_0798|رقم طياره |
08_0799|طياره عسكري فوق |
08_0800|طياره خاص يوجد |
08_0804|سوال رقم مكتبه تامين |
08_0806|يوجد زحمه باب |
08_0810|اريد كرسي متحرك |
08_0815|يوجد مطب طياره مطبات_هواييه |
08_0816|انا شكوي سبب تاخير |
08_0823|اريد اكيد حجز |
08_0825|سوال مكتب شكوي |
08_0827|صلاه مكان مكيف ممتاز |
08_0828|طياره دبي مباشره او ترانزيت |
08_0829|انتبه اطفال |
08_0832|تغيير موعد هبوط |
08_0835|خروج مواد سايل انواع سايل خاص |
08_0836|لبس يجب حذاء |
08_0841|سوال مكان صاله طياره |
08_0844|سوال وزن حقيبه |
08_0848|انتهاء شحن ش ح ن |
08_0850|سوال طياره |
08_0851|اريد تحديث جواز |
08_0852|يوجد انذار امن |
08_0854|افتح جوال الان انواع |
08_0855|فقد فاتوره سفر |
08_0858|تغليف حقيبه ممتاز |
08_0859|اريد كرسي غير |
08_0861|طلب عصير برتقال |
08_0868|رفض حساب قديم |
08_0869|اريد بطاقه ف ي ز ا فيزا |
08_0873|اريد كشف حساب تفصيل |
08_0877|يجب تحديث تسجيل اشخاص |
08_0879|ايداع اريد ايداع مال |
08_0881|اخذ فاتوره بنك |
08_0882|سبب حساب ايقاف جامد بنك |
08_0887|استفهام مال يوجد ايداع ر ص ي د |
08_0888|اريد فتح حساب توفير |
08_0890|اريد رقم حساب ا ي ب ا ن |
08_0895|تواصل مكالمه_فيديو |
08_0899|اريد اعاده تمويل |
08_0901|اريد رفص بطاقه بنك |
08_0902|انشاء تسجيل حساب جديد |
08_0903|استفهام خاص مال |
08_0904|اريد اخذ مال |
08_0909|اعاده جدول تاريخ فتره قرض |
08_0910|صندوق ايداع |
08_0915|رفض حساب توفير |
08_0917|اريد استفهام دفتر فاتوره |
08_0918|اريد حواله داخل |
08_0919|اريد تبديل عمله دولار |
08_0921|سوال ممكن تمويل ر س و م |
08_0924|تسجيل حساب اشتراك ربط |
08_0926|اريد مراجعه فاتوره قراءه |
08_0927|استفهام كشف حساب |
08_0929|اريد دعم ف ن ي صيانه |
Selfi: Arabic Sign Language Dataset (Frames)
Selfi is a video-frame dataset for isolated/continuous Arabic Sign Language recognition, collected from multiple signers and organized into two evaluation protocols:
- SI (Signer-Independent) — dev/test signers do not appear in train.
- US (Unseen Sentences) — dev/test sentences (gloss sequences) do not appear in train, but signers may overlap with train.
The gloss vocabulary (960 glosses) is shared between SI and US.
Repository layout
Group1/ # raw extracted frames, signers 00 01 02 03 08 12 19
Group2/ # raw extracted frames, signers 08 10 11 18 20 21
Group3/ # raw extracted frames, signers 05 13 14 15 18 19
SI/
train.txt
dev.txt
test.txt
gloss_dict.npy
train_info.npy
dev_info.npy
test_info.npy
US/
train.txt
dev.txt
test.txt
gloss_dict.npy
train_info.npy
dev_info.npy
test_info.npy
Signer IDs are not unique across groups — e.g. signer 08 appears in both Group1 and
Group2, and signer 18/19 appear in both Group2 and Group3. A sample is therefore only
uniquely identified by its Group/signer/sample_id path, not by signer+sample_id alone.
Frame folders
GroupX/<signer>/<sample_id>/<frame_idx>.png
Example: Group2/08/0714/0143.png
<signer>: 2-digit zero-padded signer ID (e.g.08).<sample_id>: 4-digit zero-padded sample/sentence ID (e.g.0714). This matches the numeric part of theidfield intrain.txt/dev.txt/test.txt(see below).<frame_idx>.png: 4-digit zero-padded frame index (e.g.0143.png), one PNG per extracted video frame, in temporal order. Frame counts vary per sample (roughly 90–450 frames observed).
To load all frames of a sample in order:
import glob
frames = sorted(glob.glob(f"{dataset_root}/Group2/08/0714/*.png"))
Annotation files (SI/, US/)
train.txt, dev.txt, test.txt
Pipe-delimited, one header line then one row per sample:
id|gloss
08_0714|يوجد حراره وسط
08_0717|يوجد الم معده
...
id:<signer>_<sample_id>(e.g.08_0714). Note this ID alone does not tell you whichGroupthe frames live in — use*_info.npy(below) to resolve the full frame path, since the same signer ID can exist in more than one group.gloss: ground-truth gloss sequence for the sample, space-separated, in signing order. This is the annotation used for training/evaluating CSLR models (order matters, no per-frame alignment is provided).
Row counts:
| Split | SI | US |
|---|---|---|
| train | 5,996 | 8,355 |
| dev | 1,499 | 329 |
| test | 1,499 | 310 |
gloss_dict.npy
A pickled Python dict saved with numpy.save(..., allow_pickle=True), shared between SI and
US (960 glosses total). Maps each gloss string to a [index, frequency] pair:
import numpy as np
gloss_dict = np.load("SI/gloss_dict.npy", allow_pickle=True).item()
gloss_dict["يوجد"] # -> [index, frequency]
# index: 1-based integer class ID used as the model's target label for this gloss.
# frequency: kept for compatibility with the original preprocessing script;
# not populated with real counts for this release (currently 0 for every gloss).
Use the index value (first element) as the integer class label when mapping a gloss string to
a training target; index 0 is reserved for the CTC blank token.
train_info.npy, dev_info.npy, test_info.npy
A pickled Python dict per split, saved with numpy.save(..., allow_pickle=True). This is the
file that resolves an id from train.txt/dev.txt/test.txt to its actual frame folder. Keys
are integer indices 0 .. N (where N = number of samples in the split); the last integer key
is a placeholder/sentinel and should be ignored — consumers should iterate range(N) where N = len(info) - 1.
import numpy as np
info = np.load("SI/train_info.npy", allow_pickle=True).item()
info[0]
# {
# 'fileid': 'Group2/08/0714',
# 'folder': 'Group2/08/714/*.png',
# 'signer': '08',
# 'label': 'يوجد حراره وسط',
# 'sentence': 'لدي حراره متوسطه',
# 'original_info': 'Group2/08/0714|0|لدي حراره متوسطه|يوجد حراره وسط|يوجد حراره وسط|n/a\n'
# }
Field meanings:
fileid:Group/signer/sample_id, zero-padded sample ID (matches the frame folder name).folder: a glob pattern for the frame files, relative to the dataset root (theframes/directory containingGroup1/Group2/Group3). ⚠️ The sample-ID path segment in this pattern is not zero-padded (e.g.Group2/08/714/*.png) and will not match any files as-is — you must zero-pad that segment to 4 digits before globbing:parts = info[i]["folder"].split("/") parts[-2] = parts[-2].zfill(4) # '714' -> '0714' frame_glob = "/".join(parts) # 'Group2/08/0714/*.png' frames = sorted(glob.glob(f"{dataset_root}/{frame_glob}"))signer: signer ID string (matches the<signer>path segment).label: gloss sequence (identical to theglosscolumn in the corresponding.txtfile).sentence: the natural-language Arabic sentence the gloss sequence corresponds to (not used for CSLR training, provided for reference/translation tasks).original_info: the raw source annotation row this entry was generated from, kept for traceability; the trailingn/afield is unused.
Sample counts per split (len(info) - 1, excluding the sentinel key) match the row counts in the
corresponding .txt file above.
Loading example (PyTorch-style)
import glob
import numpy as np
dataset_root = "." # points at the folder containing Group1/ Group2/ Group3/
split = "train"
protocol = "SI" # or "US"
info = np.load(f"{protocol}/{split}_info.npy", allow_pickle=True).item()
gloss_dict = np.load(f"{protocol}/gloss_dict.npy", allow_pickle=True).item()
num_samples = len(info) - 1 # last integer key is a sentinel, not a real sample
for idx in range(num_samples):
sample = info[idx]
# resolve frame folder (zero-pad the sample-id segment)
parts = sample["folder"].split("/")
parts[-2] = parts[-2].zfill(4)
frame_glob = "/".join(parts)
frame_paths = sorted(glob.glob(f"{dataset_root}/{frame_glob}"))
# resolve integer labels for the gloss sequence
labels = [gloss_dict[g][0] for g in sample["label"].split(" ") if g in gloss_dict]
Notes / gotchas
- Signer IDs repeat across groups — always resolve paths via
*_info.npy, never by reconstructingGroup{signer}/{sample_id}manually from theidcolumn alone. - The
folderfield in*_info.npyneeds the zero-pad fix above before globbing; this is a quirk of how the info files were generated, not a data error. - The last integer key in each
*_info.npydict is a non-sample sentinel — exclude it (i.e. uselen(info) - 1as the sample count, as shown above). gloss_dict.npyis identical betweenSI/andUS/(same 960-gloss vocabulary); thefrequencyfield is not populated with real counts in this release.
- Downloads last month
- 41