Skip to main content

Python library for temporal contrast American Sign Language classification.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tcasl-1.0.3.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tcasl-1.0.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file tcasl-1.0.3.tar.gz.

File metadata

  • Download URL: tcasl-1.0.3.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for tcasl-1.0.3.tar.gz
Algorithm Hash digest
SHA256 4eb5a4508d0e95f4b582200b047a7757a7127c66b70a4ddff89ad3d3f196a059
MD5 464640ba7af28e8bb95472bd2456cf6c
BLAKE2b-256 1aa3e0bcf60d081965ba8eb450db9084a4196b78d0ed3e8b00980a11654e6cb9

See more details on using hashes here.

File details

Details for the file tcasl-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: tcasl-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for tcasl-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 829f1bbd5bc067a6ff3f31fbfb1a8e20d5a63b03dfbd623951052f754620010a
MD5 37c60db1b3a789d75a12e8c64351f0ed
BLAKE2b-256 e438937105f6b3aed5e2c06ad44ee88e661aa79b7383a459734d5608ec1682e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page