This project uses a MATAB based GUI that works in conjunction with a microcontroller to create a simple security system that can detect motion in 4 zones using PIR sensors and image processing. The image processing was accomplished using a webcam to acquire frames for comparison using a background subtraction process, there were several morphological processes that had also been applied to the process and when triggered in conjunction with a PIR sensor it results in an alert system switching ON for that specific zone. The communication was facilitated using Serial communication where both devices can read and write to the serial buffers.
The development of the GUI had allowed for me to gain an understanding in Object Orientated Programming or OOP to write and group code in a more efficient manner when compared to the procedural way in which I was used to. Image processing was a direct application of mathematics as the manipulation of pixel provided a visual way to understand the mathematics behind array manipulation and how that related to how images are acquired on screen.