Skip to main content

TCASLCore

A lightweight Python inference engine for real-time American Sign Language (ASL) recognition using temporal contrast emulation to simulate a Dynamic Vision Sensor (DVS).

Features

  • Temporal contrast emulation: Converts standard webcam frames into sparse DVS-style event maps, isolating hand motion and discarding static background.
  • Auto-downloading weights: Model weights are fetched automatically from GitHub Releases and cached locally via torch.hub, no manual download required.
  • Auto-formatting: Center-crops and rescales raw frames to the 128×128 input resolution expected by the network.
  • Multiple model versions: Switch between sdnn_v1 and sdnn_v2 via a single argument, or supply your own local .pth file.

Installation

pip install tcasl

Quick Start

Full examples (static image and real-time webcam) are in examples/.

Available Models

Tag Description
sdnn_v2 (default) Latest release (97.3% Accuracy)
sdnn_v1 Initial release (95.9% Accuracy)

API Reference

Full docstrings are in src/tcasl/core.py.

TCASL Project

For background and the research paper, see the main TCASL repository.

Metadata

Release files for tcasl 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tcasl 1.0.3
File Size Uploaded Provenance Actions
tcasl-1.0.3.tar.gz 5.5 kB Without provenance Details for tcasl-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tcasl 1.0.3
File Interpreter ABI Platform Actions
tcasl-1.0.3-py3-none-any.whl Python 3 none any Details for tcasl-1.0.3-py3-none-any.whl

Total release size: 11.2 kB

Release files / tcasl-1.0.3.tar.gz

Download URL tcasl-1.0.3.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4eb5a4508d0e95f4b582200b047a7757a7127c66b70a4ddff89ad3d3f196a059
BLAKE2b-256 checksum
How to use checksums
1aa3e0bcf60d081965ba8eb450db9084a4196b78d0ed3e8b00980a11654e6cb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / tcasl-1.0.3-py3-none-any.whl

Download URL tcasl-1.0.3-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
829f1bbd5bc067a6ff3f31fbfb1a8e20d5a63b03dfbd623951052f754620010a
BLAKE2b-256 checksum
How to use checksums
e438937105f6b3aed5e2c06ad44ee88e661aa79b7383a459734d5608ec1682e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Security for tcasl 1.0.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page