Road detection method, device, electronic device and storage medium
By acquiring and processing road video data in detection equipment and identifying road abnormal information, the problem of inconsistency and high cost of manual identification in traditional methods is solved, and the efficiency and sustainability of road detection are achieved.
Patent Information
- Application Number
- CN202111065830.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-10
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-09-10
AI Technical Summary
Traditional road detection methods rely on manual identification, which makes it difficult to ensure the uniformity of identification standards. Data transmission costs are high, and robots and drones cannot provide continuous inspection capabilities.
By acquiring road video data in the detection equipment, extracting images based on driving speed, and using the target detection model to identify road abnormal information, data transmission is reduced and detection efficiency is improved.
It achieves accurate identification and timely reporting of road abnormal information, reduces data transmission costs, and improves detection efficiency and continuous inspection capabilities.
Smart Images

Figure CN113780178B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to computer vision and image processing technology. More specifically, the present disclosure provides a road detection method, device, electronic device and storage medium. Background Art
[0002] As a carrier of urban economic development, urban road maintenance is not only a key means to extend the service life of roads, but also an important guarantee for road driving safety. Accurately detecting road anomalies and reporting abnormal information in a timely manner is the core of road maintenance work. Summary of the invention
[0003] The present disclosure provides a road detection method, device, equipment and storage medium.
[0004] According to a first aspect, a road detection method is provided, the method comprising: acquiring road video data collected by a detection device during driving; extracting multiple images from the road video data according to the driving speed of the detection device during driving; for each of the multiple images, identifying road abnormality information in the image; determining at least one image among the multiple images that is identified as containing road abnormality information as a target image; and determining a road detection result according to the target image.
[0005] According to a second aspect, a road detection device is provided, which includes: an acquisition module for acquiring road video data collected by a detection device during driving; an extraction module for extracting multiple images from the road video data according to the driving speed of the detection device during driving; an identification module for identifying road abnormality information in each of the multiple images; a first determination module for determining at least one image among the multiple images that is identified as containing road abnormality information as a target image; and a second determination module for determining a road detection result based on the target image.
[0006] According to a third aspect, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method provided according to the present disclosure.
[0007] According to a fourth aspect, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause a computer to execute the method provided according to the present disclosure.
[0008] According to a fifth aspect, a computer program product is provided, comprising a computer program, which implements the method provided according to the present disclosure when executed by a processor.
[0009] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0011] Figure 1A-1B is a schematic diagram of an exemplary system architecture to which a road detection method and apparatus can be applied according to an embodiment of the present disclosure;
[0012] Figure 2 is a flow chart of a road detection method according to an embodiment of the present disclosure;
[0013] Figure 3 is a flow chart of a road detection method according to another embodiment of the present disclosure;
[0014] Figure 4 is a schematic diagram of a method for identifying abnormal road information in an image according to an embodiment of the present disclosure;
[0015] Figure 5 is a block diagram of a road detection device according to an embodiment of the present disclosure;
[0016] Figure 6 is a block diagram of an electronic device of a road detection method according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0017] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0018] The traditional road inspection method is generally that road inspectors conduct regular road inspections, take photos of road anomalies (such as damage, cracks, etc.) and upload them to the central server. Alternatively, road images are collected through inspection vehicles, robots, drones, etc. as automated carriers, and the collected images are uploaded to the central server and inspectors identify the defects. The above traditional methods rely on the personal cognition of inspectors in the road disease identification stage, and it is difficult to ensure the uniformity of identification standards. It is also limited by the efficiency of manual identification. In addition, in the data collection stage, since the collection end has no filtering capability, the full amount of collected data is transmitted to the central server, which not only brings huge receiving pressure to the central server, but also generates high traffic transmission costs. In addition, robots, drones, etc. are affected by battery life and cannot provide continuous patrol capabilities.
[0019] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0020] Figure 1A-1B is a schematic diagram of an exemplary system architecture to which a road detection method and device can be applied according to an embodiment of the present disclosure. It should be noted that: Figure 1A-1B What is shown is merely an example of a system architecture to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.
[0021] like Figure 1A As shown, the system architecture 100 according to this embodiment may include a detection terminal 10, a network 20, a central terminal 30, and a cloud 40. The network 20 is used to provide a medium for a communication link between the detection terminal 10 and the central terminal 30. The network 20 may include various connection types, such as wired and / or wireless communication links, etc.
[0022] The detection end 10 includes a plurality of detection devices 110, which may be detection vehicles, robots, or drones, etc. The detection devices 110 are used to collect road images while driving on the detected road, identify the collected road images, obtain images of abnormal roads (such as damage), and send the images containing road abnormality information to the central end 30 through the network 20.
[0023] The central end 30 includes a central server 310 and a display device 320. The central server 310 receives images containing road anomaly information sent from the detection end 10, sorts, screens or filters the received images, obtains standardized images and sends them to the display device 320. The display device 320 can be a monitoring screen, and the display device 320 can display the received standardized images as monitoring images, so that road maintenance personnel can maintain the abnormal roads in time.
[0024] The central server 310 may also send the received image to the cloud 40, which includes a cloud server. It is understood that the cloud server has stronger computing power than the central server 310, and may further analyze the image received from the central server 310, such as analyzing the damage level of the road in the image, the potential risk of road damage, etc.
[0025] It is understandable that the central end 30 can obtain the road data from the detection end 10 to ensure the privacy of the road data. At the same time, it can obtain strong computing service support from the cloud 40 when necessary.
[0026] like Figure 1B , which is a schematic diagram of a detection device 110 in the detection terminal 10. The detection device 110 includes a collection device 111, a positioning device 112, a calculation device 113 and a communication device 114.
[0027] The acquisition device 111 may be, for example, a camera, which is used to acquire road video or image data while the detection device 110 is driving on the detected road, and send the data to the computing device 113. The positioning device 112 may be a GPS positioning device or a Beidou positioning device, which is used to obtain real-time location information of the detection device 110 while it is driving on the detected road, and send the information to the computing device 113. The computing device 113 may be a server with computing capabilities, which is used to identify the road video or image data sent by the acquisition device 111, obtain an image containing road anomaly information, associate the image containing road anomaly information with the location information sent by the positioning device 112, and integrate the image containing road anomaly information and the location information of the detection device 110 associated with the image to obtain integrated data.
[0028] The computing device 113 may send the integrated data to the central end 30 via the communication device 114, so that the central end 30 can display the image containing the road anomaly information and determine the actual location of the road where the anomaly occurs based on the location information in the integrated data. The communication device 114 may be a 4G / 5G communication device or a wireless communication device.
[0029] It can be understood that in the related art, the collection device 111 in the detection terminal 10 transmits the collected full data to the central terminal 30, and the central server 310 in the central terminal 30 performs image recognition. The continuous transmission of the full data will bring high traffic costs, and most of the data is healthy road pictures that do not contain road surface abnormality information, resulting in transmission waste. Therefore, the embodiment of the present disclosure uses the computing device 113 in the detection terminal 10 to perform image recognition, so that the calculation is close to the data, reducing data transmission, alleviating the pressure on the central terminal, and controlling the data transmission cost.
[0030] The road detection method provided in the embodiment of the present disclosure can generally be executed by the computing device 113. Accordingly, the road detection device provided in the embodiment of the present disclosure can generally be set in the computing device 113. The road detection method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the computing device 113 and can communicate with the computing device 113. Accordingly, the road detection device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the computing device 113 and can communicate with the computing device 113.
[0031] Figure 2 is a flow chart of a road detection method according to an embodiment of the present disclosure.
[0032] like Figure 2 As shown, the road detection method 200 may include operations S210 to S250.
[0033] In operation S210, road video data collected by a detection device during driving is acquired.
[0034] For example, the detection device may be a detection vehicle, a robot or a drone, and the detection device includes a collection device, such as a camera, etc. When the detection device is driving on the road to be detected, the collection device is used to shoot the road to obtain road video information.
[0035] In operation S220, a plurality of images are extracted from the road video data according to the driving speed of the detection device during the driving process.
[0036] For example, extracting images from the collected road video data for recognition can avoid the computational pressure caused by recognizing the entire amount of video data. In order to ensure that the extracted images can cover the driving road surface uninterruptedly, the frame extraction rate, that is, the number of images extracted per second, can be determined according to the driving speed of the detection equipment during driving, and images can be extracted from the road video data according to the frame extraction rate, and the extracted images can be recognized.
[0037] If the frame extraction rate is set according to the maximum driving speed, it can ensure that the extracted images cover the road most comprehensively, but a continuous high frame extraction rate will cause data backlog. Therefore, the frame extraction rate can be determined according to the real-time driving speed, which can reduce the missed detection rate and improve the detection efficiency while ensuring the quality of road anomaly detection.
[0038] In operation S230 , for each of the plurality of images, road abnormality information in the image is identified.
[0039] For example, for each extracted image, a trained target detection model may be used to identify the image to determine whether the image contains road abnormality information, and for an image containing abnormal information, the road abnormality information in the image may be identified.
[0040] For example, the target detection model may be a model of the YOLO (You Only Look Once, which means that the category and position of an object in an image can be identified by browsing only once) series.
[0041] For example, the road anomaly information includes road damage categories, coordinates, area, grade, etc. of road damage areas. Road damage categories may include transverse cracks, longitudinal cracks, potholes, mesh cracks, and breakages, etc.
[0042] In operation S240 , at least one image among the plurality of images that is recognized as containing road abnormality information is determined as a target image.
[0043] In operation S250, a road detection result is determined according to the target image.
[0044] For example, an image identified as containing road anomaly information can be used as a target image, and the target image and the anomaly information in the target image can be sent to the central end so that the central end can display the target image, analyze the road detection results, etc. The road detection results can include the location information of the damaged road section, the road damage level, the potential risk of road damage, etc.
[0045] The embodiments of the present disclosure extract images from road video data according to the driving speed, identify the extracted images, and use the identified images containing road anomaly information as target images, which can save computing power and improve detection efficiency.
[0046] Figure 3 is a flowchart of a road detection method according to another embodiment of the present disclosure.
[0047] like Figure 3 As shown, the road detection method 300 may include operations S301 to S306.
[0048] In operation S301, road video data collected by a detection device during driving is obtained.
[0049] In operation S302, a plurality of images are extracted from road video data according to a driving speed.
[0050] For example, the driving speed is the real-time speed of the detection device on the detected road. The disclosed embodiment associates the frame extraction rate with the driving speed, and dynamically calculates the frame extraction rate at the next moment by obtaining the current driving speed, thereby determining the timing of the next frame extraction, which can improve the detection efficiency while ensuring the quality of road anomaly detection.
[0051] The relationship between the driving speed at the current time (eg, time T) and the frame extraction rate at the next time (time T+1) can be expressed by the following equation (1).
[0052] fr=max(v / L,frmin) (1)
[0053] fr (frame rate, frame rate, unit is fps) is the frame rate of the next moment, which means the number of images extracted from the video road in a unit time (such as 1s). v is the driving speed of the detection device at the current moment, L is the actual road length corresponding to the image at the current moment, and frmin is the preset minimum frame rate.
[0054] For example, the image at the current moment is the image at time T in the road video data. The image at time T may contain roads, sky, tall buildings, etc. The picture containing only the road can be cut out, and the actual road length can be calculated based on the length of the road along the driving direction of the detection device in the picture. The actual road length is the actual road length corresponding to the image at the current moment. In order to save computing power, the actual road length corresponding to each image can be set to a fixed value, such as 5m, based on actual experience.
[0055] In order to prevent the detection equipment from dropping to a low speed (for example, the detection equipment is affected by city speed limits, traffic lights, road conditions, etc., and the speed drops to near 0), and frame sampling is not performed for a long time, resulting in missed road detection, a lower limit value of the frame sampling rate can be set, that is, the preset minimum frame sampling rate. For example, the minimum frame sampling rate can be set to 0.5 (fps).
[0056] It should be noted that the calculation method of the frame decimation rate of the embodiment of the present disclosure is not limited to the above equation (1). For example, the frame decimation rate may satisfy a preset condition with the light intensity and / or the camera shooting angle of the detection device. This is because the applicant has found that the light intensity, camera shooting angle, etc. may affect the road length in the image. In order to improve the calculation accuracy, parameters such as light intensity and camera shooting angle may be introduced to determine the frame decimation rate.
[0057] In operation S303 , an image containing road abnormality information is identified as a target image.
[0058] For example, for each of the extracted multiple images, the image can be input into a target detection model (such as a YOLO model) to determine whether the image contains road anomaly information, and for an image containing anomaly information, the road anomaly information in the target image can be identified. The image identified as containing road anomaly information is used as the target image.
[0059] For example, the road abnormality information includes road damage categories, coordinates of road damage areas, areas, etc. Road damage categories may include transverse cracks, longitudinal cracks, potholes, mesh cracks, and breakages, etc.
[0060] In operation S304, position information of the detection device during driving is obtained.
[0061] For example, the real-time position information of the detection equipment on the detected road can be obtained based on the positioning device.
[0062] It should be noted that operations S301 to S303 and operation S304 may be performed in parallel, and are all performed in real time when the detection device is driving on the detected road.
[0063] In operation S305, the target image is associated with the position information.
[0064] For example, according to the acquisition time of the target image in the road video data, the position information of the detection device on the detected road at the acquisition time of the target image is determined as the position information associated with the target image.
[0065] In operation S306, the target image and location information associated with the target image are transmitted.
[0066] For example, the target image and the location information associated with the target image are integrated and sent to the central end so that the central end can obtain the actual location information of the road anomaly on the detected road.
[0067] Figure 4 is a schematic diagram of a method for identifying abnormal road information in an image according to an embodiment of the present disclosure.
[0068] like Figure 4 As shown, image 401 is an image extracted from road video data. Image 401 is input to a target recognition model 410 (eg, a YOLO model). The target recognition model 410 outputs road anomaly information in the image. The road anomaly information includes a road damage category 402 and a road damage area coordinate 403 .
[0069] The object recognition model 410 includes an extraction module 411 , a fusion module 412 , a filtering module 413 , and a classification and positioning module 414 .
[0070] The extraction module 411 is used to extract features from the input image 401, and can extract two aspects of features: on the one hand, extracting the detailed features of the image 401 (such as the outline, boundary, pixel points in the image 401, etc.), and on the other hand, extracting the semantic features of the image 401 (such as the categories of different objects in the image 401, different objects include roads, sky, high-rise buildings, etc.). The features of objects such as the sky and high-rise buildings can be eliminated, and only the road features are retained.
[0071] For example, the extraction module 411 may include multiple convolution modules, each of which includes multiple convolution layers. Each convolution layer is used to extract and map features of the input image to obtain a feature representation of the input image. Image 401 is processed by multiple convolution modules (multiple convolution layers) to obtain a feature representation of image 401. The feature representation of image 401 includes detailed features representing the outline or boundary of image 401 and semantic features representing different object categories in image 401.
[0072] The fusion module 412 is used to fuse the extracted features from various aspects.
[0073] For example, the fusion module 412 may include multiple convolution modules and upsampling modules. The convolution module is used to further extract and perform high-level mapping of the detail features and semantic features of the image 401 to obtain a high-level feature representation of the details and a high-level feature representation of the semantics of the image 401. The upsampling module samples the high-level feature representation of the details and the high-level feature representation of the semantics of the image 401 respectively to obtain high-level detail features and high-level semantic features of the image 401. The high-level feature representation and high-level semantic features of the image 401 are spliced to obtain the fusion features of the image 401. The filtering module 413 is used to filter, reduce the dimensionality, and other processes on the fused features to obtain the target features.
[0074] For example, the filtering module 413 may include multiple convolution modules for converting the feature dimensions of the fused features of the image 401, such as converting high-dimensional fused features into low-dimensional target features.
[0075] The classification and positioning module 414 is used to classify and mark the coordinates of the target features, obtain the road damage category and the coordinates of the road damage area in the image, and can also calculate the road damage area based on the coordinates of the road damage area, evaluate the road damage level, etc.
[0076] Figure 5 is a block diagram of a road detection device according to an embodiment of the present disclosure.
[0077] like Figure 5 As shown, the road detection device 500 includes an acquisition module 501 , an extraction module 502 , an identification module 503 , a first determination module 504 and a second determination module 505 .
[0078] The acquisition module 501 is used to acquire road video data collected by the detection device during driving.
[0079] The extraction module 502 is used to extract multiple images from the road video data according to the driving speed of the detection device during the driving process.
[0080] The recognition module 503 is used to recognize road abnormality information in each of the multiple images.
[0081] The first determining module 504 is used to determine at least one image among the multiple images that is identified as containing road abnormality information as a target image.
[0082] The second determination module 505 is used to determine the road detection result according to the target image.
[0083] According to an embodiment of the present disclosure, the road detection device 500 further includes a third determination module and an association module.
[0084] The third determination module is used to determine the acquisition time of each target image in the at least one target image.
[0085] The association module is used to determine, for each target image, the position information of the detection device on the detected road at the time of acquisition of the target image, as the position information of the detection device associated with the target image.
[0086] According to an embodiment of the present disclosure, the road detection device 500 further includes a sending module.
[0087] The sending module is used to send the road anomaly information in the target image and the position information of the detection device associated with the target image.
[0088] According to an embodiment of the present disclosure, the extraction module 502 includes a determination unit and an extraction unit.
[0089] The determination unit is used to determine the frame extraction rate according to the driving speed of the detection device.
[0090] The extraction unit is used to extract multiple images from the road video data according to a frame extraction rate.
[0091] According to an embodiment of the present disclosure, the determining unit includes a first determining subunit, a second determining subunit, a third determining subunit, and a fourth determining subunit.
[0092] The first determination subunit is used to determine the driving speed of the detection device at the current moment.
[0093] The second determining subunit is used to determine the image at the current moment in the road video data.
[0094] The third determining subunit is used to determine the actual road length corresponding to the image at the current moment according to the road length in the image at the current moment.
[0095] The fourth determination subunit is used to determine the frame decimation rate at the next moment according to the current driving speed, the actual road length corresponding to the image at the current moment, and the preset minimum frame decimation rate.
[0096] According to an embodiment of the present disclosure, the fourth determining subunit is used to determine the frame decimation rate at the next moment according to the following equation:
[0097] fr=max(v / L,frmin)
[0098] Among them, fr is the frame decimation rate at the next moment, v is the driving speed at the current moment, L is the actual road length corresponding to the image at the current moment, and frmin is the preset minimum frame decimation rate.
[0099] According to an embodiment of the present disclosure, the recognition module 503 is used to input the image into the target detection model to obtain road anomaly information in the image.
[0100] According to an embodiment of the present disclosure, the road abnormality information in the target image includes: at least one of the damage category of the road in the target image, the coordinates of the damaged area, and the area of the damaged area.
[0101] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0102] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0103] like Figure 6As shown, the device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0104] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0105] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as the road detection method. For example, in some embodiments, the road detection method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the road detection method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the road detection method in any other appropriate manner (e.g., by means of firmware).
[0106] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0107] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0108] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0109] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0110] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0111] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.
[0112] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0113] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A road detection method, include: Obtain road video data collected by the detection equipment during driving; extracting a plurality of images from the road video data according to the driving speed of the detection device during the driving process; For each of the plurality of images, identifying road abnormality information in the image; determining at least one image among the plurality of images that is identified as containing road abnormality information as a target image; as well as Determine a road detection result according to the target image; Wherein, extracting a plurality of images from the road video data according to the driving speed of the detection device during the driving process comprises: Determine the real-time driving speed of the detection device at the current moment; In response to the light intensity and the shooting angle of the camera of the detection device meeting the preset conditions, determining the image at the current moment in the road video data, and extracting a sub-image containing only the road from the image at the current moment; Calculating, according to the length of the road in the sub-image along the driving direction of the detection device, the actual road length corresponding to the road length in the sub-image; Determining a real-time frame extraction rate according to the real-time driving speed at the current moment and the actual road length corresponding to the image at the current moment; Determine a larger value between the real-time frame decimation rate and the preset minimum frame decimation rate as the frame decimation rate at the next moment; The next image is extracted from the road video data according to the frame extraction rate at the next moment.
2. The method according to claim 1, further comprising: include: Determining a capture time of each target image in the at least one target image; For each target image, the position information of the detection device on the detected road at the time of acquisition of the target image is determined as the position information of the detection device associated with the target image.
3. The method according to claim 2, further comprising: include: The road anomaly information in the target image and the position information of the detection device associated with the target image are sent.
4. The method according to claim 1, in, The determining of the larger value of the real-time frame decimation rate and the preset minimum frame decimation rate as the frame decimation rate at the next moment includes: The frame decimation rate at the next moment is determined according to the following equation: in, is the frame extraction rate at the next moment, v is the driving speed at the current moment, L is the actual road length corresponding to the image at the current moment, is the preset minimum frame decimation rate.
5. The method according to claim 1, in, The identifying of abnormal road information in the image comprises: The image is input into a target detection model to obtain road anomaly information in the image.
6. The method according to any one of claims 1 to 5, in, The road abnormality information in the target image includes: at least one of a damage type of the road in the target image, coordinates of a damaged area, and an area of the damaged area.
7. A road detection device, include: An acquisition module is used to acquire road video data collected by the detection device during driving; an extraction module, configured to extract a plurality of images from the road video data according to the driving speed of the detection device during the driving process; A recognition module, configured to recognize road abnormality information in each of the plurality of images; A first determining module, configured to determine at least one image among the plurality of images that is identified as containing road abnormality information as a target image; as well as A second determination module, used to determine a road detection result according to the target image; Among them, the extraction module is also used to determine the real-time driving speed of the detection device at the current moment; in response to the light intensity and the shooting angle of the camera of the detection device meeting the preset conditions, determine the image at the current moment in the road video data, and cut out a sub-image containing only the road from the image at the current moment; according to the length of the road along the driving direction of the detection device in the sub-image, calculate the actual road length corresponding to the road length in the sub-image; determine the real-time frame extraction rate according to the real-time driving speed at the current moment and the actual road length corresponding to the image at the current moment; determine the larger value of the real-time frame extraction rate and the preset minimum frame extraction rate as the frame extraction rate at the next moment; according to the frame extraction rate at the next moment, extract the next image from the road video data.
8. The device according to claim 7, further comprising: include: A third determination module, used to determine the acquisition time of each target image in the at least one target image; The association module is used to determine, for each target image, the position information of the detection device on the detected road at the time of acquisition of the target image, as the position information of the detection device associated with the target image.
9. The device according to claim 8, further comprising: include: The sending module is used to send the road anomaly information in the target image and the position information of the detection device associated with the target image.
10. The device according to claim 7, in, The decimation module is used to determine the frame decimation rate at the next moment according to the following equation: in, is the frame extraction rate at the next moment, v is the driving speed at the current moment, L is the actual road length corresponding to the image at the current moment, is the preset minimum frame decimation rate.
11. The device according to claim 7, in, The recognition module is used to input the image into a target detection model to obtain road anomaly information in the image.
12. The device according to any one of claims 7 to 11, in, in, The road abnormality information in the target image includes: at least one of a damage type of the road in the target image, coordinates of a damaged area, and an area of the damaged area.
13. An electronic device, include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.
14. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 6.
15. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Distributed type road surface breakage image vehicular collecting system
CN101550673A
Improved comprehensive intelligent detecting vehicle for asphalt pavement damages
CN102518030A
