Skip to content
Projets

À propos

Outil de reconnaissance de la parole silencieuse en temps réel.

IA et apprentissage automatique

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
+1
in 7 days
+2
in 15 days
+7
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Chaplin

Chaplin Thumbnail

A visual speech recognition (VSR) tool that reads your lips in real-time and types whatever you silently mouth. Runs fully locally.

Relies on a model trained on the Lip Reading Sentences 3 dataset as part of the Auto-AVSR project.

Watch a demo of Chaplin here.

Setup

  1. Clone the repository, and cd into it:
    git clone https://github.com/amanvirparhar/chaplin
    cd chaplin
    
  2. Run the setup script...
    ./setup.sh
    
    ...which will automatically download the required model files from Hugging Face Hub and place them in the appropriate directories:
    chaplin/
    ├── benchmarks/
        ├── LRS3/
            ├── language_models/
                ├── lm_en_subword/
            ├── models/
                ├── LRS3_V_WER19.1/
    ├── ...
    
  3. Install and run ollama, and pull the qwen3:4b model.
  4. Install uv.

Usage

  1. Run the following command:
    uv run --with-requirements requirements.txt --python 3.12 main.py config_filename=./configs/LRS3_V_WER19.1.ini detector=mediapipe
    
  2. Once the camera feed is displayed, you can start "recording" by pressing the option key (Mac) or the alt key (Windows/Linux), and start mouthing words.
  3. To stop recording, press the option key (Mac) or the alt key (Windows/Linux) again. The raw VSR output will get logged in your terminal, and the LLM-corrected version will be typed at your cursor.
  4. To exit gracefully, focus on the window displaying the camera feed and press q.

Explorer des projets similaires

Chargement…