The invention relates to a data enhancement
pedestrian re-identification method based on a
generative adversarial network model. The method comprises the following steps: segmenting a
mask image of apedestrian in an image by using a
Mask-RCNN
image segmentation algorithm; training an end-to-end improved star-shaped
generative adversarial network in combination with the
mask image and the manuallylabeled
pedestrian attributes, and generating false training images under any number of cameras from the real
pedestrian image under one camera; generating false training images of all camera domainscorresponding to all real images by using the trained improved star
generative adversarial network; and sending the
real image and the false training image into a pedestrian re-identification model,calculating the distance between the pedestrian images, and completing a pedestrian re-identification function.using
Mask-to perform pedestrian re-identification; segmenting a
mask image of a pedestrian in the image by using an RCNN
image segmentation algorithm; training an end-to-end improved star-shaped generative
adversarial network in combination with the mask image and manually labeled pedestrian attributes, and generating false training images under any number of cameras from a real pedestrian image under one camera; using the trained improved star-shaped generative
adversarial network to generate false training images of all camera domains corresponding to all real images; and sending the
real image and the false training image into a pedestrian re-identification model, calculatingthe distance between the pedestrian images, and completing the pedestrian re-identification function. The method is reasonable in design, more training samples are generated through the generative
adversarial network, meanwhile, the generated image background can effectively represent the real scene under the corresponding camera, the robustness and the judgment capability of the pedestrian re-identification model are effectively improved, and the accuracy of pedestrian re-identification is effectively improved.