Raspberry Pi Camera Module Motion Detection Python