lightweight motion detection for USB and HTTP(S) cameras