Objects in video sequence have attracted much fourth moment is below the predetermined threshold is attention due to their role in many applications such as tracking, considered to be of object. In [7] a moment preserving surveillance, and video compression. In this paper, we propose an technique is proposed to compute the global motion. Using the efficient and accurate method for detecting moving objects in a background subtraction frame and regions whose motion video sequence. Motion information is used to detect primitive object candidates, so global motion and optical flow estimation is the first step in this algorithm. The estimation is done with our in [8] also uses motion information. The global motion is proposed method which is a modification of Horn-Schunck estimated. Using a morphological motion filtering the object is method. The proposed method for optical flow estimation is very extracted. The criterion of filter is the average of difference fast and needs less iterations than does the original one (Horn-between motion of each pixel in region and the global motion. Schunk). Those areas which have different motion from global By this filter regions belong to the object is extracted, and then motion, according to efficient criterion, are marked as object this object is tracked through the time using the Hausdorff candidates. The spatial information is used to extract the final distance [9]. Bayesian approaches are widely used in the object object. The experimental results show the efficiency and accuracy detection due to their accuracy and flexibility. Joint motion of proposed algorithm. estimation and segmentation is done by these methods. In [10] a join motion estimation and segmentation scheme is proposed