signlang-augmenter
signlang-augmenter is a Python library for sign language video augmentation.
The first shipped domain is video augmentation. The current video API exposes 44 supported augmentation keywords across 5 groups: spatial, photometric, noise/quality, temporal, and camera simulation. Pose augmentation is planned for a later phase and the pose package remains a placeholder for that future work.
What is included
- Video I/O helpers for reading and writing clips.
- Reproducible augmentation helpers with a shared seed function.
- A single convenience entry point for keyword-based usage:
augment_video. - Separate augmentation modules for spatial, photometric, noise/quality, temporal, and camera simulation transforms.
- A public API under
signlang_augmenter.videowith 11 exported helpers.
Install
Option 1: Install the library to use it
pip install signlang-augmenter
Or install it directly from GitHub:
python -m pip install "git+https://github.com/24-mohamedyehia/signlang-augmenter.git"
Option 2: Install the project for development
If you want to modify the code and contribute, use an isolated environment and editable install:
- Install Miniconda if needed.
- Run:
git clone https://github.com/24-mohamedyehia/signlang-augmenter.git
cd signlang-augmenter
conda create -n signlang-augmenter python=3.11 -y
conda activate signlang-augmenter
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
Quick Import Check
Use this when you want a fast sanity check that the library imports correctly and the public entry point is available:
from signlang_augmenter.video import augment_video, list_supported_video_methods
print(len(list_supported_video_methods()))
print(list_supported_video_methods())
If the import succeeds, the library is ready to use.
Example
Open examples/basic_pipeline.ipynb for a notebook that shows the video-only workflow with one convenience-wrapper example and separate examples for each augmentation group.
Typical usage:
from pathlib import Path
from signlang_augmenter.video import augment_video
input_video = Path("./data/sample.mp4")
output_dir = Path("./outputs")
outputs = augment_video(
input_video_path=input_video,
output_dir=output_dir,
speed_up=1.15,
frame_sampling=0.75,
random_crop=0.9,
horizontal_flip=0.3,
)
Public API
Use signlang_augmenter.video as the main entry point. It exports 11 helpers:
augment_videolist_supported_video_methodsset_seedread_video_cv2write_video_cv2spatial_augmentations_to_videosphotometric_augmentations_to_videoslist_supported_photometric_methodsnoise_quality_augmentations_to_videostemporal_augmentations_to_videoscamera_simulation_to_videos
For the full breakdown of categories, defaults, and method counts, see docs/README.md.
Metadata
Release files for signlang-augmenter 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| signlang_augmenter-0.1.0.tar.gz | 12.7 kB | Without provenance | Details for signlang_augmenter-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| signlang_augmenter-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for signlang_augmenter-0.1.0-py3-none-any.whl |
Total release size: 29.5 kB
Release files / signlang_augmenter-0.1.0.tar.gz
| Download URL | signlang_augmenter-0.1.0.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6af2f236a439eb05722b4bd0d03c60f5316aa1c9fb94c75cd5ac3da8bd53c9cc
|
|
BLAKE2b-256 checksum How to use checksums |
fb0bee9bcf0200a52b502af65d29f93df9c32bf7c2814a2d3170aa3b4badba4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / signlang_augmenter-0.1.0-py3-none-any.whl
| Download URL | signlang_augmenter-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6fc234e2ac6b4b230cc16d589d1b0b2a8c2545791f9e680dc1cdc9fc1ce5a9c2
|
|
BLAKE2b-256 checksum How to use checksums |
6fe799e71f95ae411e3aa60f77793b533fa90abd01f024d17d5f1dc3f08c420d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for signlang-augmenter 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.