A highway asset information identification method and system
Through the recognition model built by the deep learning algorithm, highway asset information is identified and adjusted, which solves the problem of traffic accidents caused by missing and damaged signs during highway construction, and achieves accurate real-time identification and safe management of highway assets.
Patent Information
- Application Number
- CN202310467745.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-26
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-04-26
AI Technical Summary
Expressway construction is rapid, but traffic accidents and road damage are becoming increasingly severe. Missing and damaged signs and signboards lead to driver errors in judgment, resulting in traffic accidents. It is difficult to effectively identify and adjust highway asset information with existing technology.
Use deep learning algorithms, including Kalman filter algorithm and Hungarian algorithm, to build a recognition model. By collecting and processing highway section information images, asset information is identified and output, a color map is generated to indicate asset status, and highway assets are adjusted in real time.
It achieves accurate real-time identification of highway assets, avoids traffic accidents caused by missing and damaged signs, and improves the efficiency of highway safety management.
Smart Images

Figure CN116758259B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and more specifically, to a highway asset information identification method and system. Background Art
[0002] In recent years, with the rapid development of economy and society, the number of cars has been increasing rapidly, and the total mileage of national highways has also been increasing rapidly. In 2001, the total mileage of my country's expressways ranked second in the world. After twelve years of construction, by the end of 2013, the mileage of expressways in China had reached 104,000 kilometers, ranking first in the world. The rapid development of expressways has effectively promoted the rapid development of the national economy, making traffic problems increasingly severe and the occurrence of traffic accidents significantly increased. At the same time, the damage to roads and supporting facilities caused by uncivilized behavior on the road and natural disasters has become increasingly prominent, causing great pressure on road maintenance personnel. The lack and damage of signs and signs can also easily mislead drivers, causing them to fail to make correct judgments in time and cause traffic accidents. Summary of the invention
[0003] In view of the above problems, the present invention proposes a method for identifying highway asset information, comprising:
[0004] Collecting information images of target highway sections, and converting the data format of the information images into a unified data format to obtain target information images for highway asset information identification, and placing the target information images in a preset folder, and recording the path information of the folder;
[0005] According to the target highway section information, the detection algorithm weight of the pre-built recognition model is configured. After the configuration is completed, the recognition model is initialized, and the path information of the folder is sent to the recognition model;
[0006] After the recognition model finds the folder according to the path information, the folder list is traversed based on the recognition model to check whether the target information image in the folder has been recognized. If not, the target information image in the folder is recognized and the recognition result is output. The asset information of the target highway section is determined based on the recognition result.
[0007] Optionally, the detection algorithm of the pre-built recognition model is a deep learning algorithm, and the deep learning algorithm includes at least one of the following: a Kalman filter algorithm and a Hungarian algorithm.
[0008] Optionally, the process of pre-building a recognition model includes:
[0009] Select any highway section including all types of asset information as a test section, collect information images of the test section, clean the information images to remove non-standard information images, generate an information image set for building a recognition model, and segment the information image set at a preset ratio to generate a training set and a verification set;
[0010] Select the lightweight detection network YOLO as the detection network for building the recognition model, and replace the built-in detection algorithm of YOLO with the Kalman filter algorithm and the Hungarian algorithm to obtain an improved YOLO;
[0011] Input the training set into the improved YOLO, and use the Kalman filter algorithm and the Hungarian algorithm to extract the asset information features of the information image in the training set, and mark the asset information according to the asset information category based on the extracted asset information features to output a mask matrix of each category of asset information in the information image, visualize the mask matrix to convert the mask matrix into a color map that uses color to mark the asset information, and output the color map as a recognition result;
[0012] Determine the efficiency of the Kalman filter algorithm and the Hungarian algorithm, output the recognition result, select the Kalman filter algorithm or the Hungarian algorithm with high efficiency as the algorithm to be used preferentially for identifying the corresponding category of asset information, and generate an initial recognition model;
[0013] The initial recognition model is verified using a verification set. If the verification result meets the preset recognition requirements, the initial recognition model is used as the recognition model. If the verification result does not meet the preset recognition requirements, the parameters of the initial recognition model are adjusted, and the verification set is used again to verify the adjusted initial recognition model until the verification result meets the preset recognition requirements.
[0014] Optionally, identifying the target information image in the folder and outputting the identification result, and determining the asset information of the target highway section based on the identification result, including:
[0015] The asset information features in the target information image are extracted, and the asset information categories are labeled according to the extracted asset information features to output a mask matrix of each category of asset information in the target information image. The mask matrix is visualized to convert the mask matrix into a color map that uses colors to mark the asset information. The color map is used as the recognition result, and the asset information of the target highway section is determined based on the recognition result and a predetermined legend.
[0016] In another aspect, the present invention further provides a highway asset information identification system, comprising:
[0017] A collection unit, used to collect information images of target highway sections, and convert the data format of the information images into a unified data format to obtain target information images for highway asset information identification, and place the target information images in a preset folder, and record the path information of the folder;
[0018] A model initialization unit, configured to configure the detection algorithm weight of the pre-built recognition model according to the target highway section information, initialize the recognition model after the configuration is completed, and send the path information of the folder to the recognition model;
[0019] The identification unit is used to traverse the folder list based on the identification model after the identification model finds the folder according to the path information, to check whether the target information image in the folder has been identified; if not, to identify the target information image in the folder and output the identification result, and to determine the asset information of the target highway section based on the identification result.
[0020] Optionally, the detection algorithm of the pre-built recognition model is a deep learning algorithm, and the deep learning algorithm includes at least one of the following: a Kalman filter algorithm and a Hungarian algorithm.
[0021] Optionally, the process of pre-building a recognition model includes:
[0022] Select any highway section including all types of asset information as a test section, collect information images of the test section, clean the information images to remove non-standard information images, generate an information image set for building a recognition model, and segment the information image set at a preset ratio to generate a training set and a verification set;
[0023] Select the lightweight detection network YOLO as the detection network for building the recognition model, and replace the built-in detection algorithm of YOLO with the Kalman filter algorithm and the Hungarian algorithm to obtain an improved YOLO;
[0024] Input the training set into the improved YOLO, and use the Kalman filter algorithm and the Hungarian algorithm to extract the asset information features of the information image in the training set, and mark the asset information according to the asset information category based on the extracted asset information features to output a mask matrix of each category of asset information in the information image, visualize the mask matrix to convert the mask matrix into a color map that uses color to mark the asset information, and output the color map as a recognition result;
[0025] Determine the efficiency of the Kalman filter algorithm and the Hungarian algorithm, output the recognition result, select the Kalman filter algorithm or the Hungarian algorithm with high efficiency as the algorithm to be used preferentially for identifying the corresponding category of asset information, and generate an initial recognition model;
[0026] The initial recognition model is verified using a verification set. If the verification result meets the preset recognition requirements, the initial recognition model is used as the recognition model. If the verification result does not meet the preset recognition requirements, the parameters of the initial recognition model are adjusted, and the verification set is used again to verify the adjusted initial recognition model until the verification result meets the preset recognition requirements.
[0027] Optionally, identifying the target information image in the folder and outputting the identification result, and determining the asset information of the target highway section based on the identification result, including:
[0028] The asset information features in the target information image are extracted, and the asset information categories are labeled according to the extracted asset information features to output a mask matrix of each category of asset information in the target information image. The mask matrix is visualized to convert the mask matrix into a color map that uses colors to mark the asset information. The color map is used as the recognition result, and the asset information of the target highway section is determined based on the recognition result and a predetermined legend.
[0029] In yet another aspect, the present invention further provides a computing device, comprising: one or more processors;
[0030] a processor for executing one or more programs;
[0031] When the one or more programs are executed by the one or more processors, the above-described method is implemented.
[0032] In yet another aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed, the method described above is implemented.
[0033] Compared with the prior art, the present invention has the following beneficial effects:
[0034] The present invention proposes a method for identifying highway asset information, including: collecting information images of target highway sections, and converting the data format of the information images into a unified data format to obtain target information images for highway asset information identification, and placing the target information images in a preset folder, and recording the path information of the folder; configuring the detection algorithm weight of a pre-built recognition model according to the target highway section information, and after the configuration is completed, initializing the recognition model, and issuing the path information of the folder to the recognition model; after the recognition model finds the folder according to the path information, traversing the folder list based on the recognition model to check whether the target information image in the folder has been identified, if not, identifying the target information image in the folder, and outputting the identification result, and determining the asset information of the target highway section based on the identification result. The present invention identifies highway asset information through a preset recognition model, and can accurately and real-time determine missing and non-standard highway asset information, so as to facilitate real-time adjustment of highway assets, so as to avoid traffic accidents caused by missing and damaged highway assets such as signs and signboards. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a flow chart of the method of the present invention;
[0036] Figure 2 It is a structural diagram of the system of the present invention. DETAILED DESCRIPTION
[0037] Now, exemplary embodiments of the present invention are described with reference to the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided to disclose the present invention in detail and completely and to fully convey the scope of the present invention to those skilled in the art. The terms used in the exemplary embodiments shown in the accompanying drawings are not intended to limit the present invention. In the accompanying drawings, the same units / elements are marked with the same reference numerals.
[0038] Unless otherwise specified, the terms (including technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it is understood that the terms defined in commonly used dictionaries should be understood to have the same meanings as those in the context of the relevant fields, and should not be understood as idealized or overly formal meanings.
[0039] Embodiment 1:
[0040] The present invention proposes a method for identifying highway asset information. Figure 1 As shown, including:
[0041] Step 1: Collect information images of target highway sections, and convert the data format of the information images into a unified data format to obtain target information images for highway asset information identification, and place the target information images in a preset folder, and record the path information of the folder;
[0042] Step 2: According to the target highway section information, the detection algorithm weight of the pre-built recognition model is configured. After the configuration is completed, the recognition model is initialized, and the path information of the folder is sent to the recognition model;
[0043] Step 3: After the recognition model finds the folder according to the path information, the folder list is traversed based on the recognition model to check whether the target information image in the folder has been recognized. If not, the target information image in the folder is recognized and the recognition result is output, and the asset information of the target highway section is determined based on the recognition result.
[0044] Among them, the detection algorithm of the pre-built recognition model is a deep learning algorithm, and the deep learning algorithm includes at least one of the following: a Kalman filter algorithm and a Hungarian algorithm.
[0045] The Kalman filter algorithm is one of the core algorithms of the DeepSORT target tracking algorithm (i.e., deep learning algorithm). Its main function is to accurately predict the target position based on the target's motion state. Kalman filtering is an algorithm that establishes a motion equation describing the target state based on input data to achieve the optimal estimate of the overall system state.
[0046] The target model refers to the motion model that transfers the identification information of the target to the next frame. DeepSORT uses a linear constant velocity model that moves independently of other targets and the camera, approximates the displacement of each object from the current frame to the next frame, and uses an 8-dimensional space vector to burn the target model as follows.
[0047] The DeepSORT algorithm uses the Hungarian algorithm to match predicted targets and detected targets. The Hungarian algorithm, also known as the KM algorithm, is an algorithm used to solve the optimal task allocation problem. The Kalman filter algorithm obtains the optimal estimate of the target state, generates a predicted bounding box of the target, and matches the detected target obtained by the detection algorithm with the predicted bounding box of the target obtained by the Kalman filter algorithm. The matching process is divided into two steps.
[0048] First, the cost matrix is calculated, which is the weighted value of the IOU distance and appearance similarity distance between the predicted and detected objects.
[0049] The Munkres version of the Hungarian algorithm is used to minimize the total matching cost and returns a matching matrix containing the signs of matched predictions and detected targets, and the signs of unmatched predictions or detected targets. The algorithm models the optimal matching problem by finding the optimal solution of the valued bipartite graph. The principle is that if any equal subgraph has a perfect matching, then this perfect matching is the maximum weight perfect matching of the corresponding valued bipartite graph, and the optimal matching between the predictions and the detected targets can be derived even if the matching cost is the minimum matching result.
[0050] The process of pre-building a recognition model includes:
[0051] Select any highway section including all types of asset information as a test section, collect information images of the test section, clean the information images to remove non-standard information images, generate an information image set for building a recognition model, and segment the information image set at a preset ratio to generate a training set and a verification set;
[0052] Select the lightweight detection network YOLO as the detection network for building the recognition model, and replace the built-in detection algorithm of YOLO with the Kalman filter algorithm and the Hungarian algorithm to obtain an improved YOLO;
[0053] Input the training set into the improved YOLO, and use the Kalman filter algorithm and the Hungarian algorithm to extract the asset information features of the information image in the training set, and mark the asset information according to the asset information category based on the extracted asset information features to output a mask matrix of each category of asset information in the information image, visualize the mask matrix to convert the mask matrix into a color map that uses color to mark the asset information, and output the color map as a recognition result;
[0054] Determine the efficiency of the Kalman filter algorithm and the Hungarian algorithm, output the recognition result, select the Kalman filter algorithm or the Hungarian algorithm with high efficiency as the algorithm to be used preferentially for identifying the corresponding category of asset information, and generate an initial recognition model;
[0055] The initial recognition model is verified using a verification set. If the verification result meets the preset recognition requirements, the initial recognition model is used as the recognition model. If the verification result does not meet the preset recognition requirements, the parameters of the initial recognition model are adjusted, and the verification set is used again to verify the adjusted initial recognition model until the verification result meets the preset recognition requirements.
[0056] The YOLO network used in the present invention is a YOLOv5 network, which is improved based on YOLOv3 (a lightweight detection network). In the present invention, YOLOv5 is used as a detector to replace the original FasterR-CNN algorithm.
[0057] The target information image in the folder is identified, and the identification result is output, and the asset information of the target highway section is determined based on the identification result, including:
[0058] The asset information features in the target information image are extracted, and the asset information categories are labeled according to the extracted asset information features to output a mask matrix of each category of asset information in the target information image. The mask matrix is visualized to convert the mask matrix into a color map that uses colors to mark the asset information. The color map is used as the recognition result, and the asset information of the target highway section is determined based on the recognition result and a predetermined legend.
[0059] The recognition results obtained by the present invention can be combined with the image information file to generate a test report. In the test report, the structured information of each image is obtained by decoding the collected image information file, and then written into the Excel report together with the recognition result.
[0060] The output report information includes the recognition result information of every 10-meter image, the summary information of every 100-meter road section, and the summary information of every 1 kilometer (pile number).
[0061] The recognition result information of the 10-meter image includes the following structured information: 1. Image name; 2. Whether the guardrail is detected; 3. Whether the sunshade is detected; 4. The number of traffic safety facilities; 5. Whether the gantry is detected; 6. Frame rate; 7. Exposure time; 8. Shooting time; 9. Longitude; 10. Latitude; 11. Current vehicle speed; 12. Pile number; 13. Distance from the starting point of the pile number; 14. Kilometers; 15. Original image storage path; 16. Result image storage path.
[0062] The present invention collects forward road condition images of the Zengcheng section of Guanghe Expressway in Guangzhou City, Guangdong Province as a verification set for the algorithm accuracy test. The road condition of this section is good, with a large amount of gantry and traffic sign information. At the same time, there are sufficient guardrails and sunshades on both sides of the road, which meets the data requirements for verifying the algorithm accuracy.
[0063] From the accuracy statistics, four types of highway assets and facilities were classified and counted. In the collected images, the sunshade appeared 267 times, 20 times were misdetected or missed, and the overall accuracy was 92.51%; the guardrail appeared 791 times, 80 times were misdetected or missed, and the overall accuracy was 89.89%; the traffic sign appeared 901 times, 86 times were misdetected or missed, and the overall accuracy was 90.46%; the gantry was blown 263 times, 42 times were misdetected or missed, and the overall accuracy was 84.03%. The accuracy of the four types of highway asset identification met the project requirements.
[0064] Embodiment 2:
[0065] The present invention also proposes a highway asset information identification system 200, such as Figure 1 As shown, including:
[0066] The acquisition unit 201 is used to acquire information images of target highway sections, and convert the data format of the information images into a unified data format to obtain target information images for highway asset information identification, and place the target information images in a preset folder, and record the path information of the folder;
[0067] The model initialization unit 202 is used to configure the detection algorithm weight of the pre-built recognition model according to the target highway section information, and after the configuration is completed, initialize the recognition model and send the path information of the folder to the recognition model;
[0068] The identification unit 203 is used to traverse the folder list based on the identification model after the identification model finds the folder according to the path information, to check whether the target information image in the folder has been identified; if not, to identify the target information image in the folder and output the identification result, and to determine the asset information of the target highway section based on the identification result.
[0069] Among them, the detection algorithm of the pre-built recognition model is a deep learning algorithm, and the deep learning algorithm includes at least one of the following: a Kalman filter algorithm and a Hungarian algorithm.
[0070] The process of pre-building a recognition model includes:
[0071] Select any highway section including all types of asset information as a test section, collect information images of the test section, clean the information images to remove non-standard information images, generate an information image set for building a recognition model, and segment the information image set at a preset ratio to generate a training set and a verification set;
[0072] Select the lightweight detection network YOLO as the detection network for building the recognition model, and replace the built-in detection algorithm of YOLO with the Kalman filter algorithm and the Hungarian algorithm to obtain an improved YOLO;
[0073] Input the training set into the improved YOLO, and use the Kalman filter algorithm and the Hungarian algorithm to extract the asset information features of the information image in the training set, and mark the asset information according to the asset information category based on the extracted asset information features to output a mask matrix of each category of asset information in the information image, visualize the mask matrix to convert the mask matrix into a color map that uses color to mark the asset information, and output the color map as a recognition result;
[0074] Determine the efficiency of the Kalman filter algorithm and the Hungarian algorithm, output the recognition result, select the Kalman filter algorithm or the Hungarian algorithm with high efficiency as the algorithm to be used preferentially for identifying the corresponding category of asset information, and generate an initial recognition model;
[0075] The initial recognition model is verified using a verification set. If the verification result meets the preset recognition requirements, the initial recognition model is used as the recognition model. If the verification result does not meet the preset recognition requirements, the parameters of the initial recognition model are adjusted, and the verification set is used again to verify the adjusted initial recognition model until the verification result meets the preset recognition requirements.
[0076] The target information image in the folder is identified, and the identification result is output, and the asset information of the target highway section is determined based on the identification result, including:
[0077] The asset information features in the target information image are extracted, and the asset information categories are labeled according to the extracted asset information features to output a mask matrix of each category of asset information in the target information image. The mask matrix is visualized to convert the mask matrix into a color map that uses colors to mark the asset information. The color map is used as the recognition result, and the asset information of the target highway section is determined based on the recognition result and a predetermined legend.
[0078] The present invention identifies highway asset information through a preset recognition model, and can accurately and real-time determine missing and non-standard highway asset information to facilitate real-time adjustment of highway assets, thereby avoiding traffic accidents caused by missing and damaged highway assets such as signs and signboards.
[0079] Embodiment 3:
[0080] Based on the same inventive concept, the present invention also provides a computer device, which includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions in the computer storage medium to implement the corresponding method flow or corresponding functions, so as to implement the steps of the method in the above embodiment.
[0081] Embodiment 4:
[0082] Based on the same inventive concept, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here can include both a built-in storage medium in a computer device and an extended storage medium supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the steps of the method in the above embodiment.
[0083] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The schemes in the embodiments of the present invention may be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0084] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0085] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0086] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0087] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0088] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for identifying highway asset information, characterized in that: The method comprises: Collecting information images of target highway sections, and converting the data format of the information images into a unified data format to obtain target information images for highway asset information identification, and placing the target information images in a preset folder, and recording the path information of the folder; According to the target highway section information, the detection algorithm weight of the pre-built recognition model is configured. After the configuration is completed, the recognition model is initialized, and the path information of the folder is sent to the recognition model; After the recognition model finds the folder according to the path information, the folder list is traversed based on the recognition model to check whether the target information image in the folder has been recognized. If not, the target information image in the folder is recognized and the recognition result is output, and the asset information of the target highway section is determined based on the recognition result; The process of pre-building the recognition model includes: Select any highway section including all types of asset information as a test section, collect information images of the test section, clean the information images to remove non-standard information images, generate an information image set for building a recognition model, and segment the information image set at a preset ratio to generate a training set and a verification set; Select the lightweight detection network YOLO as the detection network for building the recognition model, and replace the built-in detection algorithm of YOLO with the Kalman filter algorithm and the Hungarian algorithm to obtain an improved YOLO; Input the training set into the improved YOLO, and use the Kalman filter algorithm and the Hungarian algorithm to extract the asset information features of the information image in the training set, and mark the asset information according to the asset information category based on the extracted asset information features to output a mask matrix of each category of asset information in the information image, visualize the mask matrix to convert the mask matrix into a color map that uses color to mark the asset information, and output the color map as a recognition result; Determine the efficiency of the Kalman filter algorithm and the Hungarian algorithm, output the recognition result, select the Kalman filter algorithm or the Hungarian algorithm with high efficiency as the algorithm to be used preferentially for identifying the corresponding category of asset information, and generate an initial recognition model; The initial recognition model is verified using the verification set. If the verification result meets the preset recognition requirements, the initial recognition model is used as the recognition model. If the verification result does not meet the preset recognition requirements, the parameters of the initial recognition model are adjusted, and the verification set is used again to verify the adjusted initial recognition model until the verification result meets the preset recognition requirements. The step of identifying the target information image in the folder and outputting the identification result, and determining the asset information of the target highway section based on the identification result, includes: The asset information features in the target information image are extracted, and the asset information categories are labeled according to the extracted asset information features to output a mask matrix of each category of asset information in the target information image. The mask matrix is visualized to convert the mask matrix into a color map that uses colors to mark the asset information. The color map is used as the recognition result, and the asset information of the target highway section is determined based on the recognition result and a predetermined legend.
2. The method according to claim 1, characterized in that The detection algorithm of the pre-built recognition model is a deep learning algorithm, and the deep learning algorithm includes at least one of the following: a Kalman filter algorithm and a Hungarian algorithm.
3. A highway asset information identification system, characterized in that: The system comprises: A collection unit, used to collect information images of target highway sections, and convert the data format of the information images into a unified data format to obtain target information images for highway asset information identification, and place the target information images in a preset folder, and record the path information of the folder; A model initialization unit, configured to configure the detection algorithm weight of the pre-built recognition model according to the target highway section information, initialize the recognition model after the configuration is completed, and send the path information of the folder to the recognition model; an identification unit, configured to, after the identification model finds the folder according to the path information, traverse the folder list based on the identification model to check whether the target information image in the folder has been identified; if not, identify the target information image in the folder, output the identification result, and determine the asset information of the target highway section based on the identification result; The process of pre-building the recognition model includes: Select any highway section including all types of asset information as a test section, collect information images of the test section, clean the information images to remove non-standard information images, generate an information image set for building a recognition model, and segment the information image set at a preset ratio to generate a training set and a verification set; Select the lightweight detection network YOLO as the detection network for building the recognition model, and replace the built-in detection algorithm of YOLO with the Kalman filter algorithm and the Hungarian algorithm to obtain an improved YOLO; Input the training set into the improved YOLO, and use the Kalman filter algorithm and the Hungarian algorithm to extract the asset information features of the information image in the training set, and mark the asset information according to the asset information category based on the extracted asset information features to output a mask matrix of each category of asset information in the information image, visualize the mask matrix to convert the mask matrix into a color map that uses color to mark the asset information, and output the color map as a recognition result; Determine the efficiency of the Kalman filter algorithm and the Hungarian algorithm, output the recognition result, select the Kalman filter algorithm or the Hungarian algorithm with high efficiency as the algorithm to be used preferentially for identifying the corresponding category of asset information, and generate an initial recognition model; The initial recognition model is verified using the verification set. If the verification result meets the preset recognition requirements, the initial recognition model is used as the recognition model. If the verification result does not meet the preset recognition requirements, the parameters of the initial recognition model are adjusted, and the verification set is used again to verify the adjusted initial recognition model until the verification result meets the preset recognition requirements. The step of identifying the target information image in the folder and outputting the identification result, and determining the asset information of the target highway section based on the identification result, includes: The asset information features in the target information image are extracted, and the asset information categories are labeled according to the extracted asset information features to output a mask matrix of each category of asset information in the target information image. The mask matrix is visualized to convert the mask matrix into a color map that uses colors to mark the asset information. The color map is used as the recognition result, and the asset information of the target highway section is determined based on the recognition result and a predetermined legend.
4. The system according to claim 3, characterized in that The detection algorithm of the pre-built recognition model is a deep learning algorithm, and the deep learning algorithm includes at least one of the following: a Kalman filter algorithm and a Hungarian algorithm.
5. A computer device, characterized in that: include: one or more processors; a processor for executing one or more programs; When the one or more programs are executed by the one or more processors, the method according to any one of claims 1 to 2 is implemented.
6. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed, the method according to any one of claims 1-2 is implemented.
Citation Information
Patent Citations
Multi-target vehicle trajectory prediction method based on improved Kalman filtering
CN111667512A
Lane-dividing vehicle automatic counting method based on YOLO V4 and DeepSORT
CN112101433A
Road surface information identification method and system based on YOLO v4
CN113255524A
Player tracking detection method based on YOLO V5
CN113947108A
Remote sensing image target detection and identification method, device, equipment and medium
CN114120138A
