The invention relates to a target recognition method based on the
spatial relationship of contour segments, which comprises the following steps: (1) establishing a
database of multi-class target images; (2) extracting the
peripheral contour of the target and generating a contour
point set; (3) describing the shapes of the two contours according to the contextual shape features of the contour pointset, and obtaining the rough matching results of the targets according to the similarity measurement results of the two contours; (4) constructing the
spatial relationship between the images in the
library and the occluded images to be recognized according to the skeleton of the whole image and the
centroid of the outline of the discrete image; (5) establishing the constraint standard of the characteristic parameters of the
spatial relationship, and measure the similarity according to the constraint standard; in the case of complex
occlusion, more feature information is provided for recognition in the process of target recognition. When the target is occluded, the target is often divided into several parts, and the outer contour no longer has integrity. In this case, considering the spatial relationship between different contour segments, the recognition rate of occluded target is increased.