Metadata-Version: 2.4
Name: visual-language-toolkit
Version: 1.1.0
Summary: Visual Language Toolkit for sign language research
Author: Sign Language Research Team
License-Expression: PolyForm-Noncommercial-1.0.0
Project-URL: Repository, https://github.com/cogvis-cvssp/visual-language-toolkit
Project-URL: Documentation, https://visual-language-toolkit.readthedocs.io/
Project-URL: Issues, https://github.com/cogvis-cvssp/visual-language-toolkit/issues
Project-URL: Changelog, https://github.com/cogvis-cvssp/visual-language-toolkit/releases
Keywords: sign language,computer vision,machine learning,linguistics,ELAN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: THIRD_PARTY_NOTICES.md
License-File: vlt/embedding/signmatch/LICENSE
License-File: vlt/extraction/wilor_deps/LICENSE
License-File: vlt/extraction/smplfx_deps/smpl_fx/LICENSE_GaussianAvatars.md
License-File: LICENSES/Apache-2.0.txt
License-File: LICENSES/BSD-3-Clause.txt
License-File: LICENSES/MIT.txt
Requires-Dist: numpy>=1.24.0
Requires-Dist: scipy>=1.10.0
Requires-Dist: h5py>=3.8.0
Requires-Dist: hdf5plugin>=4.0.0
Requires-Dist: tqdm>=4.65.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: click>=8.1.0
Requires-Dist: defusedxml>=0.7.0
Requires-Dist: nltk>=3.8.0
Requires-Dist: huggingface_hub>=0.20.0
Requires-Dist: requests>=2.28.0
Provides-Extra: torch-base
Requires-Dist: torch>=2.0.0; extra == "torch-base"
Provides-Extra: mediapipe
Requires-Dist: mediapipe>=0.10.20; extra == "mediapipe"
Provides-Extra: wilor
Requires-Dist: visual-language-toolkit[torch-base]; extra == "wilor"
Requires-Dist: smplx>=0.1.28; extra == "wilor"
Requires-Dist: pytorch-lightning>=2.0.0; extra == "wilor"
Requires-Dist: yacs>=0.1.8; extra == "wilor"
Requires-Dist: ultralytics>=8.0.0; extra == "wilor"
Requires-Dist: timm>=0.9.0; extra == "wilor"
Requires-Dist: dill>=0.3.0; extra == "wilor"
Provides-Extra: nlf
Requires-Dist: visual-language-toolkit[torch-base]; extra == "nlf"
Requires-Dist: ultralytics>=8.0.0; extra == "nlf"
Provides-Extra: teaser
Requires-Dist: visual-language-toolkit[torch-base]; extra == "teaser"
Requires-Dist: mediapipe>=0.10.20; extra == "teaser"
Requires-Dist: timm>=0.9.0; extra == "teaser"
Provides-Extra: rtmpose
Requires-Dist: visual-language-toolkit[torch-base]; extra == "rtmpose"
Requires-Dist: mmpose>=1.1.0; extra == "rtmpose"
Requires-Dist: mmdet>=3.0.0; extra == "rtmpose"
Requires-Dist: mmengine>=0.7.0; extra == "rtmpose"
Requires-Dist: mmcv>=2.0.0; extra == "rtmpose"
Requires-Dist: openmim>=0.3.0; extra == "rtmpose"
Requires-Dist: decord>=0.6.0; extra == "rtmpose"
Provides-Extra: indexing
Requires-Dist: torch>=2.9; extra == "indexing"
Requires-Dist: safetensors>=0.4; extra == "indexing"
Provides-Extra: signseek
Requires-Dist: visual-language-toolkit[torch-base]; extra == "signseek"
Requires-Dist: safetensors>=0.4; extra == "signseek"
Provides-Extra: smplfx
Requires-Dist: visual-language-toolkit[torch-base]; extra == "smplfx"
Requires-Dist: smplx==0.1.28; extra == "smplfx"
Requires-Dist: h5py>=3.10.0; extra == "smplfx"
Requires-Dist: hdf5plugin>=4.0.0; extra == "smplfx"
Requires-Dist: decord>=0.6.0; extra == "smplfx"
Requires-Dist: matplotlib>=3.5.0; extra == "smplfx"
Requires-Dist: pykeops>=2.1; extra == "smplfx"
Requires-Dist: Pillow>=9.0.0; extra == "smplfx"
Requires-Dist: opencv-python>=4.8.0; extra == "smplfx"
Provides-Extra: torch
Requires-Dist: visual-language-toolkit[torch-base]; extra == "torch"
Requires-Dist: torchvision>=0.15.0; extra == "torch"
Provides-Extra: metrics
Requires-Dist: sacrebleu>=2.3.0; extra == "metrics"
Requires-Dist: rouge-score>=0.1.2; extra == "metrics"
Provides-Extra: metrics-cjk
Requires-Dist: sacrebleu[ja]>=2.3.0; extra == "metrics-cjk"
Requires-Dist: sacrebleu[ko]>=2.3.0; extra == "metrics-cjk"
Provides-Extra: metrics-neural
Requires-Dist: visual-language-toolkit[metrics]; extra == "metrics-neural"
Requires-Dist: bleurt-pytorch>=0.0.1; extra == "metrics-neural"
Requires-Dist: bert-score>=0.3.13; extra == "metrics-neural"
Provides-Extra: metrics-video
Requires-Dist: scikit-image>=0.21.0; extra == "metrics-video"
Requires-Dist: pytorch-fid>=0.3.0; extra == "metrics-video"
Provides-Extra: analysis
Requires-Dist: albumentations>=1.3.0; extra == "analysis"
Provides-Extra: signmatch
Requires-Dist: visual-language-toolkit[torch-base]; extra == "signmatch"
Requires-Dist: timm>=0.9.0; extra == "signmatch"
Requires-Dist: albumentations>=1.3.0; extra == "signmatch"
Requires-Dist: opencv-python>=4.8.0; extra == "signmatch"
Provides-Extra: validation
Requires-Dist: jsonschema>=4.0; extra == "validation"
Provides-Extra: tables
Requires-Dist: pandas>=2.0; extra == "tables"
Provides-Extra: vis
Requires-Dist: opencv-python>=4.8.0; extra == "vis"
Provides-Extra: mesh-viz
Requires-Dist: pyrender>=0.1.45; extra == "mesh-viz"
Requires-Dist: trimesh>=3.21.0; extra == "mesh-viz"
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Requires-Dist: jiwer>=3.0.0; extra == "dev"
Requires-Dist: black==26.3.1; extra == "dev"
Requires-Dist: ruff==0.14.11; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"
Provides-Extra: test
Requires-Dist: visual-language-toolkit[analysis,dev,mediapipe,mesh-viz,metrics,tables,validation]; extra == "test"
Requires-Dist: scikit-image>=0.21.0; extra == "test"
Requires-Dist: rfc3339-validator>=0.1.4; extra == "test"
Provides-Extra: test-gpu
Requires-Dist: visual-language-toolkit[indexing,signseek,test,torch]; extra == "test-gpu"
Requires-Dist: smplx==0.1.28; extra == "test-gpu"
Requires-Dist: matplotlib>=3.5.0; extra == "test-gpu"
Requires-Dist: pykeops>=2.1; extra == "test-gpu"
Provides-Extra: docs
Requires-Dist: mkdocs>=1.5.0; extra == "docs"
Requires-Dist: mkdocs-material>=9.5.0; extra == "docs"
Requires-Dist: mkdocstrings[python]>=0.24.0; extra == "docs"
Requires-Dist: pymdown-extensions>=10.0; extra == "docs"
Provides-Extra: all
Requires-Dist: visual-language-toolkit[analysis,indexing,mediapipe,mesh-viz,metrics,metrics-neural,metrics-video,nlf,signmatch,signseek,tables,teaser,torch,validation,vis,wilor]; extra == "all"
Dynamic: license-file

<p align="center">
  <img src="https://img.shields.io/pypi/v/visual-language-toolkit?color=blue&label=PyPI" alt="PyPI">
  <img src="https://img.shields.io/pypi/pyversions/visual-language-toolkit" alt="Python">
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-PolyForm%20Noncommercial%201.0.0-orange" alt="License"></a>
    <a href="https://visual-language-toolkit.readthedocs.io/"><img src="https://readthedocs.org/projects/visual-language-toolkit/badge/?version=latest" alt="Docs"></a>
  <a href="https://discord.gg/naTCFCaf8V"><img src="https://img.shields.io/badge/Discord-Join%20the%20community-5865F2?logo=discord&logoColor=white" alt="Discord"></a>
</p>

# Visual Language Toolkit (VLT)

| [Tutorials](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/full_pipeline/) | [Documentation](https://visual-language-toolkit.readthedocs.io/) | [Notebooks](notebooks/) | [Contributing](https://visual-language-toolkit.readthedocs.io/en/latest/contributing/) | [PyPI](https://pypi.org/project/visual-language-toolkit/) | [Discord](https://discord.gg/naTCFCaf8V) |

#

## What VLT Offers..

- VLT is a **source-available**, free-for-non-commercial-use Python toolkit that accelerates **sign language research** and makes SOTA computer vision tools and resources easily availble to linguists and other people working in Sign Language and AI. 

- It provides a complete pipeline for **pose extraction**, **sign segmentation**, **gloss spotting**, **non-manual signal detection**, and **evaluation** — all with a single CLI or Python API.

- VLT brings together state-of-the-art models (WiLoR, NLF, TEASER, SignRep) behind a unified interface, so researchers can focus on linguistics rather than engineering.

## Vision

- We believe the field needs a **holistic toolkit** that jointly supports the full research workflow: video processing, pose extraction, temporal analysis, and standardized evaluation.

- VLT is designed for **reproducibility**: such that every metric, extraction step, and analysis tool uses the same data structures and can be run from a single CLI command or Python script.

#

## Quick Start

### Installation

```bash
# Core library (ELAN I/O, CLI, dataset loaders) — no GPU needed
pip install visual-language-toolkit

# With GPU extraction backends
pip install "visual-language-toolkit[wilor,nlf,teaser]"

# Everything
pip install "visual-language-toolkit[all]"
```

> **Package name:** `visual-language-toolkit` on PyPI, `vlt` for Python imports and the command line. Do not run `pip install vlt`: that is an unrelated project.

<details>
<summary><b>Development install</b></summary>

```bash
git clone https://github.com/cogvis-cvssp/visual-language-toolkit.git
cd visual-language-toolkit
pip install -e ".[dev,wilor,nlf,teaser]"
pytest
```
</details>

### One-Command Pipeline

A 7s example clip ships in `sample-data/example.mp4` (taken from the How2Sign dataset; see
`sample-data/README.md` for its source and terms).

```bash
vlt pipeline sample-data/example.mp4 -o output/
# → output/example.eaf  (10+ tiers: segmentation, blinks, head nods, mouth, gaze, ...)
```

The full pipeline needs a CUDA GPU and the MANO, SMPL-X and FLAME models, which you download yourself
after registering with their authors (see [Model Weights](#model-weights)). For a CPU-only first run,
use the MediaPipe extractor in the [quick start](https://visual-language-toolkit.readthedocs.io/en/latest/getting-started/quickstart/).

### Python API

```python
from vlt.extraction.wilor import WiLoRExtractor
from vlt.extraction.teaser import TeaserExtractor
from vlt.segmentation import get_segmenter
from vlt.segmentation.postprocess import extract_segments
from vlt.nms import NMSConfig, get_nms_detector
from vlt.io.elan_roundtrip import ElanDocument

VIDEO, FPS = "recording.mp4", 25.0

# ── Step 1: Extract 3D hand poses ─────────────────────────────────
with WiLoRExtractor() as ext:
    ext.load_model()
    result = ext.extract_from_video(VIDEO, "recording_wilor.h5")
    print(f"{result.num_detections} hand detections across {result.num_frames} frames")

# ── Step 2: Extract face parameters ───────────────────────────────
with TeaserExtractor() as ext:
    ext.load_model()
    ext.extract_from_video(VIDEO, "recording_teaser.h5")

# ── Step 3: Segment signs ─────────────────────────────────────────
predictions = get_segmenter("transformer").run_h5("recording_wilor.h5")  # {name: (T,) BIO tensor}
labels = next(iter(predictions.values()))          # 0=OUT, 1=IN, 2=BEGIN
segments = extract_segments(labels)                # [(start, end), ...]

# ── Step 4: Detect non-manual signals ─────────────────────────────
detector = get_nms_detector("teaser", config=NMSConfig(detectors={"all"}))
blinks, nms_events, quality = detector.detect("recording_teaser.h5")

# ── Step 5: Assemble multi-tier ELAN file ─────────────────────────
doc = ElanDocument.new(video_path=VIDEO)

doc.add_tier("Segmentation")
for s, e in segments:
    doc.add_segment("Segmentation", s / FPS, e / FPS, "SIGN")

# One tier per detected NMS type.
# Possible tiers: BLINK, HEAD-NOD, HEAD-SHAKE, HEAD-TILT, MOUTH-MOVEMENT,
# EYEBROW-RAISE, EYEBROW-FURROW, EYE-GAZE, EYE-SQUINT (see docs/tutorials/nms.md)
for tier in dict.fromkeys(["BLINK"] + [ev.tier for ev in nms_events]):
    doc.add_tier(tier)
for b in blinks:
    doc.add_segment("BLINK", b.start_frame / FPS, b.end_frame / FPS, "blink")
for ev in nms_events:
    doc.add_segment(ev.tier, ev.start_frame / FPS, ev.end_frame / FPS, ev.label)

doc.save("recording.eaf")
```

---

## Extraction

Three GPU extractors share the same interface: `load_model()` → `extract_from_video()`. Weights auto-download from HuggingFace Hub on first use (~3.4 GB total).

### WiLoR — 3D Hand Reconstruction

21 keypoints per hand with MANO rotation matrices. Primary input for sign segmentation.

```python
from vlt.extraction.wilor import WiLoRExtractor, WiLoRConfig

config = WiLoRConfig(
    device="cuda:0",
    img_batch_size=128,       # reduce for <8GB VRAM
    detection_confidence=0.3,
    use_amp=True,
)
with WiLoRExtractor(config) as ext:
    ext.load_model()
    result = ext.extract_from_video("video.mp4", "video_wilor.h5")
```

**Output H5:**
```
video_wilor.h5
├── attrs: fps, num_frames, resolution
├── img_idx        (M,)              # frame index per detection
├── kpts_3d        (M, 21, 3)       # 3D hand keypoints
├── kpts_2d        (M, 21, 2)       # 2D projections
├── right          (M,)             # True = right hand
├── confidence     (M,)             # detection score
├── bboxes         (M, 4)           # hand bounding boxes
└── mano/
    ├── hand_pose      (M, 15, 3, 3)   # joint rotations
    ├── global_orient  (M, 1, 3, 3)    # wrist rotation
    └── betas          (M, 10)          # shape parameters
```


### NLF — Full-Body SMPL-X

55 SMPL-X joints (body + hands + face) with full pose parameters.

```python
from vlt.extraction.nlf import NLFExtractor, NLFConfig

with NLFExtractor(NLFConfig(device="cuda:0")) as ext:
    ext.load_model()
    result = ext.extract_from_video("video.mp4", "video_nlf.h5")
```

### TEASER — FLAME Face Parameters

FLAME 3D face parameters: jaw pose, expression, eyelid, shape, and head pose. Uses MediaPipe for face detection. This is the input for NMS detection.

```python
from vlt.extraction.teaser import TeaserExtractor, TeaserConfig

with TeaserExtractor(TeaserConfig(device="cuda:0")) as ext:
    ext.load_model()
    result = ext.extract_from_video("video.mp4", "video_teaser.h5")
```


### Batch Processing

```python
from pathlib import Path
from vlt.extraction.wilor import WiLoRExtractor

with WiLoRExtractor() as ext:
    ext.load_model()
    result = ext.extract_from_video("video.mp4", "hands.h5")
    print(f"{result.num_detections} hands across {result.num_frames} frames")
```

---

## Sign Segmentation

A 4-layer Transformer that reads WiLoR hand features and predicts per-frame BIO labels.

```bash
# CLI
vlt segment video_wilor.h5 -o segments.eaf -f elan --video video.mp4

# Or directly from video (auto-extracts WiLoR first)
vlt segment video.mp4 -o segments.eaf -f elan
```

```python
# Python
from vlt.segmentation import OutputFormat, get_segmenter, save_predictions

predictions = get_segmenter("transformer").run_h5("video_wilor.h5")
save_predictions(predictions, "segments.eaf", OutputFormat.ELAN, fps=25.0, media_path="video.mp4")
```


---

## Index Detection

Classify each detected sign segment as **index** (pointing) or **lexical** using the
Index Proposal Network (IPN): an SL-GCN encoder over SMPL-X body + WiLoR hand keypoints.
Two released models, selected by sign language (`bsl` / `dgs`).

```bash
# CLI (add --eaf-out video.eaf to also write an "Index" ELAN tier)
vlt index video_nlf.h5 video_wilor.h5 -s segments.json -l bsl -o index.json
```

```python
# Python
from vlt.indexing import get_index_detector

detector = get_index_detector(language="bsl")   # cached; loads the model once
pred = detector.predict(body, right, left)       # body (T,55,3), right/left (T,21,3)
pred.label, pred.probability                      # ("index", 0.97)

# Straight from VLT per-video H5 files:
preds = detector.predict_segments("video_nlf.h5", "video_wilor.h5", segments=[(10, 34)])
```

Install with `pip install "visual-language-toolkit[indexing]"` (requires torch >= 2.9). See the
[Indexing API reference](https://visual-language-toolkit.readthedocs.io/en/latest/api/indexing/)
for details.

---

## Matching Signs to a Dictionary

Three models match signing to a dictionary of known signs. **Lookup** ranks the glosses closest to
one isolated clip; **spotting** does it for every segment of a continuous recording.

| | SignRep | SignMatch | SignSeek |
|---|---|---|---|
| Input | RGB video | RGB video | RTMPose keypoints (H5) |
| Spotting (segments from `vlt segment`) | `vlt spot` | `vlt spot --spotter signmatch` | `vlt retrieve --segments` |
| Lookup of an isolated clip | Python only | `SignMatcher.lookup` | `vlt retrieve` |

`vlt spot` reads video and `vlt retrieve` reads pose files; each points you to the other if given the
wrong kind of input. See [Matching Signs to a Dictionary](https://visual-language-toolkit.readthedocs.io/en/latest/concepts/sign-matching/).

---

## Sign Retrieval (SignSeek)

Embed an isolated sign clip of 2D RTMPose whole-body keypoints into a 128-d vector with
[SignSeek](https://github.com/elsobhano/SignSeek) and look it up in a dictionary of
embedded clips: a gloss scores its best-matching clip (cosine similarity).

```bash
# SignSeek expects RTMPose poses extracted with its own 0.3 confidence threshold
vlt extract rtmpose clip.mp4 -o clip_rtmpose.h5 --kpt-thr 0.3

# Top-5 glosses per query clip; --store saves the dictionary embeddings for reuse
vlt retrieve clip_rtmpose.h5 -D dictionary/ --store dict_embeddings.h5 -k 5 -o results.json
```

To gloss each segment of a continuous video, segment it and pass the segments (this needs WiLoR for
the boundaries and RTMPose for SignSeek):

```bash
vlt segment video.mp4 -f json -o video_segments.json
vlt extract rtmpose video.mp4 -o video_rtmpose.h5 --kpt-thr 0.3
vlt retrieve video_rtmpose.h5 -D dictionary/ -s video_segments.json --eaf-out video.eaf
```

```python
from vlt.embedding import get_embedder

embedder = get_embedder("signseek")    # cached; loads the model once
vec = embedder.embed_poses(keypoints)   # (T, 133, 3) x, y, confidence -> (128,), unit length
```

Notes: `get_embedder("signseek", dtype="bf16")` (or `vlt retrieve --dtype bf16`) runs the model
in bf16 as SignSeek's own evaluation does (default fp32); clips are embedded one at a time (batches only group clips of equal length, since
padding changes SignSeek embeddings); clips over 256 frames are subsampled deterministically
(the original samples randomly). Install with `pip install "visual-language-toolkit[signseek]"`. Weights come from the HF Hub cache, or
from a folder made with `scripts/convert_signseek_checkpoint.py` and set as `VLT_SIGNSEEK_DIR`. See the
[SignSeek API reference](https://visual-language-toolkit.readthedocs.io/en/latest/api/signseek/).

---

## Gloss Spotting

Match detected segments to a dictionary of known signs using SignRep embeddings (768-dim ViT features).

```python
from vlt.embedding import get_spotter

spotter = get_spotter("signrep")            # cached; loads the model once
result = spotter.spot_from_video(
    "video.mp4",
    "segments.json",                         # from `vlt segment ... -f json`
    ["/data/dictionaries/bsldict/signrep/"],
    top_k=5,
)

for seg in result.segments:
    for gl in seg.top_glosses[:3]:
        print(f"  {gl['gloss']} ({gl['similarity']:.3f})")
```


---

## Non-Manual Signal Detection

Detect blinks, head nods/shakes/tilts, mouth movements, eyebrow raises, gaze direction, and eye squints from TEASER face data.

```bash
# CLI
vlt nms video_teaser.h5 -o nms_output/
```

```python
from vlt.nms import NMSConfig, get_nms_detector

config = NMSConfig(
    detectors={"all"},
    smpl_path="video_nlf.h5",  # optional: enables gaze detection
)
blinks, nms_events, quality = get_nms_detector("teaser", config=config).detect("video_teaser.h5")
print(f"{len(blinks)} blinks, {len(nms_events)} NMS events")
print(f"Tracking quality: {quality.detection_rate:.0%}")
```

| Detector | ELAN Tier | Signal | Source Data |
|----------|-----------|--------|-------------|
| **[Blink](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/nms/)** | `BLINK` | Eye closures | TEASER eyelid |
| **Nod** | `HEAD-NOD` | Vertical head oscillation | TEASER head pitch |
| **Shake** | `HEAD-SHAKE` | Horizontal head oscillation | TEASER head yaw |
| **Tilt** | `HEAD-TILT` | Side-to-side tilt | TEASER head roll |
| **Mouth** | `MOUTH-MOVEMENT` | Lip and mouth movement | FLAME expression |
| **Eyebrow** | `EYEBROW-RAISE` | Eyebrow raise | FLAME expression |
| **Eyebrow** | `EYEBROW-FURROW` | Eyebrow furrow | FLAME expression |
| **Gaze** | `EYE-GAZE` | Gaze direction | NLF eye pose |
| **Squint** | `EYE-SQUINT` | Partial eye closure | TEASER eyelid |

### Evaluation Metrics

Standardized metrics for translation, production (pose & video), and segmentation evaluation. See the [Metrics tutorial](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/metrics/) and [notebook](notebooks/04_evaluation_metrics.ipynb).

| Task | Metrics | Dependencies |
|------|---------|--------------|
| **[Translation](https://visual-language-toolkit.readthedocs.io/en/latest/api/metrics/#translation-metrics)** | BLEU-1/2/3/4, ROUGE-L, chrF/chrF++, TER, METEOR, WER | `visual-language-toolkit[metrics]` |
| **[Translation (neural)](https://visual-language-toolkit.readthedocs.io/en/latest/api/metrics/#bertscore)** | BLEURT, BERTScore | `visual-language-toolkit[metrics-neural]` |
| **[Production — Pose](https://visual-language-toolkit.readthedocs.io/en/latest/api/metrics/#pose-metrics)** | MPJPE, PA-MPJPE, PCK, DTW-MJE, APE, FGD | core (numpy/scipy) |
| **[Production — Video](https://visual-language-toolkit.readthedocs.io/en/latest/api/metrics/#video-quality-metrics)** | SSIM, PSNR, FID | `visual-language-toolkit[metrics-video]` |
| **[Segmentation](https://visual-language-toolkit.readthedocs.io/en/latest/api/metrics/#segmentation-metrics)** | Boundary F1, IoU, frame accuracy, label P/R/F1, confusion matrix | core |

### ROI Cropping

GPU-accelerated region-of-interest cropping for lips, hands, and other body regions. See the [Cropping API](https://visual-language-toolkit.readthedocs.io/en/latest/api/cropping/).

```python
from vlt.cropping import crop_lips_from_video

crops, frame_indices, bboxes = crop_lips_from_video("video.mp4", output_size=96)
```

### Visualization

Skeleton and 3D mesh overlay rendering on video frames. See the [Visualization API](https://visual-language-toolkit.readthedocs.io/en/latest/api/visualization/).

```python
from vlt.visualization import generate_overlay_video
generate_overlay_video("video.mp4", "video_wilor.h5", "overlay.mp4", viz_type="wilor")
```

### ELAN I/O

| Feature | Description |
|---------|-------------|
| **Read/Write** | Full ELAN (.eaf) round-trip preserving all XML structure |
| **Create** | Build multi-tier ELAN files programmatically |
| **Merge** | Combine tiers from multiple ELAN files |
| **Export** | Convert to/from JSON, CSV, and other formats |

See the [ELAN tutorial](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/elan/).

#

## Supported Datasets

Built-in loaders for major sign language datasets:

| Dataset | Language | Type | Size | Tutorial |
|---------|----------|------|------|----------|
| [WLASL](https://dxli94.github.io/WLASL/) | ASL | Isolated | 2,000 classes | [Datasets](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/datasets/) |
| [ASL-Citizen](https://www.microsoft.com/en-us/research/project/asl-citizen/) | ASL | Isolated | Community-sourced | [Datasets](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/datasets/) |
| [How2Sign](https://how2sign.github.io/) | ASL | Continuous | 35K sentences | [Datasets](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/datasets/) |
| [BSLCP](https://bslcorpusproject.org/) | BSL | Continuous | Multi-view corpus | [Datasets](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/datasets/) |
| [BOBSL](https://www.robots.ox.ac.uk/~vgg/data/bobsl/) | BSL | Continuous | BBC archive | [Datasets](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/datasets/) |
| [Phoenix-2014T](https://www-i6.informatik.rwth-aachen.de/~koller/RWTH-PHOENIX-2014-T/) | DGS | Continuous | Weather broadcasts | [Datasets](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/datasets/) |
| [CSL-Daily](https://ustc-slr.github.io/datasets/2021_csl_daily/) | CSL | Continuous | Daily conversations | [Datasets](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/datasets/) |

#

## Additional Features

- **Pipeline CLI:** Single command from raw video to multi-tier ELAN file (`vlt pipeline`)
- **Unified Pose Format:** `PoseSequence` class normalizes all backends to `(T, N, C)` arrays with format conversion
- **ROI Cropping:** GPU-accelerated lip, hand, and generic region cropping for data loading and preprocessing
- **Visualization:** Skeleton overlay and 3D mesh projection rendering
- **Batch Processing:** All extractors support directory-level batch processing
- **Model Weight Management:** Auto-download from HuggingFace Hub with environment variable overrides
- **Modular Install:** Optional dependency groups (`[wilor]`, `[metrics]`, `[nlf]`, etc.) keep the base lightweight

#

## CLI Reference

```bash
# Full pipeline
vlt pipeline video.mp4 -o output/

# Pose extraction
vlt extract wilor video.mp4 -o hands.h5
vlt extract nlf video.mp4 -o body.h5
vlt extract teaser video.mp4 -o face.h5

# Sign segmentation
vlt segment hands.h5 -o segments.eaf -f elan --video video.mp4

# Non-manual signal detection
vlt nms face.h5 -o nms_output/

# Index (pointing) vs lexical classification
vlt index body.h5 hands.h5 -s segments.json -l bsl -o index.json

# Sign retrieval: top glosses for isolated sign clips (SignSeek)
vlt retrieve clip_rtmpose.h5 -D dictionary/ -k 5

# Gloss spotting in video (SignRep or SignMatch); for poses use `vlt retrieve --segments`
vlt spot video.mp4 --segments segments.json --dictionary dict/

# Evaluation
vlt evaluate preds.txt refs.txt --task translation -m bleu4 -m chrf
vlt evaluate pred.h5 ref.h5 --task production -m mpjpe -m pck
vlt evaluate preds.eaf refs.eaf --task segmentation

# ELAN utilities
vlt to-elan segments.json --video video.mp4 -o annotations.eaf
vlt from-elan annotations.eaf -o segments.json --tier Gloss
vlt info video_wilor.h5
```

See the full [CLI documentation](https://visual-language-toolkit.readthedocs.io/en/latest/api/cli/).

#

## Tutorials & Notebooks

| # | Tutorial | Notebook | Description |
|---|----------|----------|-------------|
| 00 | — | [Notebook](notebooks/00_foundations.ipynb) | **Foundations:** core data types, H5 schemas, the extractor contract (start here) |
| 01 | [Pose Extraction](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/extraction/) | [Notebook](notebooks/01_pose_extraction.ipynb) | WiLoR hands, NLF body, TEASER face, MediaPipe |
| 02 | [Segmentation & Spotting](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/segmentation/) | [Notebook](notebooks/02_segmentation_and_spotting.ipynb) | Sign boundaries, dictionary matching |
| 03 | [NMS & ELAN](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/nms/) | [Notebook](notebooks/03_nms_and_elan.ipynb) | Non-manual signals, ELAN file assembly |
| 04 | [Evaluation Metrics](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/metrics/) | [Notebook](notebooks/04_evaluation_metrics.ipynb) | Translation, production, segmentation metrics |
| 05 | [ELAN Files](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/elan/) | — | Reading, writing, merging annotation files |
| 06 | [Datasets](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/datasets/) | — | Loading and exploring sign language corpora |
| 07 | [Feature Processing](https://visual-language-toolkit.readthedocs.io/en/latest/tutorials/processing/) | [Notebook](notebooks/08_pose_processing.ipynb) | Pose features and normalization |
| 10 | [Extending VLT](https://visual-language-toolkit.readthedocs.io/en/latest/extending/) | [Notebook](notebooks/10_extending_vlt.ipynb) | Add a segmenter, spotter, extractor, metric, format, detector, … |

#

## Model Weights

All weights auto-download from [HuggingFace Hub](https://huggingface.co/cogvis-cvssp/vltk) and cache at `~/.cache/vlt/weights/`.

| Model | Size | Source | Env Override |
|-------|------|--------|-------------|
| WiLoR (hands) | ~2.5 GB | HF Hub (auto) | `VLT_WILOR_CHECKPOINT` |
| NLF (body) | ~540 MB | HF Hub (auto) | `VLT_NLF_MODEL` |
| TEASER (face) | ~350 MB | HF Hub (auto) | `VLT_TEASER_CHECKPOINT` |
| SignRep (embedding) | ~350 MB | HF Hub (auto) | `VLT_SIGNREP_CHECKPOINT` |
| Segmenter | ~180 MB | HF Hub (auto) | `VLT_SEGMENTOR_V2_CHECKPOINT` |
| IPN (index detection, B + M models) | ~60 MB | HF Hub (auto) | `VLT_IPN_DIR` |
| SignSeek (sign retrieval) | ~40 MB | HF Hub (auto) | `VLT_SIGNSEEK_DIR` |
| **MANO** (hand model) | ~6 MB | [mano.is.tue.mpg.de](https://mano.is.tue.mpg.de) ⚠️ | `VLT_MANO_DIR` |
| **SMPL-X** (body model, NLF) | ~300 MB | [smpl-x.is.tue.mpg.de](https://smpl-x.is.tue.mpg.de) ⚠️ | `VLT_SMPLX_MODEL` |
| **FLAME** (face model, TEASER) | ~150 MB | [flame.is.tue.mpg.de](https://flame.is.tue.mpg.de) ⚠️ | `VLT_FLAME_ASSETS_DIR` |
| **SMPL-X assets dir** (EHM / viz) | ~500 MB | [smpl-x.is.tue.mpg.de](https://smpl-x.is.tue.mpg.de) ⚠️ | `VLT_SMPLX_ASSETS_DIR` |

⚠️ MANO, SMPL-X, and FLAME require registration on the authors' websites and cannot be auto-downloaded. See the [Installation Guide](https://visual-language-toolkit.readthedocs.io/en/latest/getting-started/installation/#mano-and-smpl-x-models-license-gated) for step-by-step setup instructions.

Set `VLT_AUTO_DOWNLOAD=1` to skip the confirmation prompt for HF models. Set `VLT_WEIGHTS_DIR` to override the cache location.

#

## Testing

```bash
pytest                       # Default (CPU) test tier
pytest -m "not slow"         # Skip slow GPU/neural tests
pytest tests/test_metrics.py # Single module
```

#

## Documentation

Full documentation at **[visual-language-toolkit.readthedocs.io](https://visual-language-toolkit.readthedocs.io/)**

| Section | Content |
|---------|---------|
| [Installation](https://visual-language-toolkit.readthedocs.io/en/latest/getting-started/installation/) | Install options, GPU setup, weight management |
| [Quick Start](https://visual-language-toolkit.readthedocs.io/en/latest/getting-started/quickstart/) | First steps with VLT |
| [API Reference](https://visual-language-toolkit.readthedocs.io/en/latest/api/overview/) | Full Python API docs |
| [Cropping](https://visual-language-toolkit.readthedocs.io/en/latest/api/cropping/) | ROI and lip cropping |
| [NMS Detection](https://visual-language-toolkit.readthedocs.io/en/latest/api/nms/) | Non-manual signal detection API |
| [Visualization](https://visual-language-toolkit.readthedocs.io/en/latest/api/visualization/) | Skeleton and mesh overlays |
| [CLI Reference](https://visual-language-toolkit.readthedocs.io/en/latest/api/cli/) | Command-line interface |

#

## Stability

Each part of the toolkit is labelled **Stable** or **Experimental**. Experimental code is tested less thoroughly, may change or break between releases, and prints an `ExperimentalWarning` the first time you use it.

| Label | Modules |
|-------|---------|
| **Stable** | `extraction`, `segmentation`, `embedding`, `indexing`, `io`, `data`, `metrics`, `processing`, `cropping`, `visualization`, `weights`, `cli` |
| **Experimental** | `nms` (non-manual signal detection), `tracking` (person tracking) |

Tracking is also used internally by segmentation, indexing and `vlt pipeline`, so you may see its warning there. Silence the warning with `warnings.filterwarnings("ignore", category=vlt.ExperimentalWarning)`. Some stable modules depend on third-party models with their own licences; see [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).

#

## Community

Join the development community on **[Discord](https://discord.gg/naTCFCaf8V)** to ask questions, share what you are building, and discuss the toolkit with the developers and other users. Bug reports and feature requests belong in the GitHub issue tracker so they are not lost.

#

## License

**[PolyForm Noncommercial License 1.0.0](LICENSE)**: free to use, modify and share for non-commercial purposes (personal use, research, teaching, charities, educational and public research institutions). Commercial use is not permitted. This is a source-available licence, not an OSI open-source one.

Contributions are accepted under the same licence; see [CONTRIBUTING.md](CONTRIBUTING.md).

The SignMatch code in `vlt/embedding/signmatch/` keeps its own [non-commercial licence](vlt/embedding/signmatch/LICENSE).

### Third-Party Licenses

VLT bundles or depends on models with their own license terms. The full list of bundled and separately installed components is in [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).

| Component | License | Link |
|-----------|---------|------|
| **MANO** (hand model) | Non-commercial | [mano.is.tue.mpg.de](https://mano.is.tue.mpg.de/license.html) |
| **SMPL-X** (body model) | Non-commercial | [smpl-x.is.tue.mpg.de](https://smpl-x.is.tue.mpg.de/modellicense.html) |
| **FLAME** (face model) | Non-commercial / CC-BY-4.0 (2023+) | [flame.is.tue.mpg.de](https://flame.is.tue.mpg.de) |
| **WiLoR** | CC BY-NC-ND 4.0 | [Potamias et al., CVPR 2025](https://github.com/rolpotamias/WiLoR) |
| **TEASER** | No licence published upstream | [Liu et al., ICLR 2025](https://github.com/Pixel-Talk/TEASER) |
| **NLF** | MIT (code); check the model weights' terms | [Sárándi & Pons-Moll, NeurIPS 2024](https://github.com/isarandi/nlf) |
| **Ultralytics YOLO** (person and hand detectors for NLF and WiLoR) | AGPL-3.0; not bundled, installed separately by the `wilor`, `nlf` and `all` extras | [ultralytics/ultralytics](https://github.com/ultralytics/ultralytics) |

#

## Citations & Acknowledgements

VLT integrates several third-party models and methods. **If you use these components in your research, please cite the original papers.** VLT does not claim authorship of these models — it provides a unified interface to run them together.

### Sign Segmentation — [He et al., FG 2025](https://arxiv.org/abs/2504.08593)

The sign segmenter uses the Hands-On model for temporal sign boundary detection from hand pose features.

```bibtex
@inproceedings{he2025hands,
  title={Hands-On: Segmenting Individual Signs from Continuous Sequences},
  author={He, Low Jian and Walsh, Harry and Sincan, Ozge Mercanoglu and Bowden, Richard},
  booktitle={2025 IEEE 19th International Conference on Automatic Face and Gesture Recognition (FG)},
  pages={1--5},
  year={2025},
  organization={IEEE}
}
```

### Sign Retrieval — [Asasi et al., WACV 2027](https://arxiv.org/abs/2609.03695)

SignSeek provides the pose-based sign representations used for dictionary retrieval (`vlt retrieve`).

```bibtex
@inproceedings{asasi2027signseek,
  title={SignSeek: Learning Transferable Representations for Sign Dictionary Retrieval},
  author={Asasi, Sobhan and Sincan, Ozge Mercanoglu and Bowden, Richard},
  booktitle={Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)},
  year={2027}
}
```

### Gloss Spotting — [Wong et al., ICCV 2025](https://arxiv.org/abs/2503.08529)

SignRep provides self-supervised sign language representations used for dictionary-based gloss matching. Original code: [ryanwongsa/SignRep](https://github.com/ryanwongsa/SignRep).

```bibtex
@inproceedings{wong2025signrep,
  title={SignRep: Enhancing Self-Supervised Sign Representations},
  author={Wong, Ryan and Camgoz, Necati Cihan and Bowden, Richard},
  booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
  pages={22804--22814},
  year={2025}
}
```

### Face Reconstruction — [Liu et al., ICLR 2025](https://arxiv.org/abs/2502.10982)

TEASER provides FLAME-based face parameter extraction (jaw pose, expression, eyelid) used for non-manual signal detection. Original code: [Pixel-Talk/TEASER](https://github.com/Pixel-Talk/TEASER).

```bibtex
@inproceedings{liu2025teaser,
  title={TEASER: Token Enhanced Spatial Modeling for Expressions Reconstruction},
  author={Liu, Yunfei and Zhu, Lei and Lin, Lijian and Zhu, Ye and Zhang, Ailing and Li, Yu},
  booktitle={International Conference on Learning Representations (ICLR)},
  year={2025}
}
```

### Hand Reconstruction — [Potamias et al., CVPR 2025](https://arxiv.org/abs/2409.12259)

WiLoR provides end-to-end 3D hand localization and MANO parameter estimation from in-the-wild images. Original code: [rolpotamias/WiLoR](https://github.com/rolpotamias/WiLoR).

```bibtex
@inproceedings{potamias2025wilor,
  title={WiLoR: End-to-end 3D Hand Localization and Reconstruction in-the-wild},
  author={Potamias, Rolandos Alexandros and Zhang, Jinglei and Deng, Jiankang and Zafeiriou, Stefanos},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  year={2025}
}
```

### Body Pose — [Sárándi & Pons-Moll, NeurIPS 2024](https://arxiv.org/abs/2407.07532)

NLF estimates continuous 3D human body pose and shape (SMPL-X parameters, including eye gaze). Original code: [isarandi/nlf](https://github.com/isarandi/nlf).

```bibtex
@inproceedings{sarandi2024nlf,
  title={Neural Localizer Fields for Continuous 3D Human Pose and Shape Estimation},
  author={S{\'a}r{\'a}ndi, Istv{\'a}n and Pons-Moll, Gerard},
  booktitle={Advances in Neural Information Processing Systems (NeurIPS)},
  year={2024}
}
```

### Pose Estimation — [Jiang et al., 2023](https://arxiv.org/abs/2303.07399)

RTMPose provides real-time multi-person whole-body keypoint detection (133 COCO-WholeBody landmarks). Original code: [open-mmlab/mmpose](https://github.com/open-mmlab/mmpose); the bundled inference code is adapted from [Tau-J/rtmlib](https://github.com/Tau-J/rtmlib).

```bibtex
@article{jiang2023rtmpose,
  title={RTMPose: Real-Time Multi-Person Pose Estimation based on MMPose},
  author={Jiang, Tao and Lu, Peng and Zhang, Li and Ma, Ningsheng and Han, Rui and Lyu, Chengqi and Li, Yining and Chen, Kai},
  journal={arXiv preprint arXiv:2303.07399},
  year={2023}
}
```

### Parametric Body, Hand and Face Models — SMPL-X, MANO, FLAME

The body, hand and face extractors fit these parametric models; you must obtain the model files yourself from their authors (see [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)). Model pages: [SMPL-X](https://smpl-x.is.tue.mpg.de/), [MANO](https://mano.is.tue.mpg.de/), [FLAME](https://flame.is.tue.mpg.de). Original code: [vchoutas/smplx](https://github.com/vchoutas/smplx), [soubhiksanyal/FLAME_PyTorch](https://github.com/soubhiksanyal/FLAME_PyTorch).

```bibtex
@inproceedings{SMPL-X:2019,
  title={Expressive Body Capture: 3D Hands, Face, and Body from a Single Image},
  author={Pavlakos, Georgios and Choutas, Vasileios and Ghorbani, Nima and Bolkart, Timo and Osman, Ahmed A. A. and Tzionas, Dimitrios and Black, Michael J.},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  pages={10975--10985},
  year={2019}
}

@article{MANO:SIGGRAPHASIA:2017,
  title={Embodied Hands: Modeling and Capturing Hands and Bodies Together},
  author={Romero, Javier and Tzionas, Dimitrios and Black, Michael J.},
  journal={ACM Transactions on Graphics (Proc. SIGGRAPH Asia)},
  volume={36},
  number={6},
  pages={245:1--245:17},
  year={2017}
}

@article{FLAME:2017,
  title={Learning a model of facial shape and expression from {4D} scans},
  author={Li, Tianye and Bolkart, Timo and Black, Michael J. and Li, Hao and Romero, Javier},
  journal={ACM Transactions on Graphics},
  volume={36},
  number={6},
  pages={194:1--194:17},
  year={2017}
}
```

### Face Refinement — [Qian et al., CVPR 2024](https://arxiv.org/abs/2312.02069)

GaussianAvatars' teeth model is used to refine the face mesh produced by the face extractor. Original code: [ShenhanQian/GaussianAvatars](https://github.com/ShenhanQian/GaussianAvatars). The eyelid blendshapes come from Pixel3DMM ([SimonGiebenhain/pixel3dmm](https://github.com/SimonGiebenhain/pixel3dmm)).

```bibtex
@InProceedings{Qian_2024_CVPR,
  author    = {Qian, Shenhan and Kirschstein, Tobias and Schoneveld, Liam and Davoli, Davide and Giebenhain, Simon and Nie{\ss}ner, Matthias},
  title     = {GaussianAvatars: Photorealistic Head Avatars with Rigged 3D Gaussians},
  booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  year      = {2024},
  pages     = {20299--20309}
}
```

### Depth Estimation — [Chen et al., 2025](https://arxiv.org/abs/2501.12375)

Video Depth Anything provides temporally consistent monocular depth estimation. It builds on Depth Anything V2 and uses a motion module adapted from AnimateDiff. Original code: [DepthAnything/Video-Depth-Anything](https://github.com/DepthAnything/Video-Depth-Anything), [DepthAnything/Depth-Anything-V2](https://github.com/DepthAnything/Depth-Anything-V2), [guoyww/AnimateDiff](https://github.com/guoyww/AnimateDiff).

```bibtex
@misc{chen2025videodepthanything,
  title={Video Depth Anything: Consistent Depth Estimation for Super-Long Videos},
  author={Chen, Sili and Guo, Hengkai and Zhu, Shengnan and Zhang, Feihu and Huang, Zilong and Feng, Jiashi and Kang, Bingyi},
  year={2025},
  eprint={2501.12375},
  archivePrefix={arXiv}
}

@inproceedings{yang2024depthanythingv2,
  title={Depth Anything V2},
  author={Yang, Lihe and Kang, Bingyi and Huang, Zilong and Zhao, Zhen and Xu, Xiaogang and Feng, Jiashi and Zhao, Hengshuang},
  booktitle={Advances in Neural Information Processing Systems (NeurIPS)},
  year={2024}
}

@inproceedings{guo2024animatediff,
  title={AnimateDiff: Animate Your Personalized Text-to-Image Diffusion Models without Specific Tuning},
  author={Guo, Yuwei and Yang, Ceyuan and Rao, Anyi and Liang, Zhengyang and Wang, Yaohui and Qiao, Yu and Agrawala, Maneesh and Lin, Dahua and Dai, Bo},
  booktitle={International Conference on Learning Representations (ICLR)},
  year={2024}
}
```

### Vision Backbones — Hiera, MAE, SlowFast

The gloss-spotting backbones build on these architectures. Original code: [facebookresearch/hiera](https://github.com/facebookresearch/hiera), [facebookresearch/mae](https://github.com/facebookresearch/mae), [facebookresearch/SlowFast](https://github.com/facebookresearch/SlowFast).

```bibtex
@inproceedings{ryali2023hiera,
  title={Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistles},
  author={Ryali, Chaitanya and Hu, Yuan-Ting and Bolya, Daniel and Wei, Chen and Fan, Haoqi and Huang, Po-Yao and Aggarwal, Vaibhav and Chowdhury, Arkabandhu and Poursaeed, Omid and Hoffman, Judy and Malik, Jitendra and Li, Yanghao and Feichtenhofer, Christoph},
  booktitle={Proceedings of the 40th International Conference on Machine Learning (ICML)},
  year={2023}
}

@InProceedings{He_2022_CVPR,
  author    = {He, Kaiming and Chen, Xinlei and Xie, Saining and Li, Yanghao and Doll\'ar, Piotr and Girshick, Ross},
  title     = {Masked Autoencoders Are Scalable Vision Learners},
  booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  year      = {2022},
  pages     = {16000--16009}
}

@InProceedings{Feichtenhofer_2019_ICCV,
  author    = {Feichtenhofer, Christoph and Fan, Haoqi and Malik, Jitendra and He, Kaiming},
  title     = {SlowFast Networks for Video Recognition},
  booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
  year      = {2019}
}
```

### Sign Matching — [Wong et al., BMVC 2026](https://github.com/ryanwongsa/signmatch)

SignMatch matches dictionary signs to continuous sign language video. It is bundled under its own non-commercial licence.

```bibtex
@inproceedings{wong2026signmatch,
  title={SignMatch: Matching Dictionary Signs to Continuous Sign Language Video},
  author={Wong, Ryan and Jang, Youngjoon and Momeni, Liliane and Varol, G{\"u}l and Zisserman, Andrew},
  booktitle={British Machine Vision Conference (BMVC)},
  year={2026}
}
```

### Index Detection — [Jiang et al., CVPRW 2021](https://arxiv.org/abs/2103.08833)

The Index Proposal Network (IPN) uses an SL-GCN encoder over body and hand keypoints (original code: [jackyjsy/CVPR21Chal-SLR](https://github.com/jackyjsy/CVPR21Chal-SLR)). IPN itself was developed within our research group and has no separate paper.

```bibtex
@inproceedings{jiang2021skeleton,
  title={Skeleton Aware Multi-modal Sign Language Recognition},
  author={Jiang, Songyao and Sun, Bin and Wang, Lichen and Bai, Yue and Li, Kunpeng and Fu, Yun},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
  pages={3413--3423},
  year={2021}
}
```

### Face and Person Detection — MediaPipe, Ultralytics YOLO

MediaPipe is used for face detection in the TEASER extractor. Ultralytics YOLO provides the person and hand detectors for NLF and WiLoR; it is AGPL-3.0 and is installed separately. Original code: [google-ai-edge/mediapipe](https://github.com/google-ai-edge/mediapipe), [ultralytics/ultralytics](https://github.com/ultralytics/ultralytics).

```bibtex
@article{lugaresi2019mediapipe,
  title={MediaPipe: A Framework for Building Perception Pipelines},
  author={Lugaresi, Camillo and Tang, Jiuqiang and Nash, Hadon and McClanahan, Chris and Uboweja, Esha and Hays, Michael and Zhang, Fan and Chang, Chuo-Ling and Yong, Ming Guang and Lee, Juhyun and Chang, Wan-Teh and Hua, Wei and Georg, Manfred and Grundmann, Matthias},
  journal={arXiv preprint arXiv:1906.08172},
  year={2019}
}

@software{jocher2023ultralytics,
  title={Ultralytics YOLO},
  author={Jocher, Glenn and Qiu, Jing and Chaurasia, Ayush},
  version={8.0.0},
  year={2023},
  url={https://github.com/ultralytics/ultralytics},
  license={AGPL-3.0}
}
```

### Other Bundled Code — DWPose, ExPose, GUAVA, PyTorch3D

DWPose is the basis of the whole-body pose annotator, ExPose and smplx supply the SMPL-X code in `ehm_deps/`, the EHM assembler is adapted from EHM-Tracker and GUAVA, and the rotation conversions come from PyTorch3D. Original code: [IDEA-Research/DWPose](https://github.com/IDEA-Research/DWPose), [lllyasviel/ControlNet](https://github.com/lllyasviel/ControlNet) (annotator), [vchoutas/expose](https://github.com/vchoutas/expose), [Pixel-Talk/GUAVA](https://github.com/Pixel-Talk/GUAVA), [Pixel-Talk/EHM-Tracker](https://github.com/Pixel-Talk/EHM-Tracker), [facebookresearch/pytorch3d](https://github.com/facebookresearch/pytorch3d).

```bibtex
@inproceedings{yang2023dwpose,
  title={Effective Whole-body Pose Estimation with Two-stages Distillation},
  author={Yang, Zhendong and Zeng, Ailing and Yuan, Chun and Li, Yu},
  booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV) Workshops},
  pages={4212--4222},
  year={2023}
}

@inproceedings{ExPose:2020,
  title={Monocular Expressive Body Regression through Body-Driven Attention},
  author={Choutas, Vasileios and Pavlakos, Georgios and Bolkart, Timo and Tzionas, Dimitrios and Black, Michael J.},
  booktitle={Computer Vision -- ECCV 2020},
  pages={20--40},
  year={2020}
}

@article{zhang2025guava,
  title={GUAVA: Generalizable Upper Body 3D Gaussian Avatar},
  author={Zhang, Dongbin and Liu, Yunfei and Lin, Lijian and Zhu, Ye and Li, Yang and Qin, Minghan and Li, Yu and Wang, Haoqian},
  journal={arXiv preprint arXiv:2505.03351},
  year={2025}
}

@article{ravi2020pytorch3d,
  title={Accelerating 3D Deep Learning with PyTorch3D},
  author={Ravi, Nikhila and Reizenstein, Jeremy and Novotny, David and Gordon, Taylor and Lo, Wan-Yen and Johnson, Justin and Gkioxari, Georgia},
  journal={arXiv preprint arXiv:2007.08501},
  year={2020}
}
```

### Sample Data — [Duarte et al., CVPR 2021](https://how2sign.github.io/)

The example clip in `sample-data/` is taken from the How2Sign dataset.

```bibtex
@inproceedings{Duarte_CVPR2021,
  title={{How2Sign: A Large-scale Multimodal Dataset for Continuous American Sign Language}},
  author={Duarte, Amanda and Palaskar, Shruti and Ventura, Lucas and Ghadiyaram, Deepti and DeHaan, Kenneth and Metze, Florian and Torres, Jordi and Giro-i-Nieto, Xavier},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  year={2021}
}
```
