Pretty straight forward task, ive built simillar systems in the past but the detection is mostly done by the camera itself, that is motion detection, if motion is detected we alert the user or something simillar, other than that ( using the mic ) its straight forward project, feel free to check my profile for my past projects and reviews.