kcuric / surveillance-system

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.
3 stars 0 forks source link

Implement signal handling #10

Open mkristofic opened 4 years ago

mkristofic commented 4 years ago

Implement signal handling for the client and the server side. Stopping the execution should free all used resources (ports, objects, etc.).

mkristofic commented 4 years ago

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).

image