A Mini Project Report On: Submitted in Partial Fulfillment of The Requirements For The Award of
A Mini Project Report On: Submitted in Partial Fulfillment of The Requirements For The Award of
In
By
M.SOWMYA (23TQ1A0511)
R. KAVYA (23TQ1A0526)
N. MAHESH (24TQ5A0502)
MRS. K. SUMA
Assistant Professor
(UGC - AUTONOMOUS)
(Approved by AICTE , New Delhi & Affiliated to JNTUH , Hyderabad)
2024 – 2025
1
SIDDHARTHA INSTITUTE OF TECHNOLOGY AND SCIENCES
(Approved by AICTE , Affiliated to JNTUH , Hyderabad v Accredited by NBA and NAAC with ‘A+’ Grade
CERTIFICATE
By
M.SOWMYA (23TQ1A0511)
R.KAVYA (23TQ1A0526)
N.MAHESH (24TQ5A0502)
In partial fulfillment for the award of the degree of Bachelor of Technology in Computer Science
and Engineering, Jawaharlal Nehru Technological University Hyderabad, is a record of bonafide
work carried out under my guidance and supervision. The results embodied in this project report
have not been submitted to any other University or Institute for the award of any Degree or
Diploma
2
DECLARATION
We, M.Sowmya, R.Kavya and N.Mahesh hereby declare that the results embodied in this project
dissertation entitled “COLLEGE NOTIFICATION VOICE ALERT” is carried out by us during
the year 2024 – 2025 in partial fulfillment of the award of Bachelor of Technology in Computer
Science and Engineering from Siddhartha Institute of Technology and Sciences. It is an
authentic record carried out by us the guidance of Mrs. K Suma, Assistant Professor, Department of
Computer Science and Engineering
M.SOWMYA(23TQ1A0511)
R.KAVYA (23TQ1A0526)
N.MAHESH(24TQ5A0502)
3
ACKNOWLEDGEMENT
We wish to express profound gratitude to B. RAVINDAR REDDY sir, Assistant Professor and
Head of the Department, Computer Science and Engineering, for his continuous encouragement to
ensure successful results in all my endeavors
We would like to thank Mrs. K SUMA mam, Assistant Professor, Department of Computer Science
and Engineering, who patiently guided and helped us throughout our project.
By
M.SOWMYA (23TQ1A0511)
R.KAVYA (23TQ1A0526)
N.MAHESH (24TQ5A0502)
4
ABSTRACT
Now a day's Smart phones have become an irresistible part of everyone's life. With these smart
phones the human life is changed for better. In today's time the smart phone evolution has changed the
lives of every individual drastically. On touch of a button the world is coming to our fingertips. This
Mobile era has simplified our life by putting the world in our hands. The heart of these smart phones is
their Applications. There are lots of free applications available at our service. Campus Alert System is a
android notification system that enables college and administrators to send alerts from one easy-to-use
interface. Requiring android smart phone our unified alert system enables you to communicate with your
entire campus community in minutes via those communication channels most popular with students:
SMS text messaging, Email and voice notification alerts. College notification voice alerts, like those
used for announcements, emergencies, or general updates, can offer several advantages and
disadvantages. Here's a breakdown:
Keywords: Notification System, Voice Alert, Text-to-Speech (TTS), Automated Calls, Emergency
Alert, College Communication.
5
TABLE OF CONTENTS
ABSTRACT 5
LIST OF FIGURES 8
LIST OF ABBREVIATIONS 8
1 INTRODUCTION 9
1.1 OVERVIEW 9
2 AIM AND SCOPE 10
2.1 AIM 10
2.2 SCOPE 10
2.2.1 FUNDAMENTAL STEPS 10
IN OCR
3 LITERATURE REVIEW 11
3.1 REVIEW OF LITERATURE 11 – 16
4 METHODOLOGY 17 - 35
4.1 SYSTEM ANALSIS 17
4.1.1 EXISTING SYSTEM 17
4.1.2 PROPOSED SYSTEM 17 – 19
4.1.3 LANGUAGES USED IN THE SYSTEM 19
6
4.3.2.4 NUMBER PLATE 29
EXTRACTION
4.3.2.5 CHARACTER 29
SEGMENTATION
4.3.2.6 OPTICAL CHARACTER 29
RECOGNITION
4.3.2.7 TEMPLATE MATCHING 29
4.3.3 UML DIAGRAMS 30
4.3.3.1 USE CASE DIAGRAM 31
4.3.3.2 SEQUENCE DIAGRAM 31
4.3.3.3 ACTIVITY DIAGRAM 32
4.4 TESTING 33
4.4.1 SOFTWARE TESTING 33
4.4.2 TEST CASE 33
4.4.3 TESTING TECHNIQUES 33 - 35
5 CONCLUSION 36
5.1 CONCLUSION 36
5.2 FUTURE WORK 36
REFERENCES 36 - 37
APPENDICES 38
SAMPLE CODE 38 - 41
7
LIST OF FIGURES
LIST OF ABBREVIATIONS
8
CHAPTER 1
INTRODUCTION
In many colleges, announcements and notification are conveyed through notice boards or online
portals, which may not be accessed immediately. This project aims to implement a voice-based alert
system that audibly notifies students and faculty about events, changes, or important messages. This
enhances communication, especially for me-sensitive or emergency information.
In educational institutions, timely and effective communication plays a vital role in the smooth
functioning of daily activities. Traditional methods like notice boards, emails, or classroom
announcements often face delays or may go unnoticed by students and faculty. To overcome these
limitations, this project introduces a College Notification Voice Alert System.
This system is designed to convert text notifications into speech, enabling voice-based announcements
for important updates such as exam schedules, class cancellations, event reminders, or emergency
alerts. By integrating a text-to-speech engine, the system ensures that critical information is delivered in
real- me and is accessible to all, including visually impaired individuals. This project highlights the
practical application of voice technology to improve communication within academic environments.
1.1 Objective:
To design and develop a system that delivers college notifications via voice alerts to ensure important
messages reach students and faculty promptly and effectively.
The objective of this project is to develop a voice-based notification system for colleges that converts
text-based announcements into audible alerts. This system aims to improve the delivery of important
information to students and staff by ensuring that notifications are heard promptly and clearly,
thereby enhancing communication efficiency and accessibility within the institution.
9
CHAPTER 2
AIM AND SCOPE
2.1 AIM
The aim of the College Notification Voice Alert System project is to develop an automated
system that delivers important college-related announcements and notifications to students and
staff using voice alerts, ensuring timely and effective communication within the campus
environment.
2.2 SCOPE
Automated Voice Announcements:
The system will convert text-based notifications (e.g., class schedules, event alerts, exam
dates, emergencies) into voice messages that can be broadcasted in real-time.
Target Users:
Students
Faculty members
Administrative staff
Delivery Platforms:
Text-to-Speech Integration:
Utilizes TTS (Text-to-Speech) engines to convert notifications into natural-sounding voice
messages.
11
CHAPTER 3
LITERATURE REVIEW
Unified Alert Systems are designed to streamline communication within educational institutions,
ensuring that students, faculty, and staff receive timely and relevant notifications. These systems
integrate multiple communication channels, such as SMS, email, app notifications, and even audible-
visual alerts, to deliver messages effectively across campuses.
Multi-Channel Communication: Notifications are sent through various platforms to ensure they reach
everyone, regardless of their preferred communication method. Multi-channel communication is a
strategy that utilizes multiple platforms to deliver messages effectively, ensuring that information
reaches the intended audience promptly and reliably. This approach is particularly valuable in systems
like Unified Alert Systems, where timely dissemination of notifications is critical.
Emergency Alerts: These systems are crucial during emergencies, providing real-time updates and
instructions to ensure safety.
Integration with Existing Infrastructure: Unified systems often work seamlessly with pre-existing
technologies like PA systems, digital screens, and mobile apps.
Personalization and Targeting: Messages can be tailored to specific groups, such as students in a
particular department or faculty members in a specific building.
Accessibility: Many systems include features to assist individuals with disabilities, such as text-to-
speech and visual signaling.
12
2.AI-Driven Notification
• Behavior Analysis: By studying user interactions, AI predicts the best time and channel to
send notifications, increasing the likelihood of engagement.
• Automation: Notifications are sent automatically, reducing the need for manual intervention
while maintaining accuracy and consistency.
• Real-Time Updates: AI ensures that notifications are sent instantly, keeping users informed
about critical events or changes.
• Predictive Insights: AI can identify patterns and predict user needs, such as reminding
students about upcoming exams or suggesting resources for improvement
Mobile applications for academic alerts are designed to streamline communication between
educational institutions and students, ensuring timely updates and reminders about academic activities.
These apps are particularly useful for managing schedules, tracking deadlines, and staying informed
about events.
1. Real-Time Notifications: Students receive instant alerts about class schedules, assignment
deadlines, exam dates, and campus events.
2. Customizable Alerts: Users can personalize notifications based on their preferences, such as
setting reminders for specific tasks or events.
3. Integration with Calendars: Many apps sync with popular calendar tools like Google Calendar
or Apple Calendar, allowing students to manage their academic schedules seamlessly.
4. Accessibility: These apps often include features like voice alerts and text-to-speech, making
them accessible to individuals with disabilities.
13
4.Proposed Solution
A proposed solution for a college notification voice alert system would focus on creating an efficient,
automated platform to deliver important updates, announcements, and emergency alerts using voice
technology. Here’s a structured approach:
1. System Overview:
The system would use:
2. Key Components:
• User Interface (UI): A web portal/app for administrators to record or input notifications.
• Voice Processing Engine: Converts text to speech with natural voice modulation.
• Delivery Mechanism: Push notifications, phone calls, and speaker broadcasts.
• Data Security: Encryption and authentication to protect student information.
3. Implementation Strategy:
• Develop a mobile-friendly platform compatible with Android/iOS.
• Use AI speech synthesis for clear, multilingual voice alerts.
• Integrate with existing college databases for automated updates on exams, events, and
deadlines.
14
4. Benefits and Future Enhancements:
15
CHAPTER 4
METHODOLOGY
4.1 SYSTEM ANALYSIS
4.1.1 Existing System
There are existing projects related to college notification voice alert systems. Here are a few
examples:
• College Notification System (CNS): An Android application that allows teachers to create and
upload notices, which students can view on their dashboard. It replaces traditional notice boards
with an e-notice system.
• Automatic Android Alert Notification System: A project designed to connect an Android
application to a college’s educational web server, enabling real-time alerts for students and
instructors.
• College Notification Voice Alerts: A project focused on delivering voice-based notifications for
college announcements, improving accessibility and communication
Limitations:
Existing college notification voice alert systems have several limitations that can impact their
effectiveness. Here are some key challenges:
1. Limited Accessibility
• Some systems rely on text-based notifications, making them less effective for visually impaired
students.
• Voice alerts may not support multi-language options, restricting accessibility for diverse
student populations.
2. Delayed Notifications
• Network congestion or server downtime can cause delays in delivering alerts.
• Some systems depend on manual input, leading to slower updates for urgent announcements.
3. Lack of Integration
• Many notification systems are not integrated with college databases, requiring separate
management.
16
• Limited compatibility with IoT devices like smart speakers or campus-wide PA systems.
1. System Overview
The system would automate college notifications through voice alerts, ensuring students and faculty
receive instant updates on events, deadlines, and emergency warnings. It would be cloud-based and
integrated with mobile applications and IoT devices for better reach.
2. Key Components
• Admin Dashboard: College administrators can input notifications manually or automate event-
based alerts.
• AI Text-to-Speech Engine: Converts written notifications into natural-sounding voice alerts.
• Notification Delivery System: Uses mobile apps, phone calls, and campus speakers.
• Multi-Language Support: Ensures accessibility for diverse student populations.
• Data Security Protocols: Protects student information with encryption and user
authentication.
3. Implementation Plan
Mobile App & Web Portal: Users receive push notifications & voice alerts. Integration
with College Systems: Syncs with databases for automated event updates. IoT Devices &
Smart Speakers: Broadcast important messages across the campus. AI Predictive Alerts:
Identifies key reminders for individual students.
17
4. Benefits of the Proposed System
• Improved Accessibility: Beneficial for visually impaired students.
• Real-Time Alerts: No delay in delivering critical updates.
• Personalized Notifications: Students can filter alerts based on priority.
• Scalability: Future enhancements include AI voice assistants and chatbots for instant queries.
Advantages of OCR
A college notification voice alert system can be incredibly useful, offering several advantages:
• Instant Updates: Important announcements, like exam schedules, event reminders, and
emergency alerts, can be communicated immediately.
• Accessibility: Helps students who might miss text messages or emails by delivering information
audibly.
• Convenience: No need to constantly check a portal or inbox—alerts come straight through as
voice notifications.
• Emergency Communication: In urgent situations, voice alerts ensure that critical information
reaches students without delay.
• Reduced Miscommunication: Hearing a message directly can minimize misunderstandings
compared to text-based notifications.
It’s a smart way for colleges to keep students informed and engaged without relying solely on
traditional communication methods.
18
FEASIBILITY STUDY
A feasibility study for a college notification voice alert system will help determine whether the
project is practical and beneficial. Here's an outline of the key aspects to consider:
1. Technical Feasibility
• Availability of infrastructure (server, cloud storage, mobile app, etc.).
• Compatibility with existing college communication systems.
• Ease of integration with SMS, email, and other alert mechanisms.
2. Operational Feasibility
• How easy it is for staff and students to use the system.
• Reliability of delivering accurate and timely voice alerts.
• Training requirements for administrators and technical staff.
3. Financial Feasibility
• Costs of development, implementation, and maintenance.
• Potential funding sources (college budget, grants, sponsorships).
• Cost-effectiveness compared to traditional notification methods.
6. Risk Analysis
• Possible technical failures or cybersecurity threats.
• Risks of miscommunication or inaccurate alerts.
• Contingency plans in case of system downtime.
If these aspects indicate that the project is viable and beneficial, it can move forward with
development and testing.
19
TECHINICAL FEASIBILITY
1. Availability of Infrastructure
To implement a voice alert system in a college, certain infrastructure components are necessary:
• Servers: A reliable server (on-premises or cloud-based) is needed to store and manage alert data.
Cloud servers like AWS, Google Cloud, or Microsoft Azure offer scalability.
• Cloud Storage: Voice messages need to be stored for reference. Cloud storage solutions such as
Google Drive, OneDrive, or specialized databases for voice recordings can be used.
• Mobile & Web Applications: A user-friendly mobile app or web portal where students and
faculty can receive and manage alerts would enhance efficiency.
• Voice Processing Tools: AI-driven tools (such as text-to-speech systems) can automate
announcements instead of manual recordings.
To ensure a seamless transition, the voice alert system must integrate with current notification tools:
• Learning Management Systems (LMS): Platforms like Moodle, Blackboard, and Google
Classroom should allow notifications to be pushed as voice alerts.
• College Websites & Portals: Voice alerts should complement existing college websites and
information portals.
• Student Database Integration: The system should access student details for personalized voice
alerts (e.g., specific reminders for exams or deadlines).
• SMS Alerts: APIs like Twilio or Firebase Cloud Messaging can be used to send voice-based
SMS alerts.
• Email Notifications: The system should include voice-enabled email alerts, possibly using
services like Gmail or Outlook with audio attachments.
• Push Notifications: Mobile apps should support push notifications with recorded or AI-
generated voice messages.
• IVR (Interactive Voice Response): Colleges can implement IVR for students to access
important voice-based notifications over a call.
20
SOCIAL FEASIBILITY
The social feasibility of implementing a college notification voice alert system depends
on several human-centered and cultural factors. Here's a breakdown of how such a system
might be received in a college environment:
Mitigation Strategies:
• Opt-In System: Let students choose whether they want voice alerts and for what
type of notifications.
21
• Silent Zones: Disable or modify voice alerts in sensitive areas like libraries or
during exams.
• Customizable Voice Profiles: Allow users to select voice type, language, and
delivery settings.
3. Notification Handling
• Firebase Cloud Messaging (FCM) – For push notifications to
mobile/web.
• Twilio API – To send voice calls or SMS alerts.
• Email/SMS Gateways – For backup or text-based alerts.
23
4.2 SYSTEM REQUIREMENTS
4.2.1 HARDWARE REQUIREMENTS
To develop a college notifications voice alert system, you'll need both hardware and
software system requirements depending on whether it's a web app, mobile app, or
desktop system. Here's a detailed list:
Operating System
• Windows 10/11, Linux (Ubuntu/Debian), or macOS
• Android Studio (if making a mobile app)
• Docker (optional, for easy deployment)
Development Tools
• Code Editor/IDE: VS Code, PyCharm, IntelliJ, Android Studio, etc.
• Web Browser: Chrome, Firefox (for testing web UI)
• API Tools: Postman or Insomnia (for testing REST APIs)
4. Optional Services
• Firebase – For push notifications.
• Twilio – For SMS/voice calls.
• Database – SQLite, Firebase Firestore, MySQL, or MongoDB.
• Hosting – Heroku, Render, Vercel, or local server.
To develop a college notification voice alert system, you can use a mix of
coding languages depending on the platform (web, mobile, desktop),
functionality (voice alerts, notifications), and your tech preference.
Here's a breakdown of the key coding languages involved:
26
5. Database Query Languages
(For storing student data and notification logs)
Language Common Databases
SQL MySQL, PostgreSQL (relational databases)
NoSQL (JSON-like) Firebase, MongoDB (flexible, scalable)
4.3 METHODOLOGY
4.3.1 SYSTEM ARCHITECTURE
The system architecture for a college notification voice alert project outlines
how different components work together to send text-based notifications (like
class updates, event alerts, or emergencies) as voice messages to students
through web, mobile, or speaker systems.
2. Component-wise Explanation
A. Admin/Web Dashboard (Frontend)
• Used by staff/admin to create and schedule notifications.
• Responsibilities:
o Notification history
• Options:
• Use local storage, cloud storage (Google Cloud, AWS S3), or Firebase
Storage
3. Optional Add-ons
• Mobile App: Built using Flutter or Kotlin, for push alerts or playback.
language preference.
29
Example Workflow:
1. Admin sends: "Exam rescheduled to Monday 10 AM."
2. Backend stores message and student list in database.
3. TTS API converts text into a voice file.
4. Voice file is stored (optional).
5. Alert is sent:
o As audio push to app
4.3.2 MODULES
To develop a college notification voice alert system, you can divide the
project into logical modules. These modules help you structure the system into
manageable components for development, testing, and deployment.
• Faculty
• Student
• Notification System
Use Cases:
• Upload notification
• Schedule notifications
• Manage users
2. Class Diagram
Purpose: Represents the structure of the system by showing classes and their
relationships.
Key Classes:
• User (base class)
32
o Admin, Faculty, Student (inherited)
• Notification
• TextToSpeechEngine
• Scheduler
• AlertDispatcher
Relationships:
• Admin/Faculty create notifications
3. Sequence Diagram
Purpose: Shows how objects interact in a specific scenario.
Scenario: Faculty uploads a notification.
Objects:
• Faculty → NotificationForm → System → TTS Engine → Notification
→ StudentDevice
Flow:
1. Faculty enters text
2. System saves notification
3. TTS engine converts text to voice
4. Alert is dispatched
5. Students receive notification (text + audio)
4. Activity Diagram
Purpose: Models the workflow of creating and sending a notification.
Activities:
• Login
• Validate input
Expired
• Notification Manager
• Scheduler
4.4 TESTING
1. Functional Testing
Verifies that the system behaves as expected.
• Unit Testing: Test individual components like:
2. Non-Functional Testing
Focuses on system performance and usability.
• Performance Testing:
notifications.
• Usability Testing:
• Security Testing:
• Compatibility Testing:
3. Regression Testing
Run after updates to ensure new features or bug fixes haven’t broken existing
functionality.
4. Accessibility Testing
Ensures the voice alert is helpful especially for students with visual
35
impairments:
• Verify clear speech output
36
CHAPTER 5
CONCLUSION
5.1 CONCLUSION
Final Thought:
The project not only addresses a practical problem in colleges but also
provides valuable experience in system design, software development, and
real-world deployment practices.
37
APPENDICES
A) SAMPLE CODE
Here’s a long and simple code for a College Notification Voice Alert project
using HTML, CSS, and JavaScript. This project allows you to:
• Select a role (Admin or Faculty)
• Type a notification message
• Hear the voice alert (via the browser’s built-in speech synthesis)
• View a history of past notifications (stored in memory)
<div class="container">
<h1>College Notification Voice Alert System</h1>
38
<!-- Form to input notification -->
<div class="form">
<label for="role">Select Role:</label>
<select id="role">
<option value="">-- Select Role --</option>
<option value="Admin">Admin</option>
<option value="Faculty">Faculty</option>
</select>
<script src="script.js"></script>
</body>
</html>
body {
font-family: Arial, sans-serif;
background-color: #f4f7fc;
padding: 40px;
}
.container {
max-width: 700px;
background-color: #ffffff;
margin: auto;
padding: 30px;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: #2f3d4e;
margin-bottom: 20px;
}
.form label {
display: block;
margin-top: 15px;
font-weight: bold;
color: #333;
}
.form select,
.form textarea {
width: 100%;
40
padding: 10px;
margin-top: 5px;
font-size: 14px;
border-radius: 5px;
border: 1px solid #ccc;
}
.form textarea {
resize: none;
}
button {
display: block;
width: 100%;
padding: 12px;
background-color: #3498db;
color: white;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
margin-top: 20px;
transition: background-color 0.3s;
}
button:hover {
background-color: #2980b9;
}
.history {
margin-top: 40px;
}
.history h2 {
color: #2f3d4e;
margin-bottom: 10px;
41
}
.history-box {
max-height: 200px;
overflow-y: auto;
background-color: #f7f7f7;
padding: 15px;
border-radius: 5px;
border: 1px solid #ddd;
}
.history-box p {
font-size: 14px;
color: #333;
margin-bottom: 10px;
}
if (!role || !message) {
alert("Please select a role and enter a message.");
return;
}
How It Works:
1. HTML provides the basic structure for the notification system. You can
select a role (Admin or Faculty) and input a message.
2. CSS styles the application, making it look clean and modern.
3. JavaScript handles the logic:
o When you click "Send Notification", the script:
▪ Reads the role and message.
▪ Displays the notification message in the "Notification
History" box.
▪ Clears the input field for the next message.
▪ Uses the SpeechSynthesisUtterance API to speak the
message aloud.
How to Use:
1. Enter the Role (Admin or Faculty).
2. Type a Message in the text area.
3. Click "Send Notification".
o The message will be spoken aloud by the browser.
o The message will appear in the "Notification History" section, with
a timestamp.
43
4. You can add more notifications, and they will appear in the history
section.
44
45
4.1 METHODOLOGY
4.1.1 SYSTEM ARCHITECTURE
46
The projected system is to observe every character from range plate one by one.
This could be done by morphological operation. It includes a way to section all the
characters employed in the quantity plate. Range plate extraction is that stage
wherever vehicle range plate is detected. The detected range plate is pre-processed
to get rid of the noise then the results passed to the section half to segment the one
by one character from the extracted range plate. The divided characters normalized
associate degreed passed to an OCR formula. Ultimately the optical character info
is going to be regenerate into encoded text. The characters recognized exploitation
template matching. The ultimate output should be within the type of string of
characters.
4.1.2 MODULES
4.1.2.1 Data Pre-Processing
The entries are present in the dataset. The null values are removed using df =
df.dropna() where df is the data frame. The categorical attributes
(Date,High,Low,Close,Adj value) are converted into numeric using Label Encoder.
The date attribute is splitted into new attributes like total which can be used as
feature for the model.
1. DataCleaning:
The data can have many irrelevant and missing parts. To handle this part, data
cleaning is done. It involves handling of missing data, noisy data etc.
2. DataTransformation:
This step is taken in order to transform the data in appropriate forms suitable for
mining process.
3. DataReduction:
Since data mining is a technique that is used to handle huge amount of data.While
working with huge volume of data, analysis became harder in such cases.In order
to get rid of this, we uses data reduction technique. It aims to increase the storage
efficiency and reduce data storage and analysis costs.
47
Convert color to grayscale
The lightness method averages the most prominent and least prominent
colors: (max(R, G, B) + min(R, G, B)) / 2. The average method simply averages
the values: (R + G + B) / 3. The luminosity method is a more sophisticated version
of the average method
Gaussian filter
A Gaussian filter is a linear filter. It's usually used to blur the image or to reduce
noise. The Gaussian filter alone will blur edges and reduce contrast. The Median
filter is a non-linear filter that is most commonly used as a simple way to reduce
noise in an image.
Edge Detection
Each image (video frame) has three significant features to achieve detection goals.
These features include: edges, contours and points. Among mentioned features, an
appropriate option is to use edge pixels. Processing of image pixels enables us to
find edge pixels, which are the main features of passing vehicles in a roadway
video frame. Edge detection process is demonstrated in a binary image (threshold)
with the detected edge pixels. The next step is to extract moving edges from
sequential video frames and process the resulting edge information to obtain
quantitative geometric measurements of passing vehicles.
Contour
Masking
The idea behind masking is to have two additional arrays that record whether an
input or output is actually present for a given time step and example, or whether
the input/output is just padding.
Model Creation :
48
CNN Algorithm
Training
The training data set in Machine Learning is the actual dataset used to train the
model for performing various actions. This is the actual data the ongoing
development process models learn with various API and algorithm to train the
machine to work automatically.
Testing
Features selection is done which can be used to build the model. The attributes
used for feature selection are Date,Price,Adj close, Forecast X coordinate , Y
coordinate, Latitude , Longitude, Hour and month.
49
4.1.2.3 Building and Training Model:
After feature selection location and month attribute are used for training. The
dataset is divided into pair of xtrain ,ytrain and xtest, y test. The algorithms model
is imported form skleran. Building model is done using model. Fit (xtrain, ytrain).
This phase would involve supervised classification methods like linear regression,
Ensemble classifiers (like Adaboost, Random Forest Classifiers), etc.
The captured image is in capital RGB format. It is converted into grayscale image
and into binary image.
The character segmentation part further segments the character individually from
the extracted number plate. From input image the first process will be to crop out
the number plate characters from starting to the ending point leaving all the extra
wide spaces from top to below and from right to left as it is. Characters are equally
fit in the plate region. For easy comparison of the input character with the character
in the data base the result is normalized into the character set as the size of the
images in the database.
50
4.1.3 UML DIAGRAMS
The UML represents a collection of best engineering practices that have proven
successful in the modeling of large and complex systems.
The UML is a very important part of developing objects oriented software and the
software development process. The UML uses mostly graphical notations to
express the design of software projects.
GOALS:
51
4. Provide a formal basis for understanding the modeling language.
A use case is a set of scenarios that describing an interaction between a user and a
system. A use case diagram displays the relationship among actors and use cases.
The two main components a user or another system that will interact with the
system modeled. A use case is an external view of the system that represents some
action the user might perform in order to complete a task.
52
Fig 4.3 Sequence diagram
53
4.2 TESTING
4.2.1 Software Testing
General In a generalized way, we can say that the system testing is a type of
testing in which the main aim is to make sure that system performs efficiently and
seamlessly. The process of testing is applied to a program with the main aim to
discover an unprecedented error, an error which otherwise could have damaged the
future of the software. Test cases which brings up a high possibility of discovering
and error is considered successful. This successful test helps to answer the still
unknown errors.
54
completed it takes place. Plus it is taken into account after the individual
united is completed before integration. The unit test thus performs the basic
level test at its component stage and test the particular business process,
system configurations etc. The unit test ensures that the particular unique
path of the process gets performed precisely to the documented
specifications and contains clearly defined inputs with the results which are
expected.
These tests are designed to test the integrated software items to determine
whether if they really execute as a single program or application. The testing
is event driven and thus is concerned with the basic outcome of field. The
Integration tests demonstrate that the components were individually
satisfaction, as already represented by successful unit testing, the
components are apt and fine. This type of testing is specially aimed to
expose the issues that come-up by the components combination.
System testing, as the name suggests, is the type of testing in which ensure
that the software system meet the business requirements and aim. Testing of
the configuration is taken place here to ensure predictable result and thus
analysis of it.System testing is relied on the description of process and its
flow, stressing on pre driven process and the points of integration.
55
(V) WHITE BOX TESTING
The white box testing is the type of testing in which the internal
components of the system software is open and can be processed by the
tester. It is therefore a complex type of testing process. All the data
structure, components etc. are tested 26 by the tester himself to find out a
possible bug or error. It is used in situation in which the black box is
incapable of finding out a bug. It is a complex type of testing which takes
more time to get applied.
The black box testing is the type of testing in which the internal
components of the software is hidden and only the input and output of the
system is the key for the tester to find out a bug. It is therefore a simple type
of testing. A programmer with basic knowledge can also process this type of
testing. It is less time consuming as compared to the white box testing. It is
very successful for software which are less complex are straight-forward in
nature. It is also less costly than white box testing.
56
CHAPTER 5
CONCLUSION
5.1 CONCLUSION
Future work lies in producing more accurate results with lesser response
time according to the prescribed specifications of vehicle number plates and
automated system software is to be developed in future work.
REFERENCES
1.A New Approach for Vehicle Number Plate Detection, Sarthak Babbar ;
Saommya Kesarwani ; Navroz Dewan ; Kartik Shangle ; Sanjeev Patel,
2018 Eleventh International Conference on Contemporary Computing (IC3)
57
14th IAPR International Conference on Document Analysis and
Recognition (ICDAR)
A) SAMPLE CODE
59
r.execute("select name,pwd from userregister where name=? and
pwd=?",(username,password))
rows=r.fetchall()
if username=='Admin' and password=='Admin':
return redirect(url_for('Admin'))
else:
if len(rows)!=0:
for i in rows:
if i[0]==username and i[1]==password:
return redirect(url_for('userpage'))
#return render_template('user.html',username=username)
else:
return render_template('login.html',err=err)
else:
return render_template('login.html',err=err)
return render_template('login.html')
@app.route('/reg',methods=["GET","POST"])
def reg():
uname=None
pwd=None
phn=None
ema=None
vtype=None
vnum=None
msg="Register successfully"
if request.method=='POST':
uname=request.form['txt']
pwd=request.form['passw']
phn=request.form['phn']
ema=request.form['ema']
vtype=request.form['vtype']
vnum=request.form['vnum']
try:
import sqlite3
table_name = 'userregister'
60
conn = sqlite3.connect("carparking.db")
c = conn.cursor()
c.execute('create table if not exists ' + table_name + ' (name
varchar(50),pwd varchar(50) primary key,phn varchar(50),ema
varchar(50),vtype varchar(50),vnum varchar(50))')
c.execute('insert into '+table_name+' values
(?,?,?,?,?,?)',(uname,pwd,phn,ema,vtype,vnum))
conn.commit()
conn.close()
flash("Register successfully")
except:
return render_template('registration.html',msg=msg)
# return render_template('registration.html')
else:
return render_template('registration.html')
return render_template("registration.html")
@app.route('/userpage',methods=["POST","GET"])
def userpage():
err="Your not authorized to park here."
sloterr="Parking slot was full"
if request.method=='POST':
image = request.files['ocrImage']
text = ''
filename = secure_filename(image.filename)
image.save(os.path.join(app.config['UPLOAD_FOLDER'], filename))
img = Image.open(os.path.join(app.config['UPLOAD_FOLDER'],
filename))
text = pytesseract.image_to_string(img)
print(text)
session["vnumm"]=text.strip()
conn=sqlite3.connect("carparking.db")
r=conn.cursor()
r.execute("select name,phn,vtype,vnum from userregister where
vnum=?",(session["vnumm"],))
rows=r.fetchall()
61
li=[]
if len(rows)!=0:
if rows[0][3]==session["vnumm"]:
ss=conn.cursor()
ss.execute("select slot from parkingslot where status=?",("available",))
slotrow=ss.fetchall()
if len(slotrow)!=0:
for i in slotrow:
li.append(i)
session["slot"]=li[0]
return
render_template("user.html",rows=rows,slotrow=session["slot"])
else:
return render_template("user.html",rows=rows,err=sloterr)
else:
print("noo")
else:
return render_template("user.html",err=err)
return render_template('user.html',text=session["vnumm"])
else:
return render_template("user.html")
return render_template('user.html')
if name ==' main ':
app.run(debug=True)
62