The invention discloses a method for detecting a moving object in video. The method comprises the steps of calculating texture pattern characteristics of a current video frame, dividing the current video frame into small blocks, combining every four adjacent small blocks into a large block, calculating a texture pattern characteristic
histogram of each large block, and updating a texture pattern characteristic background model in each large block; according to the texture pattern characteristic background models and the texture pattern characteristic histograms of the large blocks, obtaining the probability, belonging to the background, of the large blocks under texture characteristics, and therefore performing average solving on the overlapped small blocks to obtain the probability, belonging to the background, of the small blocks under the texture characteristics; according to color information, updating a current main
background image; according to the main
background image and the color information, obtaining a
color difference value of the current video frame and the small blocks of the main
background image; according to the probability, belonging to the background, of the small blocks under the texture characteristics and the
color difference between the small blocks and the main background image, judging whether the small blocks belong to the background or not; according to a judgment result of a foreground and the background, obtaining foreground blocks through segmentation, and using a communication domain for performing analysis to obtain a moving
object detection result.