A combined frame difference with a background subtraction algorithm of moving object detection