DIY surveillance system with a face detection implemented with Python, OpenCV and Flask. Made as a team project for a System Security course at the Faculty of Organization and Informatics, Varaždin, Croatia.
There is a potential bug in the server script. The receive_signal() function is sometimes run twice after sending the signal from the keyboard (e.g. Ctrl+C).
Implement signal handling for the client and the server side. Stopping the execution should free all used resources (ports, objects, etc.).