The invention provides a city streetscape image real-time semantic segmentation method based on attention boundary enhancement and an aggregation
pyramid. The method comprises the following implementation steps: obtaining a training sample set and a
test sample set; constructing an urban
street scene real-time semantic segmentation
network model based on attention boundary enhancement and an aggregation
pyramid, and carrying out iterative training on the urban
street scene real-time semantic segmentation
network model; and obtaining a real-time semantic segmentation result of the
city street scene image. According to the method, the sensitivity to boundaries is enhanced through the attention boundary enhancement sub-network, context information is integrated by using feature
perception from coarse to fine, the robustness of
semantic information is improved, meanwhile, the
pyramid pooling network is aggregated to carry out feature splicing on
pooling feature maps of different scales, the network generates correct semantic tags, and the accuracy of the semantic tags is improved. And finally, the global feature information graph, the detail feature information graph and the boundary feature information graph of each sample output by the three networks are fused, so that the recognition precision of the semantic segmentation image is improved.