Motion Detection using python and opencv2