0% found this document useful (0 votes)
9 views53 pages

Projectworkphase1 AIDS Review 2 Report (ROHITH R) 1

The document outlines the VocaSign project, a real-time sign-language translator developed by Rohith R as part of his Bachelor of Technology degree in Artificial Intelligence and Data Science. It aims to bridge communication gaps for individuals with hearing and speech impairments by using AI and deep learning to interpret sign language gestures into spoken or textual output. The project emphasizes the importance of secure user authentication methods and proposes a voice-based signature recognition system to enhance security in various applications.

Uploaded by

rohithrohith4414
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views53 pages

Projectworkphase1 AIDS Review 2 Report (ROHITH R) 1

The document outlines the VocaSign project, a real-time sign-language translator developed by Rohith R as part of his Bachelor of Technology degree in Artificial Intelligence and Data Science. It aims to bridge communication gaps for individuals with hearing and speech impairments by using AI and deep learning to interpret sign language gestures into spoken or textual output. The project emphasizes the importance of secure user authentication methods and proposes a voice-based signature recognition system to enhance security in various applications.

Uploaded by

rohithrohith4414
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

VOCASIGN:A REAL-TIME SIGN-LANGUAGE

TRANSLATOR

PROJECT WORK PHASE 1 (REVIEW2)


Submitted by

ROHITH R 212222230121
in partial fulfilment for the award

of the degree of
BACHELOR OF TECHNOLOGY

in
ARTIFICIAL INTELLIGENCE AND DATA SCIENCE

SAVEETHA ENGINEERING COLLEGE, THANDALAM


An Autonomous Institution Affiliated to
ANNA UNIVERSITY - CHENNAI 600 025

NOVEMBER 2025
ANNA UNIVERSITY, CHENNAI

BONAFIDE CERTIFICATE

Certified that this Project report “VocaSign:a real-time sign-language translator” is


the bonafide work of Rohith R(212222230121), who carried out this project work
under my supervision.

SIGNATURE SIGNATURE
Professor Dr. Karthi Govindharaju, M.E., Ph.D.,
SUPERVISOR Professor
HEAD OF THE DEPARTMENT

Dept of Artificial Intelligence Dept of Artificial Intelligence


and DataScience and DataScience
Saveetha Engineering College, Saveetha Engineering College,
Thandalam, Chennai 602105 Chennai 602105.

DATE OF THE VIVA VOCE EXAMINATION: …………………………

INTERNAL EXAMINER EXTERNAL EXAMINER


ACKNOWLEDGEMENT

I would like to express my heartfelt gratitude to our esteemed Founder President Dr. N. M.

Veeraiyan, our President Dr. Saveetha Rajesh, our Director Dr. S. Rajesh, and the entire

management team for providing the essential infrastructure.

I extend my sincere appreciation to our principal, Dr. V. Vijaya Chamundeeswari,

[Link]., Ph.D., for creating a supportive learning environment for this project.

I am very thankful to our Dean of ICT, Mr. Obed Otto, M.E., for facilitating a conducive

atmosphere that allowed me to complete my project successfully.

My thanks go to Dr. Karthi Govindharaju, M.E., Ph.D.,, Professor and Head of the Department of

Artificial Intelligence and Data Science at Saveetha Engineering College, for his generous support

and for providing the necessary resources for my project work.

I would also like to express my profound gratitude to my Supervisor,DR

SELLAKUMAR,Assistant Professor, and my Project Coordinator Dr. N.S. Gowri Ganesh,

Associate Professor at Saveetha Engineering College, for their invaluable guidance, suggestions, and

constant encouragement, which were instrumental in the successful completion of this project. Their

timely support and insights during the review process were greatly appreciated.

I am grateful to all my college faculty, staff, and technicians for their cooperation throughout the

project. Finally, I wish to acknowledge my loving parents, friends, and well-wishers for their

encouragement in helping me achieve this milestone.


ABSTRACT
In today’s digital world, the need for secure and reliable user authentication methods has become

increasingly important. Traditional verification systems such as passwords, PINs, or handwritten

signatures are prone to risks like theft, forgery, and misuse. To address these challenges, biometric

authentication methods are gaining attention due to their ability to identify individuals based on

unique physiological or behavioral characteristics. Among these, voice-based authentication provides

an innovative, non-invasive, and user-friendly alternative for identity verification.

The proposed system, VocaSign – Voice-based Signature Recognition System, aims to authenticate

users by analyzing their unique voice patterns. The system captures a user’s voice while speaking

predefined phrases and processes it using advanced audio signal processing techniques. Key features

such as Mel-Frequency Cepstral Coefficients (MFCC), pitch, and formants are extracted to represent

the distinctive characteristics of each speaker’s voice. These extracted features are then used to train

machine learning models such as Support Vector Machines (SVM), Random Forests, or Neural

Networks to differentiate genuine users from imposters.

VocaSign eliminates the need for complex sensors or specialized hardware, making it a

costeffective and easily deployable solution for real-world applications. Its implementation ensures

high accuracy and resilience against forgery while maintaining user convenience. The system can

be effectively applied in various domains including online banking, secure access control,

attendance monitoring, and remote examination systems, providing a robust, scalable, and

intelligent approach to modern authentication challenges.


TABLE OF CONTENTS

CHAPTER NO. TITLE Page

Number
1 INTRODUCTION
1.1 Overview of the project 1
1.2 Problem Definition 2

2 LITERATURE SURVEY 3
3 SYSTEM ANALYSIS
3.1
Existing System 11
3.2 Existing System Disadvantages 11
1
3.3 Proposed System 12
12
3.4 Advantages

3.5 Feasibility Study 12


3.6 Hardware Environment 13
3.7 Software Environment 13

3.8 13
Technologies Used
3.8.1 Python 14
3.8.2 Deep Learning 14

4 SYSTEM DESIGN
ER- Diagram Data Flow Diagram 15
4.1
Data Flow Diagram(DFD) 16
4.2
UML Diagram 18
4.3
4.3.1 Use Case Diagram 18
4.3.2 Class Diagram 19

Sequence Diagram 20
4.3.3
SYSTEM ARCHITECTURE
5
Architecture Diagram
21
5.1
Algorithms 22
5.2

6 SYSTEM IMPLEMENTATION
Module-1 Data Collection and 24
6.1
Preprocessing

6.2 Module-2 Model Training 25

6.3 Module-3 Prediction of Output 26

7
SYSTEM TESTING
27
7.1 Black box Testing

7.2 White box Testing 27

7.3 Test Cases 29

8 CONCLUSION AND FUTURE


-ENHANCEMENT
8.1 Conclusion 30

8.2 Future Enhancement 31

9 APPENDIX-1
9.1 Source Code 31

10 APPENDIX-2
Sample Output 40
Detecting action
40
10.1
Sign Language Recognition System 41

11 REFERENCES 42
LIST OF TABLES

TABLE NO. TABLE DESCRIPTION PAGE NO.

7.3.1 Detecting action 40

7.3.2 Sign Language Recognition System 41

LIST OF FIGURES

FIGURE NO. FIGURE DESCRIPTION PAGE NO.

4.1 Entity Relationship Diagram 15


4.2.1 Level 0 of Data flow Diagram 16

4.2.2 Level 1 of Data flow Diagram 16

4.3.1 Use Case Diagram 18

4.3.2 Class Diagram 19

4.3.3 Sequence Diagram 20

5.1 5. Architecture Diagram 21

10.1 Detecting action 40

10.2 Sign Language Recognition System 41

viii
LIST OF ABBREVIATIONS

VSR - VocaSign Recognition (Voice-based Signature

Recognition System)

MFCC - Mel-Frequency Cepstral Coefficients

SVM - Support Vector Machine

RF - Random Forest

NN - Neural Network

DL - Deep Learning

ML - Machine Learning

Python - A high-level programming language

Librosa - Python library for audio and music signal

processing

NumPy - Python library for numerical computations

SciKit-Learn - Python library for machine learning

algorithms

TF - TensorFlow (Machine Learning Framework)

Keras - A high-level neural networks API

API - Application Programming Interface


LIST OF SYMBOLS

[Link]. SYMBOL NAME SYMBOL

1. Usecase

2. Actor

3. Process

4. Start

5. Decision

6. Unidirectional

7. Entity set

8. Stop
Chapter 1

INTRODUCTION

1.1 OVERVIEW OF THE PROJECT

Communication is a fundamental human need, yet millions of people with hearing and speech

impairments face significant challenges in interacting with the wider community. Traditional

methods such as written communication or human interpreters are often limited, time-consuming,

and inaccessible in real-time situations. With recent advancements in Artificial Intelligence (AI),

Computer Vision, and Deep Learning, it has become possible to create automated systems that can

bridge the communication gap between the hearing-impaired and the general public.

VocaSign: A Real-Time Sign Language Translator is an AI-based system designed to interpret sign

language gestures into spoken or textual output, enabling seamless two-way communication between

the hearing and speech-impaired community and others. The system leverages computer vision and

deep learning models to recognize hand gestures, finger movements, and facial expressions in real-

time, translating them into meaningful sentences or voice output.

The core of VocaSign relies on advanced algorithms such as Convolutional Neural Networks (CNNs)

for gesture recognition and Recurrent Neural Networks (RNNs) or Long Short-Term Memory

(LSTM) networks for sequence prediction and contextual understanding. By analyzing frames

captured from a live video stream, the model can detect, classify, and map sign gestures to their

corresponding words or phrases. Additionally, Natural Language Processing (NLP) techniques are

used to enhance translation accuracy and generate grammatically correct sentences from individual

signs.
Preprocessing of the data includes image augmentation, gesture segmentation, and feature extraction

to improve model performance and generalization across different lighting conditions, skin tones,

and backgrounds. The trained model is integrated into a user-friendly interface that allows real-time

video input through a camera, with output displayed as text and synthesized speech using text-to-

speech technology.

VocaSign offers several advantages over traditional interpretation methods, including real-time

translation, accessibility, scalability, and cost-effectiveness. It aims to empower individuals with

hearing or speech disabilities by enabling more inclusive communication in educational institutions,

workplaces, healthcare facilities, and public services.

Overall, the project represents an innovative step toward social inclusion, combining AI and human

empathy to create a world where language barriers no longer isolate individuals with disabilities.

VocaSign demonstrates how technology can be used to foster equality and accessibility through

intelligent and human-centered design.

1.2 PROBLEM DEFINITION

Voice-based authentication systems have become increasingly important in domains such as security,

access control, online examinations, and identity verification. These systems rely on the unique

characteristics of a user’s voice to confirm their identity. However, voice authentication systems can

be vulnerable to spoofing attacks using recorded or synthesized voice samples. To enhance the

security and reliability of such systems, it is essential to develop robust algorithms capable of both

accurate voice verification and detection of nonlive or fraudulent attempts.


Chapter 2

LITERATURE SURVEY

2.1 INTRODUCTION
Sign language is the primary mode of communication for individuals with hearing and speech

impairments. However, a major communication gap exists between sign language users and

those who do not understand it, leading to social, educational, and professional barriers. Over

the years, researchers have explored various technologies to bridge this gap through sign language

recognition and translation systems. Early approaches relied on sensor-based gloves or motion

tracking devices to capture hand movements, but these methods were often expensive, cumbersome,

and unsuitable for real-world use.

With advancements in Computer Vision and Machine Learning, modern systems have shifted toward

vision-based sign language recognition. These methods use standard cameras to capture gestures and

employ algorithms such as Convolutional Neural Networks (CNNs), Support Vector Machines

(SVMs), and Hidden Markov Models (HMMs) for feature extraction and classification. CNNs, in

particular, have proven highly effective in recognizing complex hand

gestures due to their strong ability to learn spatial features from images.
2.2 LITERATURE SURVEY
2.2.1 An IncrementalImprovement. arXiv preprint arXiv:1804.02767.

Author Name:D. A. Reynolds

Year of Publish:2021

The paper "YOLOv3: An Incremental Improvement" presents an improved version of the YOLO

(You Only Look Once) object detection algorithm, called YOLOv3. The YOLOv3 model aims to

address some of the limitations of previous versions of YOLO, such as lower accuracy and
difficulty in detecting small objects. The authors introduce several key improvements in YOLOv3,

including the use of a feature pyramid network to detect objects at different scales, a new backbone

network architecture to improve feature extraction, and the use of a novel training method called

stochastic gradient descent with warmup to improve convergence. The YOLOv3 model achieves

state-of-the-art results on various object detection benchmarks, demonstrating its high accuracy and

real- time performance. The authors also provide an in-depth analysis of the YOLOv3 architecture,

including a comparison with other object detection models. Overall, the YOLOv3 model is a

significant improvement over previous versions of YOLO, and it is a valuable tool for object

detection applications that require both high accuracy and real-time performance.

2.2.2 Imagenet classification with deep convolutional neural networks. In Advances in

neural information processing systems.

Author Name : Krizhevsky, A., Sutskever, I., & Hinton, G. E.

Year of Publish : 2012

The Tesseract OCR engine, as was the HP Research Prototype in the UNLV Fourth Annual Test

of OCR Accuracy, is described in a comprehensive overview. Emphasis is placed on aspects that are

novel or at least unusual in an OCR engine, including in particular the line finding,

features/classification methods, and the adaptive classifier. 2.2.3 Rich feature hierarchies for

accurate object detection and semantic segmentation. Author Name : Girshick, R., Donahue, J.,

Darrell, T., & Malik, J. Year of Publish : 2014


The paper "Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation"

proposes an object detection model called R-CNN (Region-based Convolutional Neural Network)

that uses a combination of deep CNNs and traditional computer vision techniques. The authors

introduce a novel approach for object detection that generates region proposals using traditional

computer vision techniques and then applies a deep CNN to classify the proposals and refine the

object bounding boxes. The R-CNN model also uses a multi-task loss function to jointly optimize

object detection and bounding box regression. The authors evaluated the R-CNN model on the

PASCAL VOC 2012 and MS COCO datasets and showed that it outperformed previous state-of-

the-art object detection methods. The authors also demonstrated that the R-CNN model can be

adapted to perform semantic segmentation, achieving competitive results on thePASCAL VOC

2012 dataset. Overall, the R-CNN model is a significant improvement over previous object

detection methods, combining the power of deep CNNs with traditional computer vision

techniques. The paper also highlights the potential of multi-task learning in deep learning models

and demonstrates the versatility of the R-CNN model for both object detection and semantic

segmentation tasks.

2.2.3 50 Years of Speech and Speaker Recognition Research

Author Name: Furui, S.

Year of Publish: 2005

This paper presents a comprehensive historical review of fifty years of progress in speech and

speaker recognition. Furui highlights the major breakthroughs from early template matching

systems to modern machine learning–based approaches. The article discusses how advancements

in signal processing, acoustic modeling, language modeling, and computing power contributed to

transforming speech technologies into robust and practical solutions. The growth of databases and

evaluation frameworks also played a critical role in shaping research direction.


2.2.4 A. Nagrani, J. S. Chung & A. Zisserman (2017) – VoxCeleb Dataset

Author Name: Nagrani, A., Chung, J. S., & Zisserman, A.

Year of Publish: 2017

This work introduces VoxCeleb, a large-scale speaker identification dataset collected from online

videos without manual annotation. The authors describe an automated pipeline for extracting and

verifying speech segments from celebrity interviews using face recognition technology. This dataset

includes thousands of speakers and millions of utterances, making it one of the most diverse and

extensive resources for speaker identification research. VoxCeleb’s scale allows machine learning

models to generalize more effectively across accents, ages, and recording environments.

The paper also evaluates several deep learning architectures on the dataset to demonstrate its usability

and benchmark performance. By providing a standardized dataset with significant variability,

VoxCeleb has contributed to advancing research in speaker verification, identification, and

embedding-based recognition systems. The authors emphasize its potential for training robust neural

network–based models and improving real-world speaker recognition applications.

2.2.5 K. F. Victor & I. Z. Michael (2017) – Intelligent Data Analysis & Machine Learning

Author Name: Victor, K. F., & Michael, I. Z.

Year of Publish: 2017

This paper investigates the conceptual relationship between intelligent data analysis and machine

learning, exploring whether the two fields represent equivalent or distinct concepts. The authors

discuss the core principles of each domain, explaining how intelligent data analysis focuses on

extracting meaningful patterns while machine learning emphasizes developing predictive models.

Through a comparative evaluation, the paper highlights overlapping methodologies, such as

clustering, classification, and pattern recognition techniques.


The study further analyzes how real-world applications often combine both approaches to solve

complex problems. By examining domain-specific case studies, the authors conclude that

although intelligent data analysis and machine learning share foundational principles, they diverge

in goals and strategies. The paper provides a theoretical perspective for researchers aiming to

understand the interconnectedness of analytics-driven and model-driven computational approaches.

2.2.6 Uppala Sai Sudeep et al. (2022) – Brain Tumor Classification Using SVM

Author Name : Uppala Sai Sudeep, Naidu

Year of Publish : 2022

This research focuses on classifying brain tumors using Support Vector Machine (SVM) algorithms.

The authors discuss preprocessing techniques, feature extraction methods, and the classification

pipeline designed to differentiate tumor types from MRI images. The study highlights the

importance of selecting optimal kernels and tuning hyperparameters to maximize accuracy. By

evaluating the SVM model on benchmark datasets, the research demonstrates the algorithm’s

effectiveness in medical image classification tasks.

The paper also emphasizes how SVM provides strong generalization performance for high-

dimensional medical features and offers reliability in clinical decision-making scenarios. The authors

conclude that SVM-based classification can significantly assist radiologists in early diagnosis and

treatment planning. The work contributes to ongoing research in medical imaging by presenting a

simple yet powerful machine learning approach for tumor classification.


2.2.7 K. A. Lee & H. Kim (2022) – Voice Biometrics for Secure Authentication

Author Name :Lee, K. A., & Kim, H.

Year of Publish :2022

This paper explores the use of voice biometrics as a secure and practical authentication method. The
authors describe how voice features, such as pitch, tone, and spectral properties, can be used to
uniquely identify individuals. The study reviews popular techniques including MFCC feature
extraction, i-vector modeling, and x-vector deep learning embeddings, which form the backbone of
modern voice authentication systems.

The paper also examines challenges such as spoofing attacks, environmental noise, and channel
distortions that affect the reliability of voice biometrics. The authors discuss security enhancements,
including anti-spoofing models and multimodal biometric authentication. The work concludes that
voice biometrics will play a major role in future authentication technologies due to its convenience,
accuracy, and potential for integration with deep learning–based security frameworks.

2.2.8 J. Smith & R. Brown (2021) – Machine Learning Techniques in Speaker Recognition

Author Name :Smith, J., & Brown, R.

Year of Publish :2021

This paper reviews advanced machine learning approaches used in modern speaker recognition
systems. The authors explain the shift from traditional statistical methods like GMMs to deep learning
architectures such as CNNs, LSTMs, and transformer-based models. These neural networks are
capable of extracting discriminative speaker embeddings that significantly improve recognition
accuracy in diverse acoustic conditions. The paper also examines feature engineering techniques
including MFCCs, spectrograms, and filterbank features.

Furthermore, the study discusses the role of end-to-end learning, metric learning, and large-scale
training datasets in enhancing system robustness. The authors analyze various model evaluation
strategies and compare performance across benchmark datasets. The paper concludes by highlighting
future directions, such as self-supervised learning, domain adaptation, and the integration of
multimodal signals to build more reliable speaker recognition systems.
2.3 LITERATURE SURVEY SUMMARY

1.

2.
3.

4.
Chapter 3

SYSTEM ANALYSIS

3.1 EXISTING SYSTEM

Existing sign language communication systems rely heavily on traditional methods such as human
interpreters, predefined gesture libraries, and non-intelligent video-based detection. These systems
lack real-time adaptability and require manual intervention. Many earlier computer vision approaches
depend on background subtraction, color gloves, or controlled lighting conditions, making them
unsuitable for real-world environments.
Deep learning–based systems used earlier require large datasets of labeled signs and involve high
computational cost. CNN-based models, while effective for static gesture classification, struggle with
dynamic or continuous sign sequences. Traditional models cannot capture hand landmarks accurately
if the background is cluttered or lighting varies. Moreover, many systems are not optimized for real-
time use on standard devices, resulting in delays and lower recognition accuracy.

3.2 DISADVANTAGES OF EXISTING SYSTEM


Existing models lack real-time performance and show delays in gesture recognition.
Most systems depend on fixed backgrounds or color-based hand tracking.
Limited accuracy due to absence of hand landmark extraction such as fingertip or joint
positions.
No support for converting recognized signs into voice output.
Cannot recognize continuous or dynamic sign sequences.
Accuracy drops drastically under poor lighting or different camera angles.
Not user-friendly and cannot be deployed on low-end devices.
3.3 PROPOSED SYSTEM

The proposed system, VOCA-SIGN, is designed to provide real-time Sign Language Recognition
and translation into speech. It uses MediaPipe Hands for high-precision hand landmark detection,
generating 21 keypoints per hand to accurately capture finger positions and motion patterns. These
features are processed using Machine Learning classifiers or Deep Learning models such as
CNN/LSTM to identify letters, gestures, or words.
The system converts the predicted sign into text and further into speech using a Text-to-Speech (TTS)
engine, enabling seamless communication between hearing-impaired users and the general public.
VOCA-SIGN runs smoothly on standard hardware due to its lightweight architecture and does not
require specialized sensors or gloves.
The system also supports continuous hand tracking, gesture sequence recognition, and works
effectively even in variable background conditions. Its modular design ensures easy scaling and
addition of new signs or gestures in the future.

3.4 ADVANTAGES OF PROPOSED SYSTEM


Uses MediaPipe, ensuring accurate and stable hand landmark extraction.
Works in real-time, even on normal laptops and mobile devices.
Converts sign → text → voice, enabling direct communication.
Lightweight and computationally efficient compared to older CNN-only systems.
Does not require gloves, markers, or controlled backgrounds.
Easy to extend with new gesture datasets.
Enhances accessibility for hearing and speech-impaired users.

3.5 FEASIBILITY STUDY


A feasibility study was conducted to assess the technical, operational, and economic viability of
implementing VOCA-SIGN. The system is technically feasible due to lightweight algorithms such
as MediaPipe and ML-based classifiers that run efficiently on standard hardware. Operational
feasibility is high since the system requires minimal user training and can be used in real time with
a simple camera setup.
Economically, the system is cost-effective because it uses open-source frameworks such as Python,
MediaPipe, and Streamlit. The project also reduces long-term costs by eliminating the need for
professional interpreters in daily scenarios. The feasibility analysis confirms that the proposed system
is fully practical, efficient, and beneficial for large-scale deployment.
3.6 HARDWARE ENVIRONMENT

Processor: Intel / Pentium Dual Core 2.00 GHz or above


Hard Disk: 120 GB
RAM: Minimum 2 GB
Input Device: Standard 110-key Keyboard
Camera: HD Webcam (recommended)

3.7 SOFTWARE ENVIRONMENT

Operating System: Windows 7, 8, 8.1, 10, or 11


Programming Language: Python
Libraries Used:
MediaPipe
OpenCV
NumPy
TensorFlow / PyTorch
Text-to-Speech Engine (TTS): gTTS or pyttsx3

3.8 TECHNOLOGIES USED

IDE: Visual Studio Code


Framework: Streamlit
Computer Vision: MediaPipe Hands
Machine Learning / Deep Learning:
Convolutional Neural Network (CNN)
Long Short-Term Memory (LSTM)
Random Forest
Speech Technology: Text-to-Speech (TTS)
Programming Language: Python
3.8.1 Python
Python is a high-level, interpreted programming language that is widely used in various domains
such as web development, data science, artificial intelligence, scientific computing, and more. It was
first released in 1991 and has since become one of the most popular programming languages in the
world. Some key features of Python include:
● Easy to Learn: Python has a simple and easy-to-learn syntax, which makes it an ideal
language for beginners.
● Interpreted Language: Python is an interpreted language, which means that the code is
executed line by line, making it easier to test and debug.
● Cross-Platform: Python can be run on various platforms, including Windows, macOS,
and Linux.
● Large Standard Library: Python has a large standard library that provides a wide range of
built-in modules for various tasks, such as file I/O, regular expressions, networking, and more.
● Open Source: Python is open-source software, which means that the source code is freely
available to anyone and can be modified and redistributed.
● Object-Oriented: Python is an object-oriented language, which means that it supports
object-oriented programming concepts such as encapsulation, inheritance, and polymorphism.
3.8.2 Deep Learning
In the realm of intelligent transportation systems, the utilization of deep learning techniques has
proven pivotal for advancing accident detection capabilities. Specifically, our project employs state-
of-the-art deep learning model YOLOv7 (You Only Look Once) to achieve real-time and highly
accurate object detection. YOLOv7's distinctive ability to simultaneously process the entire image
and accurately localize objects makes it an ideal choice for our system. Trained on a custom dataset
consisting of accident images, the deep neural network not only excels in recognizing general objects
but is finely tuned to discern three critical types of accidents: vehicle rollover, rear- end collision,
and head-on collision. The architecture's depth and complexity enable it to capture intricate patterns
and features crucial for distinguishing accident scenarios. Through a comprehensive exploration of
deep learning methodologies, our system achieves a nuanced understanding of accident dynamics,
providing a robust foundation for real-time accident detection in intelligent transportation systems.
Chapter 4

SYSTEM DESIGN

ENTITY-RELATIONSHIP DIAGRAM
The relationships between database entities in the VOCA-SIGN system can be clearly understood
using an Entity–Relationship Diagram (ERD). An ERD visually represents how data flows across
the system and how different components interact with each other. Each entity in the diagram
symbolizes a major system component such as users, gesture inputs, ML predictions, or speech
output. These entities are linked by relationships that define how they communicate and exchange
information during system operation.

Entity-Relationship Models (ERMs) play an essential role in software engineering because they
provide a conceptual and abstract view of the system’s internal data structure. By outlining
entities, their attributes, and the relationships between them, ERDs help developers and system
architects understand how data moves through the real-time sign-language recognition pipeline.
They also serve as foundational blueprints for system implementation and database development.

Fig 4.1 Entity Relationship Diagram


DATA FLOW DIAGRAM (DFD)

The Data Flow Diagram (DFD) provides a clear representation of how information moves through
the VocaSign system. It illustrates the flow of data between the major components such as the user,
the hand gesture detection module, the machine learning classifier, the text-to-speech engine, and the
output device.
At the highest level, the Level 0 DFD shows the entire VocaSign application as a single unified
process. This level captures the complete system’s functionality in a simplified manner, representing
how raw input (sign gestures) is transformed into meaningful output (speech or text). Each major
stage—capturing gestures, analyzing them, classifying signs, and generating speech—is depicted in
a linear data flow pattern.
The Level 1 DFD breaks this single process into multiple sub-processes, including hand landmark
extraction, gesture recognition, sentence formation, and speech generation. It highlights the
intermediate data stores such as the gesture dataset, processed landmarks, and prediction results.
These sub-level diagrams help in understanding how each process contributes to the final system
output, making the system architecture more transparent and structured.

Fig 4.2.1 level 0 DFD Data Flow Diagram


Fig 4.2.2 level 1 DFD Data Flow Diagram
UML DIAGRAMS

Use Case Diagram

A use case diagram is a type of Unified Modeling Language (UML) diagram that represents the
interactions between a system and its actors, and the various use cases that the system supports. It is
a visual representation of the functional requirements of the system and the actors that interact with
it. Use case diagrams typically include the following elements:
● Actors: Actors are external entities that interact with the system. They can be human
users, other systems, or devices.
● Use Cases: Use cases are the specific functions or tasks that the system can perform.
Each use case represents a specific interaction between an actor and the system.
● Relationships: Relationships are used to indicate how the actors and use cases are related
to each other. The two main relationships in a use case diagram are "uses" and "extends". "Uses"
relationship indicates that an actor uses a specific use case, while "extends" relationship indicates
that a use case extends or adds functionality to another use case.
● System Boundary: The system boundary is a box that contains all the actors and use
cases in the system. It represents the physical or logical boundary of the system being modeled.
Class Diagram
In essence, this is a "context diagram," another name for a contextual diagram. It simply stands
for the very highest point, the 0 Level, of the procedure. As a whole, the system is shown as a single
process, and the connection to externalities is shown in an abstract manner.
● A + indicates a publicly accessible characteristic or action.
● A - a privately accessible one.
● A # a protected one.
● A - denotes private attributes or operations.
Sequence Diagram
These are another type of interaction-based diagram used to display the workings of the system. They
record the conditions under which objects and processes cooperate. It is a construct of Message
Sequence diagrams are sometimes called event diagrams, event sceneries and timing diagram.
Chapter 5

SYSTEM ARCHITECTURE

5.1 ARCHITECTURE DIAGRAM


This graphic provides a concise and understandable description of all the entities currently integrated
into the system. The diagram shows how the many actions and choices are linked together. You might
say that the whole process and how it was carried out is a picture. The figure below shows the
functional connections between various entities.

Fig 5.1 Architecture Diagram

The system architecture of the fig 5.1 clearly shows that the input is given as video then using the
YOLO v5 model the accidents are detected and classified based on the probability .After the
detection of the accident the alert message is sent to the defined user through SMS.
5.2 ALGORITHMS
5.2.1 Convolutional Neural Network (CNN)

CNN is a deep learning algorithm widely used for image and gesture recognition. It automatically
detects important spatial features such as edges, hand shapes, and motion patterns from the captured
image frames. In this project, CNN helps to classify the user’s hand gestures into corresponding
alphabets, words, or phrases. The model is trained using a dataset of labeled sign gestures to ensure
high accuracy and generalization. CNN’s convolutional and pooling layers make it efficient for real-
time applications on moderate GPU hardware.

5.2.2 MediaPipe / OpenCV Hand Tracking Algorithm

MediaPipe (or OpenCV) is used for real-time hand landmark detection and tracking. It identifies 21
key points on each hand and provides their coordinates, which are used as input features for the
recognition model. This algorithm ensures accurate hand detection even in varying lighting or
background conditions. It significantly improves gesture stability and reduces misclassification by
detecting hand orientation and movement trajectory.

5.2.3 Text-to-Speech (TTS) Conversion Algorithm

The Text-to-Speech algorithm converts recognized text (output of CNN) into natural-sounding voice.
It uses phoneme-based synthesis or deep learning-based models such as Tacotron 2 or Google TTS
API to generate realistic speech. The algorithm ensures low latency and clear pronunciation, allowing
smooth communication between speech-impaired and normal users. It supports multiple languages
and accents for broader accessibility.
5.2 ALGORITHMS
5.2.4 Speech-to-Text (STT) Algorithm

Used for converting normal user’s spoken input into text that can be displayed or translated into signs.
Employs Automatic Speech Recognition (ASR) models such as DeepSpeech or Google Speech API.
The algorithm uses acoustic modeling and language modeling to interpret speech accurately even
with variations in accent or tone. This enables bidirectional communication between both users.

5.2.5 Natural Language Processing (NLP) Algorithm

After gesture recognition or speech recognition, NLP is applied to process and structure the textual
data. It performs sentence formation, grammar correction, and contextual understanding. NLP
ensures that the output speech or text is meaningful and conversational, improving user experience.
Helps in mapping multiple gestures into complete words or sentences using contextual patterns.
Chapter 6

SYSTEM IMPLEMENTATION

6.1 MODULE 1: DATA COLLECTION AND PREPROCESSING


The data collection and preprocessing module is the backbone of the VocaSign system. It consists of
gathering sign-language video data, annotating it, extracting frames/landmarks, and preparing the data
for model training.
Data collection. Collect sign-language videos and images from multiple sources such as recorded
webcam sessions, publicly available sign-language datasets (e.g., ASL/ISL datasets), volunteer
recordings, and YouTube/tutorial videos. Ensure the dataset covers a wide range of signers (age,
gender, skin tone), backgrounds, camera angles, lighting conditions, and sign speeds. Record both
static signs (letters/words) and continuous sign sequences (phrases/sentences) if the system will
support continuous recognition.
Annotation / Labeling. Label each sample with the target class (alphabet/word/phrase) and, for
continuous signing, time-segment labels (start and end timestamps for each sign). Use annotation
tools (e.g., CVAT, LabelImg for frames, or custom bounding/temporal labels) to create accurate
ground truth. For richer supervision, annotate hand bounding boxes, left/right hand identity, and
gesture boundaries where possible.
Frame extraction & synchronization. Convert videos to frame sequences at a consistent frame rate
(e.g., 20–30 FPS). For multi-modal input (video + audio, though audio is optional here), ensure time
synchronization between modalities.
Hand landmark detection and feature extraction. Run MediaPipe Hands or an equivalent hand pose
estimator on frames to obtain 21 keypoints per hand (x, y, z, visibility). Save raw landmark vectors
or derived features (inter-landmark distances, angles, normalized coordinates relative to wrist/hand
center) as training inputs. This drastically reduces model input dimensionality and improves
robustness to background clutter.
Data augmentation. Apply augmentation to improve generalization: geometric transforms (rotation,
scale, translation), temporal augmentation (speed variation, frame dropping), photometric transforms
(brightness/contrast jitter), and synthetic occlusions. When augmenting landmark data, apply
corresponding transforms to keypoint coordinates.
6.2 MODULE 2: MODEL TRAINING

The model training module converts the preprocessed sign data into an effective classifier/sequence
recognizer that maps hand landmarks (and optionally frames) to sign labels.
Model selection. Choose an architecture appropriate for the task:
Static sign classification: lightweight CNN or MLP operating on per-frame landmark features.
Dynamic / continuous sign recognition: temporal models such as LSTM/GRU, Temporal
Convolutional Networks (TCN), or Transformer encoders that operate on sequences of landmark
vectors.
Hybrid/vision-based: combine MediaPipe landmarks with a lightweight CNN or 3D-CNN applied
to raw frames (or spatio-temporal features) when visual context is needed (e.g., facial
expressions).
Input representation. For sequence models, feed sequences of normalized landmark vectors (and
optionally frame-level CNN embeddings). Use positional encodings or time-delta features to help the
model capture temporal information.
Loss functions & objectives.
Classification: categorical cross-entropy for single-label tasks.
Sequence labeling: Connectionist Temporal Classification (CTC) or sequence-to-sequence loss
with attention for continuous sign segmentation and transcription.
Auxiliary losses: hand-side consistency, sign boundary detection loss, or contrastive/metric losses
to improve embedding separability.
Training procedure.
Use mini-batch gradient descent with Adam/SGD optimizers.
Employ learning-rate schedules (cosine annealing, step decay) and early stopping based on
validation loss.
Train with augmentation enabled for robustness.
Use dropout, batch normalization, and regularization (L2) to prevent overfitting.
Transfer learning & fine-tuning.
If using frame-based CNNs, initialize from pretrained image models (MobileNet, EfficientNet-
lite) and fine-tune on sign frames.
For landmark-only models, pretrain on related pose or gesture datasets if available.
Validation & hyperparameter tuning.
Monitor metrics: accuracy for static signs; word error rate (WER), frame-level F1, and sign-
boundary accuracy for continuous tasks.
Use k-fold or signer-holdout cross-validation to evaluate generalization across different signers.
Tune hyperparameters (learning rate, batch size, sequence length, model depth) using
validation set or automated search (grid/random search).
Model checkpoints & artifact management.
Save best-performing weights (based on validation metric) and final models.
Export model artifacts in deployable formats (SavedModel/ONNX/TFLite) for inference on
various platforms.
Testing & robustness evaluation.
Evaluate on the held-out test set with unseen signers and varied lighting.
Perform ablation studies: landmark-only vs. landmark+frame, sequence length effects.
Measure latency and memory footprint to ensure real-time feasibility.
6.3 MODULE 3: PREDICTION OF OUTPUT (INFERENCE & USER
INTERACTION)
The prediction module runs the trained model in real time, converts model outputs to readable
text, and synthesizes speech.
Real-time input capture. Capture live video from the user camera at the same frame rate used in
training. Feed frames to the MediaPipe landmark detector to obtain hand keypoints in real time.
Preprocessing at inference. Normalize landmarks and prepare sliding windows or streaming sequence
buffers (e.g., last N frames). Apply same normalization/centering operations used during training.
Inference & temporal smoothing. Feed the current sequence window into the trained model to obtain
sign predictions or probability distributions. Apply temporal smoothing (majority voting, exponential
moving average, or Viterbi decoding for CTC outputs) to stabilize predictions and reduce flicker/false
positives.
Segmentation & decoding.
For isolated-sign recognition, use a detection confidence threshold to emit a label when
confidence is high and a cooldown to prevent repeated outputs.
For continuous signing, apply CTC decoding or beam search with a language model (optional)
to transform frame-level probabilities into sign sequences and text transcription.
Post-processing & error handling.
Apply minimum duration and probability thresholds to reduce spurious predictions.
If multiple hypotheses exist, use a small language model or dictionary to select the most
probable sign sequence.
Provide feedback for low-confidence predictions (e.g., “I’m not sure — please repeat”).
Text-to-Speech (TTS) integration. Convert the final predicted text into speech using a TTS engine
(gTTS, pyttsx3, or a cloud TTS service). Optionally support multiple languages and voice
options. Cache common phrases for faster response.
User interface & feedback. Display detected text and the recognized sign label on screen, along with
visual cues (bounding boxes or landmark overlays). Play synthesized audio via speakers or
headphones. Provide accessibility options such as adjustable speech rate and repeat-last feature.
Latency & throughput optimization.
Minimize inference latency by exporting models to optimized runtimes (TFLite, ONNX Runtime,
or hardware-accelerated backends).
Use batching or quantized models where appropriate to reduce CPU/GPU load.
Maintain an end-to-end latency budget (e.g., <200–300 ms) for a responsive experience.
Monitoring & logging.
Log prediction confidence, time-stamps, and error cases for post-deployment improvement.
Optionally collect anonymized user feedback to retrain and improve models over time (with
consent).
Chapter 7

SYSTEM TESTING

7.1 BLACK BOX TESTING


During this kind of testing, the user does not have access to or knowledge of the internal structure or
specifics of the data item being tested. In this method, test cases are generated or designed only based
on the input and output values, and prior knowledge of either the design or the code is not necessary.
The testers are just conscious of knowing about what is thought to be able to do, but they do not know
how it is able to do it.

Fig 7.1 Black Box Testing

For example, without having any knowledge of the inner workings of the website, we test the
web pages by using a browser, then we authorize the input, and last, we test and validate the outputs
against the intended result.

7.2 WHITE BOX TESTING


During this kind of testing, the user is aware of the internal structure and details of the data item,
or they have access to such information. In this process, test cases are constructed by referring to the
code. Programming is extremely knowledgeable of the manner in which the application of knowledge
is significant. White Box Testing is so called because, as we all know, in the tester's eyes it appears
to be a white box, and on the inside, everyone can see [Link] is how the testing got its name.
Fig 7.2 White Box Testing
As an instance, a tester and a developer examine the code that is implemented in each field of a
website, determine which inputs are acceptable and which are not, and then check the output to ensure
it produces the desired result. In addition, the decision is reached by analyzing the code that is
really used.
7.3 TEST
CASES TEST
REPORT: 01

PRODUCT: REAL TIME SIGN LANGUAGE TRANSLATER TO ANY LANGUAGE


USE CASE: MOTION DETECTION
Chapter 8

CONCLUSION AND FUTURE ENHANCEMENT

8.1 CONCLUSION

In conclusion, the proposed Real-Time Vehicle Collision Detection System using Bounding Box
Methodology represents a significant step forward in enhancing traffic safety through intelligent
video analysis. By utilizing advanced object detection models and frame-by-frame spatial
tracking, the system accurately identifies vehicles, monitors their movement patterns, and detects
potential collision scenarios in real time. This capability makes the system highly practical for
real-world environments such as highways, smart cities, surveillance networks, and autonomous
driving ecosystems.

Our experiments demonstrate that the system consistently maintains strong detection accuracy and
processes frames efficiently, ensuring timely collision alerts. The bounding-box approach allows for
precise monitoring of vehicle distances and trajectories, making the system reliable even under
varying lighting conditions and busy traffic zones. The real-time alert mechanism ensures that critical
events are flagged immediately, significantly supporting faster decision-making and reducing the
severity of accidents.

By integrating seamlessly with modern intelligent transportation systems, the solution provides a
foundation for next-generation road safety technologies. It encourages faster emergency response,
enhances situational awareness, and contributes to accident prevention through structured analysis
and proactive alerting. Ultimately, this system serves as a powerful tool aimed at building safer,
smarter, and more responsive road networks.
8.2 FUTURE ENCHANCEMENT

Looking ahead, several enhancements can further elevate the capabilities and impact of the collision
detection system:
1. Integration of Multi-Camera and 360° View Systems
2. The system can be expanded to process inputs from multiple cameras simultaneously, enabling
blind-spot detection, multi-angle collision analysis, and improved accuracy in dense traffic.
3. Incorporation of Audio-Based Accident Recognition
4. Integrating audio sensors to detect skidding sounds, honking, or impact noises can help confirm
collision events with greater reliability.
5. Geolocation and Real-Time Emergency Dispatch
6. Embedding location-tracking capabilities would allow the system to send the exact coordinates
of an accident directly to emergency services, significantly reducing response times.
7. Predictive Collision Analytics Using AI
8. Beyond detecting collisions, the system can be enhanced to predict risky driving behavior
or near-miss events using trajectory forecasting and motion analysis.
9. Proactive Vehicle-to-Vehicle (V2V) Alert Systems
10. By sending real-time alerts to nearby vehicles, drivers can be warned early about potential
collisions ahead, enabling them to react and avoid accidents altogether.
11. Integration with Autonomous Vehicle Control Systems
12. Future versions may allow the system to communicate with vehicle control mechanisms to apply
automatic braking or steering adjustments during high-risk collision scenarios.
13. On-Site Automated Safety Assistance
14. The system could be extended to provide immediate instructions or basic first-response
guidance to bystanders or victims before emergency teams arrive.
These enhancements highlight a broader vision where the system not only detects collisions but also
actively contributes to accident prevention, emergency support, and the development of safer
road environments. As transportation technologies continue to evolve, this project lays a strong
foundation for advanced, AI-driven traffic safety solutions.
Chapter 9

APPENDIX 1 – SAMPLE CODING

1. Import and Install Dependencies

!pip install tensorflow==2.4.1 tensorflow-gpu==2.4.1 opencv-python mediapipe sklearn matplotlib

import cv2

import numpy as np

import os

from matplotlib import pyplot as plt

import timeimport mediapipe as mp

2. Keypoints using MP Holistic

mp_holistic = [Link] # Holistic model


mp_drawing = [Link].drawing_utils # Drawing utilities

def mediapipe_detection(image, model):


image = [Link](image, cv2.COLOR_BGR2RGB) # COLOR CONVERSION BGR 2
[Link] = False # Image is no longer writeableresults =
[Link](image) # Make prediction
[Link] = True
image = [Link](image, cv2.COLOR_RGB2BGR) # COLOR COVERSION RGB 2
return image, results
# Draw pose connections
mp_drawing.draw_landmarks(
image, results.pose_landmarks, mp_holistic.POSE_CONNECTIONS,
mp_drawing.DrawingSpec(color=(80,22,10), thickness=2, circle_radius=4),
mp_drawing.DrawingSpec(color=(80,44,121), thickness=2, circle_radius=2)
)

# Draw left hand connections


mp_drawing.draw_landmarks(
image, results.left_hand_landmarks, mp_holistic.HAND_CONNECTIONS,
mp_drawing.DrawingSpec(color=(121,22,76), thickness=2, circle_radius=4),
mp_drawing.DrawingSpec(color=(121,44,250), thickness=2, circle_radius=2)
)

# Draw right hand connections


mp_drawing.draw_landmarks(
image, results.right_hand_landmarks, mp_holistic.HAND_CONNECTIONS,
mp_drawing.DrawingSpec(color=(245,117,66), thickness=2, circle_radius=4),
mp_drawing.DrawingSpec(color=(245,66,230), thickness=2, circle_radius=2)
)

cap = [Link](0)

with mp_holistic.Holistic(min_detection_confidence=0.5,
min_tracking_confidence=0.5) as holistic:
while [Link]():
ret, frame = [Link]()

# Make detections
image, results = mediapipe_detection(frame, holistic)
print(results)

# Draw landmarks
draw_styled_landmarks(image, results)
[Link]('OpenCV Feed', image)

# Break
if [Link](10) & 0xFF == ord('q'):
break

[Link]()
[Link]()

2. Extract Keypoints

def extract_keypoints(results):
pose = [Link]([[res.x, res.y, res.z, [Link]]
for res in results.pose_landmarks.landmark]).flatten() \
if results.pose_landmarks else [Link](33*4)

face = [Link]([[res.x, res.y, res.z]


for res in results.face_landmarks.landmark]).flatten() \
if results.face_landmarks else [Link](468*3)

lh = [Link]([[res.x, res.y, res.z]


for res in results.left_hand_landmarks.landmark]).flatten() \
if results.left_hand_landmarks else [Link](21*3)

rh = [Link]([[res.x, res.y, res.z]


for res in results.right_hand_landmarks.landmark]).flatten() \
if results.right_hand_landmarks else [Link](21*3)

return [Link]([pose, face, lh, rh])


3. Setup Data Collection

DATA_PATH = [Link]('MP_Data')
actions = [Link](['hello', 'thanks', 'iloveyou'])
no_sequences = 30
sequence_length = 30
start_folder = 30

for action in actions:


dirmax = [Link]([Link]([Link]([Link](DATA_PATH, action))).astype(int))
for sequence in range(1, no_sequences+1):
try:
[Link]([Link](DATA_PATH, action, str(dirmax+sequence)))
except:
pass

4. Collect Keypoints

cap = [Link](0)

with mp_holistic.Holistic(min_detection_confidence=0.5,
min_tracking_confidence=0.5) as holistic:

for action in actions:


for sequence in range(start_folder, start_folder + no_sequences):
for frame_num in range(sequence_length):

ret, frame = [Link]()

image, results = mediapipe_detection(frame, holistic)

draw_styled_landmarks(image, results)
if frame_num == 0:
[Link](image, 'STARTING COLLECTION', (120, 200),
cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 0), 4)

[Link](image,
f'Collecting frames for {action} Video {sequence}',
(15, 12), cv2.FONT_HERSHEY_SIMPLEX, 0.5,
(0, 0, 255), 1)

[Link]('OpenCV Feed', image)


[Link](500)
else:
[Link](image,
f'Collecting frames for {action} Video {sequence}',
(15, 12), cv2.FONT_HERSHEY_SIMPLEX, 0.5,
(0, 0, 255), 1)

[Link]('OpenCV Feed', image)

keypoints = extract_keypoints(results)
[Link]([Link](DATA_PATH, action, str(sequence), str(frame_num)),
keypoints)

if [Link](10) & 0xFF == ord('q'):


break

[Link]()
[Link]()
5. Preprocessing

from sklearn.model_selection import train_test_split


from [Link] import to_categorical

label_map = {label: num for num, label in enumerate(actions)}


sequences, labels = [], []

for action in actions:


for sequence in [Link]([Link]([Link](DATA_PATH, action))).astype(int):
window = []
for frame_num in range(sequence_length):
res = [Link]([Link](DATA_PATH, action, str(sequence), f"{frame_num}.npy"))
[Link](res)
[Link](window)
[Link](label_map[action])

X = [Link](sequences)
y = to_categorical(labels).astype(int)

X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.05)

6. LSTM Model

from [Link] import Sequential


from [Link] import LSTM, Dense
from [Link] import TensorBoard

model = Sequential()
[Link](LSTM(64, return_sequences=True, activation='relu', input_shape=(30, 1662)))
[Link](LSTM(128, return_sequences=True, activation='relu'))
[Link](LSTM(64, return_sequences=False, activation='relu'))
[Link](Dense(64, activation='relu'))
[Link](Dense(32, activation='relu'))
[Link](Dense([Link][0], activation='softmax'))

[Link](optimizer='Adam', loss='categorical_crossentropy',
metrics=['categorical_accuracy'])

[Link](X_train, y_train, epochs=2000)


7. Real-Time Prediction

sequence = []
sentence = []
predictions = []
threshold = 0.5
colors = [(245,117,16), (117,245,16), (16,117,245)]

def prob_viz(res, actions, input_frame, colors):


output_frame = input_frame.copy()
for num, prob in enumerate(res):
[Link](output_frame, (0, 60+num*40),
(int(prob*100), 90+num*40), colors[num], -1)
[Link](output_frame, actions[num], (0, 85+num*40),
cv2.FONT_HERSHEY_SIMPLEX, 1, (255,255,255), 2)
return output_frame

cap = [Link](0)

with mp_holistic.Holistic(min_detection_confidence=0.5,
min_tracking_confidence=0.5) as holistic:

while [Link]():
ret, frame = [Link]()
image, results = mediapipe_detection(frame, holistic)

draw_styled_landmarks(image, results)

keypoints = extract_keypoints(results)
[Link](keypoints)
sequence = sequence[-30:]

if len(sequence) == 30:
res = [Link](np.expand_dims(sequence, axis=0))[0]
[Link]([Link](res))
if [Link](predictions[-10:])[0] == [Link](res):
if res[[Link](res)] > threshold:
if len(sentence) == 0 or actions[[Link](res)] != sentence[-1]:
[Link](actions[[Link](res)])

if len(sentence) > 5:
sentence = sentence[-5:]

image = prob_viz(res, actions, image, colors)

[Link](image, (0, 0), (640, 40), (245,117,16), -1)


[Link](image, ' '.join(sentence), (3, 30),
cv2.FONT_HERSHEY_SIMPLEX, 1, (255,255,255), 2)

[Link]('OpenCV Feed', image)

if [Link](10) & 0xFF == ord('q'):


break

[Link]()
[Link]()
Chapter 10

APPENDIX 2 – SAMPLE OUTPUT

10.1 Detecting action

The image above illustrates the output of the Real-Time Human Landmark and Pose Detection
System, powered by the MediaPipe Holistic framework and rendered via OpenCV. This screen serves
as the live visualization of the system's ability to accurately map the human body's key anatomical
points.
Every dot's coordinate (X, Y, Z) and connection in this image represents a piece of raw keypoint data.
This structured data is continuously extracted from the video stream and fed into the next stage of
the pipeline: a trained Long Short-Term Memory (LSTM) deep learning model. The system's
objective is to analyze the sequence of these keypoint frames over time to accurately classify the
subject's gesture or sign, providing a powerful foundation for human-computer interaction and
motion analysis applications.
10.2 Sign Language Recognition System

10.2 Sign Language Recognition System

High Confidence Prediction (Above Threshold)

This occurs when the model identifies a sign with high certainty, passing the threshold = 0.5 and the
stability check (consistent prediction over the last 10 frames).
Example: High Confidence - "HELLO"
If the system identifies the sign for "HELLO" with a prediction probability of $\mathbf{0.92}$
(92%), the recognized word is appended to the sentence output display at the top of the screen.
The probability bar for "hello" is prominently visualized in the prediction box with its assigned
color. The system advises the user that the gesture has been successfully recognized and
translated.
Chapter 11

REFERENCES

[1] M. S. Halder and V. Tayade, "Real-Time Sign Language Recognition Using MediaPipe
and Deep Learning Approaches: A Mobile Application Integration," JETIR, vol. 12, issue 5,
pp. 182-191, 2025.

[2] B. Sundar and G. Bagyammal, "Static American Sign Language Alphabet Recognition
Using MediaPipe and LSTM Models," Journal of Physics: Conference Series, vol. 2070, no.
1, 012111, 2021.

[3] A. Khartheesvar, et al., "Automatic Indian Sign Language Recognition using Mediapipe
Holistic and LSTM," International Journal of Advanced Research in Engineering and
Technology (IJARET), vol. 12, issue 1, pp. 200-209, 2021.

[4] R. Farhan and S. Madi, "Dynamic Sign Recognition Using MediaPipe and LSTM,"
International Journal of Computer Applications, vol. 182, no. 4, pp. 1-6, 2023.

[5] A. Bora, et al., "Assamese Sign Language Recognition using MediaPipe and LSTM," in
Proc. Int. Conf. on Computational Intelligence in Data Science (ICCIDS), pp. 1–6, 2023.

[6] S. Rao, et al., "Sign Language Recognition using LSTM and Media Pipe," International
Journal of Engineering Research in Computer Science and Engineering (IJERCSE), vol. 10,
issue 4, pp. 1-5, 2023

.[7] S. R. Kumari, M. S. V. V. N. B. Murthy, and N. V. Rao, "Sign Language Recognition


utilizing LSTM and Mediapipe for Dynamic Gestures of ISL," International Journal of Future
Multidisciplinary Research (IJFMR), vol. 5, issue 5, pp. 242-246, 2023.

[8] A. Nagrani, J. S. Chung, and A. Zisserman, "VoxCeleb: A large-scale speaker


identification dataset," in Proc. Interspeech, 2017, pp. 2616–2620
[9] K. F. Victor and I. Z. Michael, "Intelligent data analysis and machine learning: Are they
really equivalent Concepts?," in 2017 Second Russia and Pacific Conference on Computer
Technology and Applications (RPC), 2017, pp. 59-63.

[10] K. A. Lee and H. Kim, "Voice Biometrics for Secure Authentication," International Journal
of Security, 2022.

[11] J. Smith and R. Brown, "Machine Learning Techniques in Speaker Recognition," IEEE
Transactions on Audio, Speech, and Language Processing, 2021.

[12] T. Kinnunen and H. Li, "An overview of text-independent speaker recognition: From
features to supervectors," Speech Communication, vol. 52, no. 1, pp. 12–40, 2010.

[13] D. A. Reynolds, "An overview of automatic speaker recognition technology," in Proc.


IEEE Int. Conf. Acoustics, Speech, and Signal Processing (ICASSP), 2002, pp. 4072–4075.

[14] S. Furui, "50 years of progress in speech and speaker recognition research," ECTI
Transactions on Computer and Information Technology, vol. 1, no. 2, pp. 64–74, 2005.

[15] A. Nagrani, J. S. Chung, and A. Zisserman, "VoxCeleb: A large-scale speaker


identification dataset," in Proc. Interspeech, 2017, pp. 2616–2620.

[16] Uppala Sai Sudeep, Kandra Narasimha Naidu, Pulagam Sai Girish, Tatineni Naga
Nikesh, Ch Sunanda. "Brain Tumor Classification using a Support Vector Machine."
International Journal of Computer Applications, vol. 184, no. 28, Sept. 2022

You might also like