Street-view images can help us to better understand the city environment and its potential characteristics. With the development of computer vision and deep learning, the technology of semantic segmentation algorithms has become more mature. However, DeeplabV3+, which is commonly used in semantic segmentation, has shortcomings such as a large number of parameters, high requirements for computing resources, and easy loss of detailed information. Therefore, this paper proposes LM-DeeplabV3+, which aims to greatly reduce the parameters and computations of the model while ensuring segmentation accuracy. Firstly, the lightweight network MobileNetV2 is selected as the backbone network, and the ECA attention mechanism is introduced after MobileNetV2 extracts shallow features to improve the ability of feature representation; secondly, the ASPP module is improved, and on this basis, the EPSA attention mechanism is introduced to achieve cross-dimensional channel attention and important feature interaction; thirdly, a loss function named CL loss is designed to balance the training offset of multiple categories and better indicate the segmentation quality. This paper conducted experimental verification on the Cityspaces dataset, and the results showed that the mIoU reached 74.9%, which was an improvement of 3.56% compared to DeeplabV3+; and the mPA reached 83.01%, which was an improvement of 2.53% compared to DeeplabV3+.
Measuring human perception of environmental safety and quantifying the street view elements that affect human perception of environmental safety are of great significance for improving the urban environment and residents’ safety perception. However, domestic large-scale quantitative research on the safety perception of Chinese local cities needs to be deepened. Therefore, this paper chooses Chaoyang District in Beijing as the research area. Firstly, the network safety perception distribution of Chaoyang District is calculated and presented through the CNN model trained based on the perception dataset constructed by Chinese local cities. Then, the street view elements are extracted from the street view images using image semantic segmentation and target detection technology. Finally, the street view elements that affect the road safety perception are identified and analyzed based on LightGBM and SHAP interpretation framework. The results show the following: (1) the overall safety perception level of Chaoyang District in Beijing is high; (2) the number of motor vehicles and the proportion of the area of roads, skies, and sidewalks are the four factors that have the greatest impact on environmental safety perception; (3) there is an interaction between different street view elements on safety perception, and the proportion and number of street view elements have interaction on safety perception; (4) in the sections with the lowest, moderate, and highest levels of safety perception, the influence of street view elements on safety perception is inconsistent. Finally, this paper summarizes the results and points out the shortcomings of the research.
Street view images can help us better understand the city environment and potential characteristics. With the development of computer vision and deep learning, the technology of semantic segmentation algorithms has become more mature. However, DeeplabV3+, which is commonly used in semantic segmentation, has shortcomings such as a large number of parameters, high requirements for computing resources, and easy loss of detailed information. Therefore, this paper proposes LM-DeeplabV3+, which aims to greatly reduce parameters and computations of the model while ensuring the segmentation accuracy. Firstly, the lightweight network MobileNetV2 is selected as the backbone network, and the ECA attention mechanism is introduced after MobileNetV2 extracts shallow features to improve the ability of feature representation; secondly, the ASPP module is improved, and on its basis, the EPSA attention mechanism is introduced to achieve cross-dimensional channel attention and important feature interaction; thirdly, a loss function named CL loss is designed to balance the training offset of multiple categories and better indicate the segmentation quality. This paper conducted experimental verification on the Cityspaces dataset, and the results showed that the mIoU reached 74.9%, which was an improvement of 3.56% compared to DeeplabV3+; the mPA reached 83.01%, which was an improvement of 2.53% compared to DeeplabV3+.
Objective crime risk and perceived safety constitute distinct yet interrelated dimensions of urban security, whose spatial discrepancies may lead to misaligned policy interventions. This study develops a street-level analytical framework to examine the (mis)match between perceived safety and crime risk in Chaoyang District, Beijing. An enhanced Street-view imagery (SVI) segmentation model with object detection was applied to extract streetscape elements and estimate perceived safety scores, which were then standardized and compared with street-level crime data, yielding two types of matches and two types of mismatches. Three conditions were analyzed using multinomial logit regression: (1) objective unsafety with low perceived safety, (2) objective safety with low perceived safety, and (3) objective unsafety with high perceived safety. Findings demonstrate how visual and social environmental factors jointly shape discrepancies between perceived and actual safety and identify potential determinants to mitigate such (mis)matches.