11
CHAPTER 4

doc3

Embed Size (px)

DESCRIPTION

d

Citation preview

CHAPTER 424MODULES DESCRIPTION4.1 FACEDETECTIONMODULE4.2 HAND MOVEMENT TRACKING4.3 COLOURDETECTION4.4 APPLICATION MODULEFACE DETECTION MODULE:Thismoduleinitiallyneedstwopreliminarystepsthat ispersondetectionandforeground extraction. Here we have used webcam to detect the person head. Initially thefirst personheadpositionisdetected. Oncetheheadofthefirst personistracked, asecond strong increase of the number of pixels is assumed to be a second person in thescene, and so on. An area filtering step is performed on to filter small noisy ones. Hencewe can overcome the noise effect and can exactly track the head. Here we first estimatethe sie of the head and then estimate its position. !e have also employed techni"ue toresie the search one in order to increase the accuracy.HAND MOVEMENT TRACKING: In this module, hands are detected and tracked. The hand tracking algorithmfully relies on the head position estimation already being calculated. A box#shaped $#%one is assumed where hands are likely to be placed is attached to this head estimation. Itallows the user to freely move the hands in the scene. Techni"ues are also used to detectwhetherthehandsareclosedoropened. Here&.'%dataisusedwhichincreasestherobustness of the system. Hands are only used for tracking of ob(ect on the screen as itcanbe moved freely.Here the concept of color is used toavoid the natural colordiscrimination of hands. )sing these colors the ob(ects on the screen is monitored andcontrolled. Here we have used two different colors i.e. *ed and +ellow to control thegame application.25COLOUR DETECTION:This module depicts how the colors are detected to provide an interaction with thesystem. Here we have used two colors i.e *ed and +ellow. Initially ,erging and filteringof colors takes place. -olors are merged i.e two clusters are merged as a single cluster ifthe handoff distancebetweenthemis smaller thana givendistancethreshold. Theresulting merged clusters are filtered by sie and depth filtering is applied.Two coloursareprovidedfortwodifferentfunctioni.eherewehaveused*edcolorforfiringofbullets from the plane in the game application and used yellow color for the movement ofplane. Thisishowthegameapplicationiscontrolledusingtwocolorsandcreatesavirtual environment.APPLICATION MODULE: Here, A .ame application is created to show the implementation of the pro(ect .It isshownasanexampleofhowthegesturerecognisitionsystemisusedtocontrol thesystemanditsmonitor.)singthehandtrackingmethod, wehavebuilt anreal timeinteractive application. Here the game application is controlled with the help of the twocolors. If red color is detected, then the bullets from the plane are fired in the game. Andif yellow is detected, it leadsto the movement of the plane. This is how using two colorsan interactive game application is created and created an virtual environment. This showsthe implementation of hand tracking used in *eal world applications.26 CHAPTER 5&/SYSTEM TESTINGTesting is the one step in the 0oftware 1ngineering process that could be viewed as destructive rather than constructive. 0oftware testing is a critical element of software "uality assurance and represents the ultimate reviews of specification, design and coding. Testing represent an interesting anomaly for the software. Testing is vital to the success of the system.1rrors can be in(ected at any stageduring development. 0ystem testing makes a logical assumption that if all the parts of thesystem are correct, the goal will be successfully achieved. %uring testing, the program tobetestedisexecutedwithset ofdataandtheoutput ofprogramforthetest dataisevaluated to determine if the program are performing as expected. Testing cannot showthe absence of defects, it can only show that software defects are present.The ob(ectives of testing are Testing is a process of executing a program with the intent of finding an error. Agood test care is one that has a high probability of finding an as yetundiscovered error. A successful test is one that uncovers and as yet undiscovered error. The softwaredevelopedhas beentestedsuccessfullyusingthefollowingstrategiesandanyerrors that are encountered are corrected and again the part of the program or theprocedure or function is put to testing until all the errors are removed.&2The testing steps are3 Uni T!"in# M$%&'! T!"in# In!#()i$n T!"in#UNIT TESTING:)nit testing focuses verification effort on the smallest unit of the software design.This pro(ect compromises the set performed by an individual programmer prior to theintegration of the unit into a larger system. This testing is carried out during the codingitself.In this testing step each module such as registration, login, etc going to be workingsatisfactorily as the expected output from the module.MODULE TESTING:0ince it is a real time pro(ect the modules in this pro(ect may collects inputs fromanother module or any sub modules. 4ikewise they can forward their output as inputs tosome modules or sub modules. 0o a module testing is one of the important testing insystemdevelopment cycle. This testing is used in login module. The output formregistration is used as input for login module.INTEGRATION TESTING:Inthispro(ect thedatacanbelost acrossaninterface5 onemodulecanhaveadverse effort on another, sub function when combined may not produced the desired&6 function. Integration testing is a systematic techni"ue for constructing the program whileat the same time conducting test to uncover errors associated within the interface.The ob(ective is to take unit#tested module and built the program structure that hasbeen dictated by design. All modules are combined in this testing. The entire program istested a whole. -orrection is difficult at this stage because the isolation of module. At theintegrationtesting, softwareiscompletelyassembledasapackage. Interfacingerrorshave been uncovered and corrected and a final series of software test validation testingbegins.7alidationtestingcanbedefinedinmanyways, butasimpledefinitionisthatvalidation succeeds when the software functions in manner that is reasonably expected bythecustomer.0oftwarevalidationisachievedthroughaseriesofblackboxteststhatdemonstrate conformity with re"uirement. After validation test has been conducted, oneof the twoconditions exists. he functionor performance characteristics confirmtospecification and are accepted.A validation from specification is uncovered and a deficiency created. %eviationof errors discovered at this step in this pro(ect is corrected prior to the completion of thepro(ect withthehelpof theuser bynegotiatingtoestablishamethodfor resolvingdeficiencies. Thustheproposedsystemunder considerationhasbeentestedbyusingvalidation testing and found to be working satisfactorily.ADVANTAGE OF TESTING: ,ore effective on larger units of code than glass box testing. Tester needs no knowledge of implementation, including specific programminglanguage.$8 Tester and programmer are independent of each other Tests are done from a user9s of view. :lack:oxTest will helptoexposeanyambiguitiesorinconsistenciesinthespecification.DISADVANTAGES OF TESTING: Only a small number of possible inputs can actually be tested. To test every possible input stream would take nearly forever without clear andconcise specifications. Test cases are hard to design.There may be unnecessary repetitionoftestinputs,if the tester is not informed of test cases the programmer has already tried may leave many program paths untested cannot be directed toward specific segment of code which may be very complex most testing related research has been directed toward glass box testing.31