The area of computer vision has been making big improvements in the latest decades, equally so has the area of electronics and small computers improved. These areas together have made it more available to build small, standalone systems for object detection in live video. This project's main objective is to examine whether a small device, e.g. Raspberry Pi 3, can manage an implementation of an object detection algorithm, called Viola-Jones, to count the occupancy of sitting people in a room with a camera. This study is done by creating an application with the library OpenCV, together with the language C+ +, and then test if the application can run on the small device. Whether or not the application will detect people depends on the models used, therefore three are tested: Haar Face, Haar Upper body and Haar Upper body MCS. The library's object detection function takes some parameters that works like settings for the detection algorithm. With that, the parameters needs to be tailored for each model and use case, for an optimal performance. A function was created to find the accuracy of different parameters by brute-force. The test showed that the Haar Face model was the most accurate. All the models, with their most optimal parameters, are then speed-tested with a FPS test on the raspberry pi. The result shows whether or not the raspberry pi can manage the application with the models. All models could be run and the Haar face model was fastest. As the system uses cameras, some ethical aspects are discussed about what people might think of top-corner cameras.
Identifer | oai:union.ndltd.org:UPSALLA1/oai:DiVA.org:miun-31017 |
Date | January 2017 |
Creators | Olsson, Jonathan |
Publisher | Mittuniversitetet, Avdelningen för informationssystem och -teknologi |
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.0017 seconds