Motion detection: PIR sensor vs picamera