1. A method for moving targets tracking and number counting, comprising the steps of, a). acquiring continuously video images comprising moving targets; b). acquiring the video image of a current frame, and pre-processing the video image of the current frame; c). performing target region segmenting upon the pre-processed image, and extracting a target region; d). matching the target region of the current frame obtained in step c) with the target region of the previous frame based on an online feature selection to establish a match tracking link; and e). determining the number of the targets corresponding to each match tracking link based on the target region tracks recorded by the match tracking link; f). acquiring the video images from step a) for each frame, performing step b)-step c), and accumulating the number of the targets corresponding to each tracking link, wherein the step of segmenting the target region in step c) comprising: c1). segmenting the pre-processed image into a plurality of separated first regions; c2). computing the motion information of each of the first regions; c3). determining and extracting the motion region based on the motion information; c4). verifying whether each of the motion regions is a target region or not; and c5). extracting the verified target region.