The video for trial is restricted . Not every kind of videos can get a good result . Basically , foreground and background are moving toward different directions in the video . The moving of the background is caused by the motion of the camera , and the moving of the foreground is due to the objectíŽs own motion . I present the system for detecting the motions from a video clip . In according to the difference of moving direction , the system distinguishes between foreground object and background . The last step will cut out the foreground object .