Voice Operated Comapanion Report - New2
Voice Operated Comapanion Report - New2
BACHELOR OF ENGINEERING
IN
COMPUTER ENGINEERING
SEMESTER 6
GROUP MEMBERS
UNIVERSITY OF MUMBAI
2023 – 24
DECLARATION
We declare that this written submission represents our ideas in our own words and
where others ideas or words have been included, we have adequately cited and
referenced the original sources. We also declare that we have adhered to all principal of
academic honesty and integrity and have not misrepresented or fabricated or falsified any
idea/data/fact/source in my submission. We understand that any violation of the
above will be cause for disciplinary action by the Institute and can also evoke penal
action from the sources which have thus not been properly cited orfrom whom proper
permission has not been taken when needed.
Date:
Place: SHELU
G.V ACHARYA INSTITUTE OF ENGINEERING AND TECHNOLOGY
SHELU-410201
CERTIFICATE
This is to certified that,This Project Report Entitled
________________________
Principal
G.V.A.I.E.T
PROJECT REPORT APROVAL
This project report entitled “Name of Project” by “Name of Group Member with
Roll No.” is approved for the degree of “Bachelor of Computer Engineering”.
Examiner’s
1.
2.
Date:
Place: SHELU
ACKNOWLEDGEMENT
We remain immensely obliged to Prof. B.B.JADHAO for providing us with themoral and
technical support and guiding us. We would also like to thank our guide for providing us
with his expert opinion and valuable suggestions at every stage of project.
We would like to take this opportunity to thank Prof. DINESH BHERE, Head of
ComputerEngineering for his motivation and valuable support. This acknowledgement is
incomplete without thanking teaching and non – teaching staff of department of their kind
support.
We would also like to thank Dr. Prashant Sonare, principal of G. V. Acharya Institute of
Engineering and Technology, Shelu for providing the infrastructure and resources required
for project.
Chapter 1.Introduction…………………………………………. 3
o References
o Appendix
ABSTRACT
7
1.Introduction to Project
The term "Audible ally" might evoke memories of a fictional AI butler from the realm
of popular culture. While the comparison is not without merit, this real-world "Audible
ally" is a testament to the remarkable progress in Natural Language Processing (NLP)
and Artificial Intelligence (AI). Developed using Python, this system is a versatile and
responsive companion, tailored to meet the evolving needs and expectations of modern
users.
8
5. Proposed System
At the heart of the proposed system is a commitment to providing users with a highly
personalized and adaptive virtual assistant. "Audible ally" is not just a static tool but an
intelligent companion that learns from user interactions. Through machine learning and
artificial intelligence, it continually refines its understanding of user preferences and
adapts its responses accordingly. This self-improving feature ensures that "Audible ally"
becomes more attuned to each user over time, offering a truly tailored experience.
9
Software requirement specification
document
Introduction
1.1 Purpose
The purpose of this document is to define the software requirements for the
development of a voice-operated companion using Python.
1.2 Scope
This project aims to create a voice-operated companion that can understand and
respond to user commands, provide information, and perform various tasks through
natural language processing.
System Overview
2.1 System Architecture
- High-level architecture diagram.
- Description of key components (voice recognition, natural language processing,
response generation, etc.).
Functional Requirements
3.1 Voice Recognition
- The system should be able to recognize voice commands.
- Specify the supported languages.
- Define accuracy and response time requirements.
Non-Functional Requirements
4.1 Performance
- Specify response time requirements.
- Define system scalability and resource usage.
Security
- Describe measures for securing user data and preventing unauthorized access.
Usability
- Ensure the user interface is intuitive and user-friendly.
Compatibility
- Specify compatible hardware and software platforms.
System Constraints
- Hardware and software constraints (e.g., minimum system requirements).
11
2.1. SDLC Model to be used
To ensure high quality, rigorous testing and quality assurance are integrated throughout
the development process. Documentation is also crucial, as it supports ongoing
development, maintenance, and knowledge transfer.
12
5.6Design approach
1. Project Definition:
- Define the project's goal: To create a voice-operated companion that can understand
and respond to user voice commands and questions.
2. Hardware Selection:
- Select the hardware components, including a microphone and speaker, and set up the
necessary audio interfaces.
3. Software Stack:
- Choose Python as the programming language for development.
- Utilize the `SpeechRecognition` library for speech recognition and the `gTTS` library
for text-to-speech conversion.
5. Speech Recognition:
- Implement speech recognition using the `SpeechRecognition` library to capture audio
input from the microphone.
6. Intent Recognition:
- Develop a simple logic to understand the user's intent.
13
7. Response Generation:
- Create logic to generate responses based on user input (in this example, we echo the
user's input).
8. Text-to-Speech Conversion:
- Utilize the `gTTS` library to convert response text into speech.
9. Error Handling:
- Implement basic error handling to handle situations where speech recognition fails.
14. Documentation:
- Create documentation for the project, including user guides and developer
documentation for future enhancements.
14
15. User Feedback Loop:
- Establish a feedback mechanism to continuously improve the companion's
performance and address user needs and suggestions.
This design approach outlines the steps involved in creating a basic voice-operated
companion. For a more advanced and feature-rich companion, you would need to
integrate natural language processing, intent recognition, and external APIs for
additional capabilities.
15
5.2 Design Details
1. Hardware Setup:
- Connect a microphone and speaker to your Raspberry Pi or chosen microcontroller.
2. Software Setup:
- Install necessary Python libraries for speech recognition and text-to-speech.
- Set up any required APIs or data sources for additional information (e.g., weather
data).
3. Speech Recognition:
- Use the selected library to capture audio input from the microphone.
- Convert the audio to text using the library's functions.
5. Generating Responses:
- Generate appropriate responses based on the user's input and the functionality of your
companion.
- Utilize the text-to-speech library to convert response text into speech.
6. Interaction Loop:
- Create a continuous loop that listens for user input, processes it, and responds
16
5.3 Data flow Daigram (DFD) Flowchart
17
References
www.stackoverflow.com
www.pythonprogramming
www.google.co.in
18
8. Conclusion
19