detect the  moving image