Escolar Documentos
Profissional Documentos
Cultura Documentos
Specification
for
Prepared by
BS(CS) 8TH R
11/03/11
Copyright © 1999 by Karl E. Wiegers. Permission is granted to use, modify, and distribute this document.
Software Requirements Specification for <Project> Page ii
Table of Contents
1. Introduction................................................................................................................................1
1.1 Purpose ............................................................................................................................................... 1
1.2 Document Conventions....................................................................................................................... 1
1.3 Intended Audience and Reading Suggestions..................................................................................... 1
1.4 Product Scope..................................................................................................................................... 1
1.5 References........................................................................................................................................... 1
2. Overall Description....................................................................................................................2
2.1 Project Perspective.............................................................................................................................. 2
2.2 Project Functions................................................................................................................................. 2
2.3 Operating Environment....................................................................................................................... 4
2.4 Design and Implementation Constraints............................................................................................. 4
2.5 Assumptions and Dependencies......................................................................................................... 4
3. External Interface Requirements............................................................................................. 4
3.1 Hardware Interfaces............................................................................................................................ 4
3.2 Software Interfaces............................................................................................................................. 4
4. System Features......................................................................................................................... 4
4.1 Camera capturing................................................................................................................................ 5
4.2 Face recognition.................................................................................................................................. 5
4.3 Facial expression recognition............................................................................................................. 5
5. Other Nonfunctional Requirements.........................................................................................6
5.1 Performance Requirements................................................................................................................. 6
5.2 Safety Requirements........................................................................................................................... 6
5.3 Security Requirements........................................................................................................................ 6
5.4 Software Quality Attributes................................................................................................................ 6
Revision History
Name Date Reason For Changes Version
Software Requirements Specification for Facial Expression Recognition Page 1
1. Introduction
1.1 Purpose
The purpose of this project is to locate face into an image from video stream of webcam. Then
implement algorithms to detect the facial expression of person in that image. And finally respond
to that person in the form of some actions.
1: font = times, size = 18, Decoration Bold, Style = Heading 1 Default setting of MS word for
main heading. This convention is used for Main Heading.
2: font = times, size = 14, Decoration Bold, Style = Heading 2 Default setting of MS word for sub
heading. This convention is used for Sub Heading inherited from each respected main heading.
3: font = Arial, size = 14, Decoration Italic. Used for Description of Sub Heading and related
explanation.
4: font = Arial, size = 14, Decoration Italic, Bold, Used to highlight the Specific description
features.
This document will be helpful to the different users and administrators and developer.
Facial expression recognition system is an important field in computer sciences. It is widely used
in robots, doctor helping systems, liar detection system, and advance integration in interrogation
system for intelligence agencies. As well as it used on airports to detect smugglers and terrorists.
1.5 References
2. Overall Description
It is a new, self-contained product. Today terrorism is a big issue in the world. Most of the
countries facing most problems due to terrorism for example lost of life, damage of buildings,
increasing number of physiological patients and big problem related to security issues. So there is
a big need to make a system which can be help to recognize the terrorist in specific environment.
Pakistan has no such a system
Pentium IV processor 2 GHz, 512 MB RAM and 1.3 mega pixel camera is required for this
system.
This system is developed in visual C++ using libraries of open CV. Microsoft window 7 is primary
operating system used for develop this system.
Open CV 2.2 libraries will be use for image processing, which is developed by Intel to enhance
the capabilities of graphic hardware of computer system. It is available in market to use on the
bases of GPL license for free, commercial and non-commercial use. Microsoft Windows 7 will be
use as operating system for development of this system. Visual C++will be use as development
language and C# will be use as interface design. MS SQL 2005 will be use as database to store
the facial expressions patterns of a specific person. There may be more than one person’s
related data but there only one person data will be use for initial testing.
4. System Features
The major services provided by the product are following.
Software Requirements Specification for Facial Expression Recognition Page 5
System will recognize and locate the face in captured image. Locating the position
and face existence in the presence of complex or simple background which mean
that there can be a complex detail or clear seen behind the person. The priority of
this feature is medium (2).
System will recognize the facial expression of person from given person’s image by
applying algorithm. It recognizes whether the person is happy, sad or fear etc.
Computer should be Pentium IV or above for best performance of software. System should be
virus free. Make possible any heavy application is not running on the computer during running
this software. Computer RAM is main factor of software performance so RAM should be
maximum according to software requirements.
Camera that is use for this software should be plug-in properly. If external camera connected to
computer then connector and table must not damage. If camera not needs to use further, turn of
the camera, if using external camera then unplug form computer properly to safety from lose that
can be cable damage or some circuit problem. If using infrared camera then should not use it for
long time. If not needs to use software further then properly close the software for the safety of
environment which cause the increasing of environment temperature.
Software is password protected. It will store historical data related to specific person so only
authorize user should be access this software. If not care about privacy historical data may be
steel. Database contain software related data so do not try to open the database directly which
cause lost of data.
1-Reliability:
Software is reliable if train it maximum by providing large number of patterns of facial expression,
which helpful in facial expression recognition. Good quality camera is best for reliable and
accurate result.
2-Portibility:
Software is portable. It can be use at any computer and easily move from one computer to
another computer using USB Flash.
3-Avialibility:
Software is for a single system use at a time. It is cannot use on network like LAN and internet.
Software will use only one camera at a time. If more than one cameras are attached to system it
will use best possible camera.
Appendix: Glossary
USB: Universal Serial Bus.
LAN: Local Area Network.
GPL: General Public License
Software Requirements Specification for Facial Expression Recognition Page 7