Emotion Detection System
Emotion Detection System
Supervisor
Tahir Rasheed
Supervisor
Tahir Rasheed
The candidate confirms that the work submitted is their own and appropriate credit has been
given where reference has been made to the work of others.
COMSATS University, Islamabad Pakistan
A project presented to
COMSATS Institute of Information Technology, Islamabad
By
Supervisor
External Examiner
Head of Department
(Department of Computer Science)
Executive Summary
Emoodify is a web-based platform designed to enhance users' emotional well-being by leveraging
cutting-edge emotion detection and personalized content recommendations. This innovative system
integrates advanced Deep Learning CNN algorithms to analyze users' emotions from images, offering
tailored content such as entertainment, inspiration, and self-care tips that align with users' current
emotional states.
Traditional emotion detection applications typically focus on surface-level analysis, but Emoodify stands
out by providing a holistic user experience that combines real-time emotion detection with curated
content recommendations. Users can interact with the platform through a user-friendly interface that
allows seamless navigation, real-time emotion feedback, and customization options for content
preferences.
Emoodify's unique approach includes not only providing uplifting and entertaining content but also
fostering a sense of happiness and positivity in users' lives. The platform's continuous improvement is
driven by user feedback and advancements in emotional well-being research.
In addition to offering a wide range of content, Emoodify's impact extends across multiple domains
such as mental health improvement, the entertainment industry, educational tools, and corporate well-
being programs. The platform ensures user privacy and data security through encryption and adherence
to data protection regulations.
Emoodify's comprehensive architecture includes an Emotion Detection Module, Content
Recommendation through APIs, and a User Interaction Interface. The system operates in a web based
environment compatible with major operating systems and browsers, supporting devices with cameras
such as PCs, laptops, smartphones, and tablets.
Acknowledgement
All praise is to Almighty Allah who bestowed upon us a minute portion of His boundless knowledge by
virtue of which we were able to accomplish this challenging task.
We are greatly indebted to our project supervisor “Sir Tahir Rasheed”. Without their personal
supervision, advice and valuable guidance, completion of this project would have been doubtful. We
are deeply indebted to them for their encouragement and continual help during this work.
And we are also thankful to our parents and family who have been a constant source of encouragement
for us and brought us the values of honesty & hard work
PC Personal Computer
Table of Contents
1 INTRODUCTION...............................................................................................................................11
1.1 System Introduction.....................................................................................................................11
1.2 Background of the System...........................................................................................................11
1.3 Objectives of the System.............................................................................................................12
1.4 Significance of the System...........................................................................................................12
2 REQUIREMENT SPECIFICATIONS................................................................................................13
2.1 Product Scope..............................................................................................................................13
2.2 Product Description...................................................................................................................13
2.2.1 Product Perspective...........................................................................................................13
2.2.2 Product Functionality.........................................................................................................14
2.2.3 Users and Characteristics...................................................................................................14
2.2.4 Administrators:..................................................................................................................15
2.2.5 Operating Environment.....................................................................................................15
2.3 Specific Requirements.................................................................................................................16
2.3.1 Functional Requirements...................................................................................................16
2.3.2 Behavioral Requirements...................................................................................................16
2.3.3 Check Emotions:................................................................................................................17
2.3.4 Content Review:.................................................................................................................17
2.3.5 Improvements:...................................................................................................................17
2.3.6 External Interface Requirements.......................................................................................18
2.3.7 Hardware Interfaces..........................................................................................................21
2.3.8 Software Interfaces............................................................................................................21
2.3.9 Communication Interfaces.................................................................................................22
2.4 Non-functional Requirements......................................................................................................22
2.4.1 Performance Requirements...............................................................................................22
2.4.2 Safety and Security Requirements.....................................................................................22
2.4.3 Software Quality Attributes...............................................................................................23
3 DESIGN SPECIFICATIONS..............................................................................................................24
3.1 Introduction..................................................................................................................................24
3.2 Composite Viewpoint..................................................................................................................24
3.3 Logical Viewpoint.......................................................................................................................25
3.4 Information Viewpoint.................................................................................................................25
3.5 Interaction Viewpoint..................................................................................................................26
3.6 State Dynamics Viewpoint..........................................................................................................27
4 DEVELOPMENT AND TOOLS........................................................................................................28
4.1 Introduction..................................................................................................................................28
4.2 Development Plan........................................................................................................................28
4.3 Development Tools......................................................................................................................29
4.4 Conclusion and Future Work/Extensions....................................................................................29
5 QUALITY ASSURANCE...................................................................................................................30
5.1 Introduction..................................................................................................................................30
5.2 Traceability Matrix......................................................................................................................30
5.3 Test Plan......................................................................................................................................31
6 USER MANUAL.................................................................................................................................32
6.1 Introduction..................................................................................................................................32
6.2 Hardware/Software Requirements for the System.......................................................................32
6.3 Installation guide for Application................................................................................................32
6.4 Operating Manual........................................................................................................................32
1 INTRODUCTION
This chapter introduces Emoodify, a web-based platform with interchangeable features,
personalized content recommendations and emotion detection to improve user emotional
well- being. We give an overview of the system's history and emphasize its distinctive
method of fusing personalized content recommendations with emotion recognition. The
goals of Emoodify are listed with a focus on delivering a pleasant user experience,
encouraging joy and optimism and making constant improvements in response to user input
and technology developments. In conclusion, we go over the importance of Emoodify and
demonstrate how it can affect a range of industries, including education, entertainment,
mental health and corporate wellness initiatives.
Software varies widely in the field of emotion aware applications basic emotion
detection tools to more complex platforms with sentiment analysis are available.
Emoodify offers a special combination of personalized content recommendations and
real-time engagement by fusing emotion detection with user emotion. The user
experience with Emoodify is more comprehensive and captivating than with
conventional emotion detection apps since it goes beyond superficial analysis. Emoodify
distinguishes itself from other systems with the incorporation of interactive features,
personalized content recommendations and a focus on user emotions.
1.3 Objectives of the System
Emoodify is significant because of its capacity to affect user mental health and the
variety of application domains it can serve such as:
It also offers use case scenarios that describe tasks including managing profiles,
registering users, assessing emotions, reviewing content and making system
enhancements for both ordinary users and administrators. A system-level use case graphic
that shows how users, administrators and other system operations interact with one
another wraps up the chapter.
Emoodify is made to offer a full platform for user interaction, content recommendation
and emotion detection. Its main goals are to read facial expressions, recognize emotions
with accuracy, provide tailored content based on user choices, detected emotions and
encourage user interaction with feedback systems. The software functionality includes
user interaction, content recommendation, emotion analysis and system management. It
also ensures smooth navigation, user-friendly interfaces and standard security measures.
Emoodify stays focused on its intended features of user experience, content
recommendation, user interaction or system management.
Regular Users:
Characteristics:
Moderate to high frequency of use.
Varied technical expertise.
Access to basic functionalities.
Requirements:
Seamless navigation.
User-friendly interface.
Standard security measures.
2.2.4 Administrators:
Characteristics:
Moderate frequency of use.
High technical expertise.
Full access to all functionalities.
Requirements:
Advanced user controls.
Enhanced security features.
Comprehensive reporting tools.
Distinguishing Important Users:
The user probably makes up the majority of the user base but the administrators are essential
for efficiently overseeing the system and guaranteeing its safety and seamless functioning.
However, a smooth and user friendly experience is necessary for the average user. Other
advanced security features; controls are essential for administrators to carry out their duties.
Both users and administrators are crucial but administrators may need extra care to ensure
that their unique needs are met in order to preserve Emoodify's integrity and functionality.
Actors:
User: Performs actions in the system via the User Interaction Interface.
Admin: These are the users who actually made improvements and checked
ratings.
Actor: User
Description: Through the user interaction interface user can manage his profile.
This consists of up to date info, desire modifications and viewing past
activities.
Actor: User
Actor: User
Description: A clear explanation of how users can review suggested content
through the User Interaction Interface.
The content they engage can be rated, commented or provided feedback.
2.3.5 Improvements:
Actor: Admin
Description: Provides system analytics and user feedback to admins so they can
see where changes need to be made. These teams can implement changes to
improve the performance of the system, algorithmic recommendations, or user
experience.
2.3.6 External Interface Requirements
User Interface
Default:
Button: Result
Function: It will take the user to the result page where user can check result.
Button: About
Function: It will take the user to the About page.
Button: Click here to open camera
Function: It opens a pop window for user to click his/her image to check
emotion.
Button: Click here to upload image
Function: It opens a pop window for user to Upload his/her image to check
emotion.
Results:
Function: It will take the user to the result page where user can check result
and watch videos, read books and hear music.
About:
Camera Interface: This allows the system to connect with the camera of the
device for live feeds.
Device Compatibility: Compatible with any device that opens a browser and
has a camera.
System Support: Compatible with Windows, machos, Linux, Android & iOS
amongst other mainstream OS.
Web Browser: Modern UIs need a modern web browser
APIs connects to external APIs for additional services and data enrichment.
2.3.9 Communication Interfaces
Reliability
In the case of continuous availability, a system is provided at least 99.9% uptime.
Since the recovery time in the case of system failure must be less than 30 minutes.
Maintainability
Codebase will conform to our coding standards and the system will be well
documented for future development teams to maintain it.
Patches and updates should be live with minimum downtime.
Usability
The User Interaction Interface include controls and features that are laid out in
a user-friendly way, structured according to a series of usability norms.
Collection of user feedback and interface improvements, which will be updated
monthly.
Scalability
The system must be architecturally designed to horizontally scale and handle
increased users.
It is recommended to perform performance testing regularly to make the system
working well with different number of users.
Flexibility
The system will be such that allow future integration of more functionalities or
third- party services.
The changes to the content generation algorithms will adapt easily along with
some emotion detection techniques.
3 DESIGN SPECIFICATIONS
In design specification, it provides details about the design of Emoodify such as architectural
design, user interface design, database design, and other aspects of the design that are
important in the development of the platform. This chapter outlines the architecture of
Emoodify and how users would be able to navigate with the application.
3.1 Introduction
This chapter provides an understanding of the design specifications of Emoodify and the
factors like composite view point, Logical View point and Informational View point, etc. It
gives a clear indication on how the system will look like and how the users will be able to use
it during the development phase of the project.
3.4 Information
Viewpoint
4.1 Introduction
In this chapter, an emphasis is placed on the tools that were employed in the creation of the
application called Emoodify. It illustrates languages, frameworks, version control systems,
ide used in the front end and back end development of the software. It may also refer to any
other additional tools used during testing or for testing purposes or even for deployment.
Development Team:
M Azhar
M Fahad Imtiaz
Development Plan:
5.1 Introduction
This section presents the quality assurance initiatives carried out on Emoodify which relates
to the testing approaches and techniques. It defines several testing approaches to ensure
validity and reliability including performance testing, security testing, usability testing and
functional testing. In Quality assurance includes the discussion of the need the process of
constructing test plans, test cases and the requirement traceability matrices. In general, all
these actions are intended to provide users with an uninterrupted positive experience and
achieve the goals set by Emoodify.
R_2 X X
5.3 Test Plan
6 USER MANUAL
In this chapter, we proved a comprehensive user manual for Emoodify, guiding users through
the installation, operation, and usage of the web application. It includes information on
hardware and software requirements, installation procedures, and an operating manual to
navigate the platform effectively.
6.1 Introduction
We provide a comprehensive user manual for Emoodify, guiding users through the
installation, operation, and usage of the web application. It includes information on hardware
and software requirements, installation procedures, and an operating manual to navigate the
platform effectively.