Preprint Article Version 1 Preserved in Portico This version is not peer-reviewed

A New Data Processing Model for Distributed Urban Stagnant Analysis Based on Improved Yolov5 and Opencv

Version 1 : Received: 24 May 2023 / Approved: 25 May 2023 / Online: 25 May 2023 (05:49:48 CEST)

How to cite: Wang, M.; Jiang, Y.; Li, C.; Yang, M. A New Data Processing Model for Distributed Urban Stagnant Analysis Based on Improved Yolov5 and Opencv. Preprints 2023, 2023051746. https://doi.org/10.20944/preprints202305.1746.v1 Wang, M.; Jiang, Y.; Li, C.; Yang, M. A New Data Processing Model for Distributed Urban Stagnant Analysis Based on Improved Yolov5 and Opencv. Preprints 2023, 2023051746. https://doi.org/10.20944/preprints202305.1746.v1

Abstract

In recent years, since flood disasters have brought immeasurable losses to the city, it is urgent to prevent and solve the flood of stagnant water. Considering the shortage of real-time and accuracy of hydrological analysis, Opencv technology is used in this paper to process the obtained data in real time. For improved Yolov5, BoTNet and GAMAttention Transformer are used to improve Yolov5 to enhance its ability of recognition and prediction to better identify surface gathered water. The prediction rate of the improved Yolov5 is 7.1% higher than that of Yolov7 and 1.7% higher than that of Yolov5.After that, contour preprocessing of the image is carried out through the cropping technology of the identification frame to eliminate relatively unstable factors. The principle of binocular distance measurement is used to measure the three-dimensional coordinates of the actual distance, better constrain the contour proportion of the picture, and then the Opencv technology is used to get the outline of the water, and HSV is combined with better color processing pictures for the identification of the water and contour generation, and the area is obtained to correspond to the corresponding parameters of flood to provide important help in flood prevention and storm drainage.

Keywords

improved Yolov5; opencv; urban stagnant water,binocular ranging principle

Subject

Computer Science and Mathematics, Computer Vision and Graphics

Comments (0)

We encourage comments and feedback from a broad range of readers. See criteria for comments and our Diversity statement.

Leave a public comment
Send a private comment to the author(s)
* All users must log in before leaving a comment
Views 0
Downloads 0
Comments 0
Metrics 0


×
Alerts
Notify me about updates to this article or when a peer-reviewed version is published.
We use cookies on our website to ensure you get the best experience.
Read more about our cookies here.