To give a relative accurate detection result in the computer vision which apply in the Video Surveillance and so on. A method based on the auto collects the seeds and then use the Cellular atuomata to subtract the moving object. Firstly we use the frame difference image to find the moving region and give the seeds of the foreground and background. Then we use the grow cut of CA to cut the frame into the foreground and background. The experiment is shown our seeds can give more accurate information of the foreground and get a relative precise result.