Add motion detection using webcam