Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LipVision

AI-Powered Lip Reading & Visual Speech Recognition System

Developed by

Kushal Sarkar πŸŽ“ Diploma in Computer Science & Engineering GitHub: https://github.com/ByteBender9

Transform silent lip movements into readable text using Computer Vision and Artificial Intelligence.

🚧 Currently Under Active Development

Python FastAPI OpenCV Status


πŸ“– Overview

LipVision is an AI-powered visual speech recognition project designed to convert lip movements from video into readable text.

The application processes uploaded videos through a modular computer vision pipeline, preparing the data for deep learning-based lip reading.

The long-term goal is to build a complete end-to-end Visual Speech Recognition (VSR) system capable of generating subtitles from silent videos.


✨ Current Features

Video Processing

  • Upload videos through a FastAPI web interface
  • Automatic video metadata extraction
  • Frame extraction
  • Face detection
  • Face cropping
  • Mouth region extraction

Backend

  • FastAPI backend
  • Modular processing pipeline
  • Organized project architecture

Development

  • Git version control
  • GitHub integration
  • Clean project structure

πŸš€ Planned Features

  • Pretrained AI Lip Reading Model
  • Subtitle (.srt) Generation
  • Video Export with Subtitles
  • Confidence Score
  • Progress Bar
  • Processing History
  • Modern Dashboard
  • Drag & Drop Upload
  • Real-time Processing

πŸ— Project Architecture

                Video Upload
                      β”‚
                      β–Ό
            Video Metadata Extraction
                      β”‚
                      β–Ό
              Frame Extraction
                      β”‚
                      β–Ό
              Face Detection
                      β”‚
                      β–Ό
               Face Cropping
                      β”‚
                      β–Ό
             Mouth Region Crop
                      β”‚
                      β–Ό
          AI Lip Reading Model
                      β”‚
                      β–Ό
             Subtitle Generation
                      β”‚
                      β–Ό
              Download Results

πŸ“‚ Project Structure

LipVision
β”‚
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ static/
β”‚   └── templates/
β”‚
β”œβ”€β”€ preprocessing/
β”‚   β”œβ”€β”€ frame_extractor.py
β”‚   β”œβ”€β”€ face_detector.py
β”‚   β”œβ”€β”€ face_cropper.py
β”‚   └── mouth_cropper.py
β”‚
β”œβ”€β”€ services/
β”‚   └── pipeline.py
β”‚
β”œβ”€β”€ models/
β”‚   β”œβ”€β”€ pretrained/
β”‚   └── inference.py
β”‚
β”œβ”€β”€ uploads/
β”œβ”€β”€ outputs/
β”‚
β”œβ”€β”€ app.py
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ README.md
└── .gitignore

βš™οΈ Installation

Clone the repository

git clone https://github.com/ByteBender9/LipVision.git

Go inside the project

cd LipVision

Create Virtual Environment

python -m venv .venv

Activate Environment

macOS/Linux

source .venv/bin/activate

Windows

.venv\Scripts\activate

Install Dependencies

pip install -r requirements.txt

Run the application

uvicorn app:app --reload

Open

http://127.0.0.1:8000

πŸ›  Technology Stack

Category Technology
Programming Language Python
Backend Framework FastAPI
Computer Vision OpenCV
Version Control Git, GitHub
Development Environment VS Code

πŸ“Œ Development Roadmap

Phase 1 β€” Foundation βœ…

  • FastAPI Setup
  • Video Upload
  • Metadata Extraction
  • Frame Extraction
  • Face Detection
  • Face Cropping
  • Mouth Cropping

Phase 2 β€” Application 🚧

  • Processing Dashboard
  • Better UI
  • Progress Indicator
  • Results Page

Phase 3 β€” AI Integration

  • Pretrained Lip Reading Model
  • Visual Speech Recognition
  • Subtitle Generation

Phase 4 β€” Production

  • Video Export
  • Download Results
  • Performance Optimization
  • Deployment

πŸ“Έ Screenshots

Home Page

Coming Soon

Processing Pipeline

Coming Soon

Results Page

Coming Soon


πŸ“Š Current Progress

Module Status
Upload βœ…
Metadata βœ…
Frame Extraction βœ…
Face Detection βœ…
Face Cropping βœ…
Mouth Cropping βœ…
AI Model 🚧
Subtitle Generation ⏳
Deployment ⏳

🀝 Contributing

Contributions, ideas, and suggestions are welcome.

If you'd like to improve LipVision:

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Open a Pull Request

🚧 Project Status

LipVision is currently under active development.

Features, project structure, and APIs may change as development progresses.


πŸ“¬ Contact

Kushal Sarkar


⭐ Support

If you found this project useful or interesting, consider giving it a ⭐ on GitHub.

It helps support the project and motivates future development.


Built with ❀️ using Python, FastAPI, OpenCV and AI

About

AI-powered lip reading application built with FastAPI, OpenCV, and deep learning for visual speech recognition.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages