By applying the image processing algorithms used in surveillance systems on video data obtained from a web camera, a motion detection application can be created and incorporated into web based games. The use of motion detection opens up a vast field of new possibilities in game design and this thesis will therefore cover how to create a motion detection JavaScript module which can be used in web based games. The performance and quality of the motion detection algorithms are important to consider when creating an application. What motion detection algorithms can be used to give a qualitativerepresentation without affecting the performance of a web based game will be analyzed and implemented in this thesis. Since the performance of the Central Processing Unit will not suffice, WebGL and the parallelism of the Graphical Processing Unit will be utilized to implement some of the most recognized image processing algorithms used in motion detection systems. The work resulted in an application where Gaussian blur and Frame Subtraction were used to detect and return areas where motion has been detected.
Identifer | oai:union.ndltd.org:UPSALLA1/oai:DiVA.org:liu-119736 |
Date | January 2015 |
Creators | Havsvik, Oskar |
Publisher | Linköpings universitet, Institutionen för datavetenskap, Linköpings universitet, Tekniska fakulteten |
Source Sets | DiVA Archive at Upsalla University |
Language | English |
Detected Language | English |
Type | Student thesis, info:eu-repo/semantics/bachelorThesis, text |
Format | application/pdf |
Rights | info:eu-repo/semantics/openAccess |
Page generated in 0.0021 seconds