Raspberry Pi Lightweight python Motion Detection