The invention discloses a pedestrian re-identification method, including pedestrian feature extraction and feature measurement; the pedestrian feature extraction mainly uses a sliding window to extract the image color histogram, expands the main color, and counts each color in each row of sliding windows The number of times the pattern appears, select the larger sum as the feature output of the color, the sliding window traverses the entire image, and forms the feature after normalization. In order to make the matching more universal, the features of the search source from the whole body to the half body are extracted. When calculating the measurement, the Euclidean distance between the feature dimension and the target feature to be searched is made with the feature dimension of the search image feature vector not being 0, which further reduces the interference of background factors in complex scenes; the pedestrian re-identification method provided by the present invention is applied to The re-identification of pedestrians in complex scenes is highly portable to scene changes, the algorithm is stable and fast, and it can effectively solve the problem of low quality of surveillance video and databases to be searched, and has strong practicability.