Вы находитесь на странице: 1из 6

3. REQUIREMENT SPECIFICATION 3.1 Introduction 3.1.

1 Introduction This Software requirement specification provides a complete description of all the functions and specifications of the gesture recognition on a mobile device. 3.1.2 Scope This project describes an application created on Android mobile phone that recognizes gestures using the Smartphones orientation sensor. 3.2 Overall description 3.2.1 System Environment Start Gesture
cap
User

Convert Gesture into Signal

Fig 3.1 System Environment

Running Presentation

Description The goal of the application is to control a PowerPoint presentation using simple gestures. There should be separate gestures for starting and stopping the presentation, as well as moving to the next slide, or previous slide. Also, the gestures should not be too complicated so that they seem natural, and the user could concentrate on giving a presentation.

3.2.2 Functional Requirements Functional requirements are those that refer to functionality of the system (i.e.) what services it will provide to other information needed to produce the correct system and are detailed separately. 3.2.3 Use cases 1. Gesture Recognition 2. Converting gesture into signal 3. Controlling Presentation

3.2.3.1 Gesture Recognition Capturin g Gesture


User

frames

<<Extend>> Sensor Data

Fig 3.2 capturing the gestures

Description:

The application reads the accelerometer by registering a

Callback function for when there are sensor updates. This causes our callback function to be called whenever the phone detects that there are changes in the orientation of the phone.

3.2.3.2. Converting gesture into signal Capturin g Gestures

User

Converting into message Transmitting Message

Sensor Data
Fig 3.3 Converting and Transmitting gesture to Remote Location

Description Once the phone has recognized a gesture, it needs to transmit that information to the computer where the presentation software is running. 3.2.3.3 Controlling Presentation Running Presentatio n

Gesture Signal
Fig 3.4 Controlling Presentation

Description The presenter can then continue with the presentation by moving the phone to either the Up position for the next slide, Down for the previous slide, or to Left position to end the presentation. The server also displays a log of the events that are sent to the server to give feedback that the server is functioning properly.

3.2.4 Non-Functional Requirements Non-Functional Requirements are the requirements that are nonfunctional in nature. Specifically these are the constraints that the system must work within. 3.3 Software Requirement specification 3.3.1 Functional Requirements 3.3.1.1 Gesture Recognition Use case name Gesture Recognition Priority Essential Trigger Gesture Pre Condition Smartphones orientation sensor Basic Path 1. Get the gesture from the user. 2. Recognize the gesture using the sensors Alternate Path N/A Post Condition Generate the signals Exceptions Send the Error Message if the gesture is incorrect Reference 3.5.1
Tbl 3.1 Gesture Recognition

3.3.1.2 Converting gesture into signal Use case name Priority Trigger Pre Condition Basic Path Converting gesture into signal Essential After sensing the gesture The gesture should be a valid one 1. Capture the gestures of the user using the sensors 2. Convert the gestures into messages. N/A

Alternate Path

Post Condition Exceptions Reference

Transmit the messages Send the Error Message if any error occur during the conversion 3.5.2
Tbl 3.2 Converting gesture into signal

Use case name

3.3.1.3 Controlling Presentation Controlling Presentation

Priority Trigger Pre Condition Basic Path

Essential On Gesture signal Presentation should be available 1.Recieve the signal 2. Run the presentation depending upon the signal.

Alternate Path Post Condition Exceptions Reference

N\A None Send the Error Message 3.5.3


Tbl 3.3 Controlling Presentation

3.3.2 Non-Functional Requirements 3.3.2.1 Computer Requirements Hardware Requirement System Requirements: 1. Minimum of two systems/Laptops with Wi-Fi capability. 2. Smart Phone with Android OS Software Requirements OS: Windows 9x / NT/2003 Server / TCP IP Suite Application: Eclipse IDE,Android Plug-in Web server: IIS5.0 Browser: IE Communication Requirement The client should be connected to the server through Wi-Fi.