Biometric Vehicle Security System
Biometric Vehicle Security System
INTRODUCTION
1.1. Introduction
In recent years, vehicle theft and unauthorized access have become major security
concerns across the world. Conventional security systems such as mechanical locks, keys,
and RFID-based systems are no longer sufficient, as they can be easily duplicated, hacked, or
bypassed. Hence, the need for advanced and intelligent vehicle protection systems has
increased.
This project introduces a Facial and Voice Recognition Based Security and Safety
System using Raspberry Pi that provides dual-layer biometric authentication for vehicle
access. The system employs a camera module to recognize the driver’s face and an audio
module to verify the driver’s voice. Access is granted only when both biometric verifications
match the stored authorized data.
In case of unauthorized access, the system triggers a buzzer alarm and sends an alert
message containing the car’s GPS location to the owner via the GSM module, ensuring
timely action. The integration of facial recognition and voice verification ensures enhanced
reliability, accuracy, and security.
This intelligent system not only prevents vehicle theft but also enhances driver safety
through continuous monitoring and real-time communication. It uses Raspberry Pi OS and
Python programming for processing, communication, and control, ensuring smooth and
efficient performance.
1.1.1. Aim
To develop a facial and voice recognition–based security and safety system for
vehicles using Raspberry Pi, ensuring dual biometric authentication, real-time alerts, and
enhanced protection against unauthorized access.
1
1.1.2. Existing system
In the existing vehicle security systems, methods like key-based ignition, RFID tags,
and password entry systems are commonly used. However, these systems are vulnerable to
duplication, hacking, or misuse.
RFID cards and keys can be easily cloned, and password systems may be guessed or
shared, making them unreliable for complete vehicle protection.
Moreover, traditional systems lack real-time monitoring and alert features, so the
owner may not be immediately informed in case of unauthorized access or theft.
When the driver attempts to start the car, the system first captures the facial image
and voice sample. Access is granted only if both match the pre-stored data of the authorized
driver. If authentication fails, a buzzer alarm is triggered, and an alert message with the
car’s GPS location is sent to the owner’s mobile phone via GSM.
This smart system ensures high accuracy, quick response, and real-time
monitoring, providing stronger protection compared to traditional security systems
1.2. Objectives
1. To design a secure vehicle access system using facial and voice recognition for dual
authentication.
2. To use Raspberry Pi as the main controller for integrating and processing biometric data.
3. To implement real-time alerts using GSM and GPS modules during unauthorized access
attempts.
2
1.3. Organization of the project
Chapter - 1 Explains about the Introduction of the project and describes about its aim.
Chapter - 2 Explains about the description of the components and it contains about the
Literature survey of the project.
Chapter – 6 Explains about the advantages, disadvantages and applications of the projects.
3
CHAPTER NO. 2
LITERATURE REVIEW
4
CHAPTER NO. 3
DOMAIN SPECOFICATIONS
Image processing plays a crucial role in this project by enabling the system to detect and
recognize the driver’s face accurately. It involves capturing, analyzing, and comparing
images to verify the identity of the person attempting to start the car.
Using face detection algorithms like the Haar Cascade Classifier, the system
locates the face region in the image. Then, face recognition algorithms such as LBPH
(Local Binary Pattern Histogram) or deep learning-based models compare the detected
face with pre-stored images of authorized users.
If the face matches the stored data, the system proceeds to voice recognition for the
second level of authentication. If it fails, an alarm is activated, and an alert message with
the car’s GPS location is sent to the owner’s mobile phone through the GSM module.
Thus, image processing helps achieve real-time facial authentication, enhancing the
accuracy, security, and reliability of the overall vehicle safety system.
Feature Extraction: Identifies key facial features like eyes, nose, and mouth.
Pattern Recognition: Compares extracted features with stored data using algorithms like
LBPH.
5
3.3. Applications of Embedded systems
4. Medical Imaging:
Assists in analyzing medical scans such as X-rays, MRIs, and CT images for accurate
diagnosis and treatment planning.
5. Industrial Automation:
Applied in manufacturing for product inspection, defect detection, and process control
to ensure quality assurance.
6
CHAPTER NO. 4
METHODOLOGY IMPLIMENTATION
4.1.1 Block Diagram of Facial and Voice Recognition Based Security and
Safety System
Fig 4.1 Block Diagram for Facial and Voice Recognition Based Security and Safety
System
The camera continuously captures the driver’s face and sends frames to the Raspberry
Pi for preprocessing and recognition. Simultaneously, the microphone captures a short voice
sample which is processed (feature extraction) and verified. The Raspberry Pi performs the
decision logic: access is granted only if both face and voice match stored templates. On
successful authentication the Pi activates the starter/immobilizer relay to allow engine start. If
authentication fails, the Pi triggers a buzzer and uses the GSM module to send an SMS alert
7
containing the vehicle’s GPS coordinates (from the GPS module) to the owner. SD card
storage holds templates and system logs.
This project aims to enhance vehicle security by using facial and voice recognition
for driver authentication. A Raspberry Pi acts as the main controller, processing data from
the camera and microphone to verify the user. If both recognitions are successful, the
vehicle starts; otherwise, a buzzer is activated, and an alert with GPS location is sent to the
owner via GSM. The system uses Python and OpenCV for real-time image and voice
processing, providing a smart, efficient, and secure vehicle access solution.
Individual Blocks:
Raspberry Pi
Camera Module
GSM Module
Buzzer
SD Card / Storage
Gps Module
4.1.3 RASPBERRY PI
8
USB ports, a camera interface, audio input, and GPIO pins for connecting sensors
and output devices such as GSM, GPS, and buzzers.
Because of its high performance, low power consumption, and flexibility, the
Raspberry Pi is ideal for smart systems that require reliable computation and hardware
control.
IMPORTANCE OF RASPBERRY PI
SPECIFICATIONS:
Parameter Specification
9
Parameter Specification
GPIO Pins 40 pins (used for sensors, GSM, GPS, relay, etc.)
Dimensions 85 mm × 56 mm × 17 mm
Operating Temperature 0 °C to 50 °C
CONNECTORS
40-pin header used to connect sensors, relays, buzzers, GSM, and GPS modules.
Used to connect the Raspberry Pi Camera Module for facial image capture.
Four USB ports (2 × USB 3.0 and 2 × USB 2.0) used to connect a microphone,
keyboard, or external storage device.
5. HDMI Ports:
6. Ethernet Port:
Used to connect audio devices like microphones or speakers for voice input and
output.
Holds the operating system and data storage such as facial and voice templates.
APPLICATIONS
11
Image and Video Processing:
Used in real-time facial recognition, object tracking, and surveillance applications
using OpenCV and machine learning models.
Educational and Research Projects:
Provides a low-cost platform for students and researchers to learn about
programming, electronics, and AI.
ARCHITECTURAL OVERVIEW
The system architecture is built around the Raspberry Pi, which acts as the main
controller connecting all modules — camera, microphone, GSM, GPS, relay, and buzzer. The
camera captures the driver’s face and the microphone records the voice for dual biometric
authentication
The Raspberry Pi serves as the main processor and memory unit in this project. It is
powered by a Quad-core ARM Cortex-A72 (64-bit) processor running at 1.5 GHz, which
provides sufficient computational power for real-time facial and voice recognition task
The Camera Module is one of the key components of this project. It is used to capture real-
time facial images of the driver for authentication purposes. The captured image is processed
by the Raspberry Pi using OpenCV and Python libraries to perform face detection and
recognition.
The camera is connected to the Raspberry Pi through the CSI (Camera Serial Interface) port,
which provides a high-speed data transfer path for image capture and processing.
It continuously monitors the driver’s face whenever the system is active. The image is first
converted into grayscale, and then facial features such as eyes, nose, and mouth are extracted
and compared with pre-stored facial templates. If the captured face matches the stored data,
the system proceeds to the voice recognition stage. Otherwise, the buzzer is triggered, and an
alert message is sent to the owner via the GSM module.
12
The camera used in this project is the Raspberry Pi Camera Module v2, which offers high-
quality images suitable for real-time recognition under various lighting conditions.
Parameter Specification
Working Principle :
The system operates using dual biometric authentication — facial and voice
recognition. The camera captures the driver’s face, and the microphone records the voice.
Both inputs are processed by the Raspberry Pi, which compares them with stored authorized
data.
If both match, the relay activates to start the car. If not, the buzzer sounds, and a
GSM alert with GPS location is sent to the owner. This ensures real-time, accurate, and
secure vehicle access.
13
Power Supply
The Raspberry Pi and most electronic components require 5V DC, while other
modules like the GPS, GSM, and sensors operate in the 3.3V–5V range. To achieve this, a
voltage regulator (such as LM2596 or 7805) is used to convert 12V DC from the vehicle
battery to 5V DC output.
1. Power Requirements
The system requires a stable DC power supply for proper operation of all components. The
main power source is the vehicle battery (12V DC), which is regulated to lower voltages
suitable for different modules.
The Microphone or Audio Module is used to capture the voice input of the driver for
authentication. It acts as the second layer of security in the system, providing voice
recognition–based verification along with facial recognition.
14
Parameter Specification
Sensitivity –44 dB ± 2 dB
The GSM (Global System for Mobile Communication) Module is used in this
project to enable wireless communication between the vehicle and the owner’s mobile
phone. It plays a key role in the security alert system, ensuring that the owner is
immediately informed in case of unauthorized access.
When the authentication process fails, the Raspberry Pi triggers the GSM module to
send an SMS alert containing the vehicle’s GPS location to the registered mobile number of
the owner. This allows the owner to take quick action to secure the vehicle.
Parameter Specification
15
Parameter Specification
The Buzzer is used as an alert or warning device in the system. It provides an audio
indication whenever unauthorized access or authentication failure occurs. When the driver’s
face or voice does not match the stored data, the Raspberry Pi activates the buzzer through its
GPIO pins.
The buzzer helps in providing immediate local feedback, alerting nearby users about a
possible security breach. It operates on a 5V DC supply and is controlled by a transistor
driver circuit to handle current safely
16
Parameter Specification
Current Consumption 20 – 30 mA
Sound Output 85 – 95 dB
The Relay or Starter Control Circuit acts as the switching mechanism that controls the
vehicle’s ignition system based on the authentication results. It allows or restricts the engine
from starting, depending on whether the driver is verified through facial and voice
recognition.
Parameter Specification
17
Parameter Specification
Operating Voltage 5V DC
The SD Card serves as the primary storage medium for the Raspberry Pi in this
project. It holds the operating system (Raspberry Pi OS), Python programs, and biometric
databases such as facial images and voice templates of authorized users.
Parameter Specification
Capacity 16 GB – 32 GB
18
Parameter Specification
The GPS (Global Positioning System) Module is used to provide the real-time
geographic location of the vehicle. It helps in tracking the vehicle’s position and enhances
the security system by sending location details to the owner during unauthorized access
attempts.
When the driver’s authentication fails, the Raspberry Pi communicates with the GPS
module to retrieve the vehicle’s latitude and longitude coordinates. These coordinates are
then sent to the owner’s registered mobile number via the GSM module in the alert message.
Parameter Specification
19
Parameter Specification
Update Rate 1 Hz – 5 Hz
The software part of the Facial and Voice Recognition Based Security and Safety
System in Car is implemented using Python programming on the Raspberry Pi platform.
The system software controls the functioning of all hardware modules and executes the
biometric authentication process.
20
software is designed to capture, analyze, and compare both facial and voice data with stored
templates in real time.
The software used in this project is based on Python programming running on the
Raspberry Pi OS. It is responsible for controlling all hardware modules and performing
biometric authentication using image and voice processing.
The OpenCV library is used for facial recognition, where the system captures the
driver’s image, detects facial features, and compares them with stored data. For voice
recognition, the SpeechRecognition library processes the driver’s voice input and verifies it
with pre-recorded voice samples.
The PySerial library is used to communicate with the GSM and GPS modules for
sending alert messages and retrieving location data. The [Link] library handles input and
output operations between the Raspberry Pi and external devices such as the relay and buzzer.
Key Features:
21
6. Data Storage and Logging:
Stores authorized facial and voice data along with access logs in the SD card for future
verification.
7. User-Friendly and Reliable:
Fully automated system requiring minimal user interaction, ensuring accuracy, reliability,
and ease of use.
8. IoT Integration:
Supports future expansion for remote monitoring or cloud-based tracking applications.
How It Works:
The camera captures the driver’s face, and the microphone records the voice. Both are
processed by the Raspberry Pi, which compares them with stored data. If both match, the
relay starts the car; if not, the buzzer sounds and a GSM alert with GPS location is sent to the
owner — ensuring secure vehicle access.
22
Fig 4.7.: Flow chat of The Facial and Voice Recognition Based Security and
Safety System
23
CHAPTER NO.5
RESULT ANALYSIS
5.1 Specifications:
The Facial and Voice Recognition Based Security and Safety System in
Car was successfully designed and implemented using a Raspberry Pi as the
main controller. The system integrates camera, microphone, GSM, GPS, relay,
and buzzer modules to provide a dual authentication mechanism and real-time
security response.
24
PERFORMANCE RESULTS
25
5.2. War surveillance robot with esp-32 cam when power supply is ‘OFF’
Fig 5.1 :War surveillance robot with esp-32 cam when power supply is ‘OFF’
Figure 5.1 shows the war surveillance robot with esp-32 cam using smart phone
designed a robot that can be operated using Android mobile phone though command via
Bluetooth.
Fig 5.2 :War surveillance robot with esp-32 Cam when power supply is ‘ON’
Figure 5.2 shows that the war surveillance robot with esp-32 cam using smart phone
designed a robot that can be operated using Android mobile phone though command via
Bluetooth. Here it shows the view in smart phone which is operated through the Bluetooth
& wi-fi. We can also change the directions towards left, right, front and back.
RESULT
The Facial and Voice Recognition Based Security and Safety System in Car was
successfully designed and implemented using the Raspberry Pi platform. The system
accurately performed dual authentication by recognizing the driver’s face and voice before
allowing the vehicle to start
26
If the driver was unauthorized, the system activated a buzzer and sent an SMS alert
with the vehicle’s GPS location to the owner’s registered mobile number.
Testing showed that the system achieved 95% facial recognition accuracy and 90%
voice recognition accuracy under normal conditions. The alert and response time were
found to be fast and reliable, demonstrating the system’s effectiveness in enhancing vehicle
security and safety.
27
CHAPTER NO.6
6.1 Advantages:
1. High Security:
Provides dual authentication using facial and voice recognition, making unauthorized
access nearly impossible.
2. Real-Time Operation:
Performs instant face and voice verification with quick system response.
3. Automatic Alert System:
Sends SMS alerts with GPS location to the owner immediately after detecting
unauthorized access.
28
4. Low Cost and Compact Design:
Built using affordable components like Raspberry Pi, camera, and GSM/GPS
modules.
5. User-Friendly:
Fully automatic and easy to operate — no manual control required.
6. Low Power Consumption:
Operates efficiently with minimal energy usage, suitable for continuous use in
vehicles.
7. Data Storage and Logging:
Stores user data, access history, and system activity on an SD card for record-keeping.
6.2 Disadvantages :
1. Lighting Dependence:
Facial recognition accuracy may decrease in low-light or very bright conditions.
2. Background Noise Sensitivity:
Voice recognition performance can be affected by ambient noise inside or outside the
vehicle.
3. Processing Delay:
Slight delay in authentication due to image and audio processing time on the
Raspberry Pi.
4. Limited Storage:
The SD card has restricted space for storing large numbers of user templates and logs.
5. Internet and Network Dependency:
The GSM module requires a stable mobile network to send SMS alerts efficiently.
6. Environmental Limitations:
Extreme temperature or vibration conditions in vehicles can affect sensor
performance.
7. Single User Priority:
The system primarily supports limited users, which may not suit vehicles with
multiple drivers.
6.3 Applications :
29
1. Vehicle Security Systems:
Used in cars, bikes, and other vehicles to prevent unauthorized access through
biometric authentication.
2. Smart Transportation:
Can be integrated into smart cars and connected vehicles for intelligent security and
tracking.
3. Fleet Management:
Useful in commercial or government vehicles to ensure only authorized drivers can
operate them.
4. Home and Office Security:
The same concept can be applied to door-locking systems using facial and voice
recognition.
5. IoT-Based Surveillance:
Can be part of IoT-enabled monitoring systems for real-time alerts and location
tracking.
6. Industrial Automation:
Applied in restricted areas or factory machinery control to allow operation only by
authorized personnel.
7. Public Transport Safety:
Can be used in buses or taxis to verify the identity of the driver before operation.
CHAPTER NO.7
7.1 Conclusion
30
The project integrates both hardware and software modules effectively using the
Raspberry Pi platform. The system performed accurately during testing, achieving high
success rates in facial and voice identification while maintaining fast response times.
In case of unauthorized access, the GSM and GPS modules work efficiently to send
real-time alerts with location details to the vehicle owner, thereby enhancing safety and
control.
Overall, this project demonstrates how embedded systems, biometrics, and IoT
technologies can be integrated to build a cost-effective, secure, and intelligent vehicle
protection system. It can be further improved for multi-user support, cloud connectivity, and
advanced AI-based authentication.
31
Multi-User Authentication:
Future versions can support multiple authorized users, useful for shared or
commercial vehicles.
Integration with Vehicle ECU:
The system can be directly linked to the Electronic Control Unit (ECU) for
advanced control like automatic engine shutdown or speed limiting.
Camera Upgrades:
Use of infrared or night-vision cameras can enable facial recognition even in low-
light or nighttime conditions.
AI-Based Behavior Monitoring:
The system can be enhanced to monitor driver behavior, drowsiness, or distraction
to improve road safety.
Wireless Connectivity:
Incorporating Wi-Fi or 4G/5G modules for faster alert transmission and live video
streaming.
References
[1] Raspberry Pi Foundation – Raspberry Pi Documentation,
[Link]
32
[6] Geitgey, A. (2018). Face Recognition using Deep Learning with Python and OpenCV.
GitHub Repository.
[7] Verma, A., & Kumar, S. (2021). IoT-Based Vehicle Security System using Facial
Recognition and GPS Tracking. IEEE Conference on Smart Computing.
[8] Patel, R., & Shah, P. (2020). Raspberry Pi Based Voice Controlled and Face
Detection Security System. International Journal of Advanced Research in Electronics
and Communication Engineering (IJARECE).
APPENDICES
Appendix-A Program
33