An update dynamic programming algorithm is presented in allusion to the features of small moving object .Using the sum of grey level in image sequences,the target is brought into prominence and noise is suppressed by the image preprocessing at the same time. The probability of detecting and false alarm are used to determine the threshold of image , which can abstract the small target accurately. And dynamic programming algorithm performs well in detecting , and it lays foundations for the tracking in the next step.