Skip to content
PureLumpyAttackPublic

About

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lipscribe

Lipscribe reads your lips through the webcam and turns them into text, then speech. The model runs in your browser. Video never leaves the computer.

It uses the pretrained Auto-AVSR lip-reading model, exported to ONNX and cut to 182 MB with 4-bit weights. On our own recordings it gets 18.6% word error rate.

Results and charts are in ml/README.md.

Quick start

Needs Node.js 20+ and uv.

cd ml
uv sync
bash scripts/download.sh
uv run python scripts/export_onnx.py
uv run python scripts/export_onnx.py --precision fp16
uv run python scripts/quantize.py
uv run python scripts/package_web.py
cd ../web && npm run dev

Open http://localhost:3000/demo and allow the camera.

Layout

Folder
web/ Website and in-browser demo
desktop/ Electron app with the model built in and a virtual microphone for calls
ml/ Model export, quantization, evaluation, test recordings

Model weights, datasets and exports are not committed. The scripts in ml/ download or build them.

AI disclosure

We used Claude (Anthropic) to help write the code, docs and charts in this repo. The lip-reading model is the pretrained Auto-AVSR model, not something Claude made. The accuracy numbers come from our own test recordings.

About

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages