Data processing method, readable storage medium and electronic equipment

By comparing the matching degree of radar detection data collected at different times, the difficult example data is automatically determined, which solves the problem of low efficiency and subjective influence of manual determination of difficult example data, and improves the training data quality and inference accuracy of the radar detection model.

CN118534489APending Publication Date: 2024-08-23HUAWEI TECH CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202310183088.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In the existing technology, manually determining difficult example data in radar detection data is inefficient and the results are greatly affected by manual subjectivity, which affects the accuracy of model inference results.

Method used

By inputting the radar detection data collected by the vehicle at different times into the model, the matching degree is compared, and the matching degree is used to meet the preset conditions to determine the difficult case data, including the matching degree with the radar detection data and visual detection data at other times, and the automatic determination Hard case data.

Benefits of technology

It improves the accuracy and efficiency of difficult example data, reduces manual intervention, improves the quality of training data for radar detection models, and improves the accuracy of model inference results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118534489A
    Figure CN118534489A
Patent Text Reader

Abstract

The invention relates to the technical field of artificial intelligence, and discloses a data processing method, a readable storage medium and electronic equipment. The method comprises the following steps: inputting data acquired by a first detection device of a vehicle at a first moment into a first model to obtain a first obstacle detection result, and generating an obstacle detection result by the first model based on data acquired by the first detection device at other moments; and / or an obstacle detection result generated by using data of the second detection device is matched in the comparison area; and according to a matching result, determining whether the first detection data is difficult data of the first model or not. According to the method, the difficult case type does not need to be manually specified in advance, the difficult case data of the first model is actively mined based on the matching result of the output result of the first model and other results, and the matching result reflects the inconsistency of the first obstacle detection result and the second obstacle detection result in time sequence and space; and the accuracy and efficiency of difficult case mining can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to a data processing method, a readable storage medium, and an electronic device. Background Art

[0002] With the development of radar technology, radar is increasingly used in electronic devices. For example, vehicles are usually equipped with radars, and vehicles can use trained models to infer obstacle information in the vehicle's environment based on radar detection data detected by the radar. The training data that the model relies on during the training process will directly affect the accuracy of the model's inference of obstacle information in the vehicle's environment. In order to improve the accuracy of the model's inference results, the model can usually be iteratively trained based on radar detection data (hereinafter referred to as difficult data) with low accuracy in the inference results given by the model.

[0003] At present, the difficult data of the model is usually determined manually, which is inefficient and the determined difficult data is greatly affected by human subjectivity. Therefore, how to determine the difficult data in radar detection data is an urgent problem to be solved. Summary of the invention

[0004] In view of this, the embodiments of the present application provide a data processing method, a readable storage medium, and an electronic device. By comparing the test result obtained by inferring a certain model on a certain test data with other test results, it is determined whether the test data is a difficult example data of the model, which is conducive to improving the accuracy and efficiency of determining the difficult example data.

[0005] In a first aspect, the present application provides a data processing method, comprising: inputting first detection data collected by a vehicle at a first moment using a first detection device into a first model to obtain a first obstacle detection result of the vehicle; matching the first obstacle detection result with the second obstacle detection result, and determining whether the first detection data is difficult example data of the first model based on the matching result, wherein when the first detection data is difficult example data of the first model, it indicates that the accuracy of the first obstacle detection result does not meet preset requirements.

[0006] That is to say, in this application, the first obstacle detection result obtained by the first model based on the first detection data is matched with other obstacle detection results to determine whether the first detection data is the difficult data of the first model. Therefore, there is no need for manual intervention, and the determination result is not affected by manual subjective experience, which is conducive to improving the accuracy and efficiency of determining difficult data.

[0007] In a possible implementation of the first aspect above, the second obstacle detection result above includes a third obstacle detection result generated by the first model based on second detection data collected by the first detection device at the second moment, and / or a fourth obstacle detection result generated based on third detection data collected by the second detection device at the third moment.

[0008] That is to say, in some implementations, the first obstacle detection result can be matched with the detection result of the first model obtained at other times based on the detection data of the first detection device, and / or the detection result obtained by other means other than the first model based on the detection data of a detection device other than the first detection device at the first time or other times, to determine whether the first detection data is difficult example data of the first model, which is beneficial to further improve the accuracy of the determination result.

[0009] In a possible implementation of the first aspect, the determining whether the first detection data is hard-example data for the first model based on the matching result includes: determining that the first detection data is hard-example data for the first model when a first matching degree between the first obstacle detection result and the third obstacle detection result, and / or a second matching degree between the first obstacle detection result and the fourth obstacle detection result meet a hard-example condition.

[0010] In a possible implementation of the first aspect above, the difficult example conditions include at least one of the following conditions: at least one first matching degree is less than a first preset matching degree; at least one second matching degree is less than a second preset matching degree; the weighted sum of each first matching degree and each second matching degree is less than a preset weighted matching degree; the maximum value of each first matching degree and each second matching degree is less than a preset maximum matching degree; the average value of each first matching degree and each second matching degree is less than a preset average matching degree.

[0011] In a possible implementation of the first aspect, the first matching degree is determined based on obstacle information in the comparison area in the first obstacle detection result and obstacle information in the comparison area in the third obstacle detection result; the second matching degree is determined based on obstacle information in the comparison area in the first obstacle detection result and obstacle information in the comparison area in the fourth obstacle detection result.

[0012] That is to say, in some implementations, only the obstacle information within the comparison area may be matched without paying attention to the obstacle information outside the comparison area. This can prevent the obstacle information outside the comparison area from affecting the accuracy of the matching results, which is conducive to further improving the accuracy of determining whether the first detection data is difficult example data.

[0013] In a possible implementation of the first aspect, the first obstacle detection result includes three-dimensional contour information of N obstacles, the third obstacle detection result includes three-dimensional contour information of M objects, and the fourth obstacle detection result includes two-dimensional contour information of P obstacles.

[0014] In a possible implementation of the first aspect, the first matching degree is determined by a matching degree between three-dimensional contour information of an obstacle in the comparison area among the N obstacles and three-dimensional contour information of an obstacle in the comparison area among the M obstacles; and the second matching degree is determined by a difference degree between a projection of the three-dimensional contour information of the obstacle in the comparison area among the N obstacles on a plane where a fourth obstacle detection result is located and two-dimensional contour information of an obstacle in the comparison area among the P obstacles.

[0015] In a possible implementation of the first aspect above, the comparison area includes: an area composed of boundary points on the polar axis of each polar angle in a polar coordinate system with a coordinate center as a pole in a top view of the three-dimensional contour information of N obstacles, wherein the coordinate center includes one of the center of the vehicle, the center of gravity of the vehicle, and the coordinate center of the first detection device; wherein the boundary point is determined in the following manner: when the polar axis of the first polar angle has an intersection with a static obstacle among the N obstacles, the intersection is used as the boundary point of the polar axis of the first polar angle, and the first polar angle is any polar angle in the polar coordinate system; when the polar axis of the first polar angle has no intersection with a static obstacle among the N obstacles, the intersection of the polar axis of the first polar angle and the edge of the road surface or the intersection of the polar axis of the first polar angle and the boundary of the top view is used as the boundary point of the polar axis of the first polar angle.

[0016] In a possible implementation of the first aspect, the interval between the first moment and the second moment is less than a first preset duration, and the interval between the first moment and the third moment is less than a second preset duration.

[0017] That is, in some implementations, the interval between the first moment and the second moment is less than the first preset duration, and the interval between the first moment and the third moment is less than the second preset duration. For example, the first moment and the second moment may be the moments when the first detection device collects data twice in a row, and the third moment may be the same moment as the first moment or the second moment. This ensures the similarity of the environment in which the vehicle is located when collecting the first detection data, the second detection data, and the third detection data, thereby improving the accuracy of the determination result.

[0018] In a possible implementation of the first aspect, the first detection device includes a radar of the vehicle, the second detection device includes a camera of the vehicle, and the first model is a radar detection model.

[0019] In a second aspect, the present application provides a readable storage medium, which stores instructions. When the instructions are executed by an electronic device, the electronic device implements the data processing method provided by the first aspect and any possible implementation of the first aspect.

[0020] In a third aspect, the present application provides an electronic device, comprising: a memory for storing instructions; and at least one processor for executing instructions so that the electronic device implements the data processing method provided by the first aspect and any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 According to some embodiments of the present application, a schematic diagram of determining difficult data using an autonomous driving function of a vehicle is shown;

[0022] Figure 2 According to some embodiments of the present application, a process schematic diagram of a data processing method is shown;

[0023] Figure 3 According to some embodiments of the present application, a functional block diagram of a vehicle 100 is shown;

[0024] Figure 4 According to some embodiments of the present application, a flow chart of a data processing method is shown;

[0025] Figure 5A According to some embodiments of the present application, a schematic diagram of an environment in which a vehicle 100 is located at a first moment is shown;

[0026] Figure 5B According to some embodiments of the present application, a schematic diagram of a first radar detection result corresponding to obstacle information of an environment in which a vehicle 100 is located at a first moment is shown;

[0027] Figure 5C According to some embodiments of the present application, a schematic diagram of a second radar detection result corresponding to obstacle information of an environment in which a vehicle 100 is located at a second moment is shown;

[0028] Figure 6 According to some embodiments of the present application, a schematic diagram of a top view of a first radar detection result is shown;

[0029] Figure 7 According to some embodiments of the present application, a flowchart of yet another data processing method is shown.

[0030] Figure 8 According to some embodiments of the present application, a schematic diagram of a visual detection result corresponding to obstacle information of an environment in which a vehicle 100 is located at a first moment is shown;

[0031] Fig. 9 According to some embodiments of the present application, a schematic diagram of a process for determining a second matching degree is shown;

[0032] Fig.10 According to some embodiments of the present application, a flow chart of another data processing method is shown;

[0033] Fig.11 According to some embodiments of the present application, a flowchart of another data processing method is shown. DETAILED DESCRIPTION

[0034] Illustrative embodiments of the present application include, but are not limited to, a data processing method, a readable storage medium, and an electronic device.

[0035] The technical solution of the present application is described below in conjunction with the accompanying drawings.

[0036] In order to solve the problem that manually determining the difficult data of the model is inefficient and the determined difficult data is greatly affected by human subjectivity, in some embodiments, the vehicle's automatic driving function can be used to determine the difficult data.

[0037] For example, refer to Figure 1 When the driver is manually driving the vehicle, the vehicle first uses the autonomous driving function based on the vehicle's driving data, such as radar detection data detected by the vehicle's radar, to infer the obstacle information of the vehicle's environment through the radar detection model. Then, the vehicle makes an autonomous driving decision based on the obstacle information of the vehicle's environment (such as the operations that the vehicle should perform, such as acceleration, deceleration, braking, turning, etc., determined by the autonomous driving function). Finally, the autonomous driving decision is compared with the manual driving decision (such as the actual operation of the vehicle by the driver), and when the autonomous driving decision and the manual driving decision are different, the vehicle's driving data (such as radar detection data) is determined as the difficult example data of the radar detection model.

[0038] However, since manual driving decisions are greatly influenced by the driver's experience and driving purpose, manual driving decisions are usually not the optimal decisions for a vehicle in a certain environment, which leads to the fact that autonomous driving decisions and manual driving decisions are usually different. It is easy to judge good example data (that is, data with more accurate results obtained by model reasoning) as difficult example data, resulting in lower accuracy of difficult example data.

[0039] In view of this, an embodiment of the present application provides a data processing method for determining difficult data of a radar detection model. In the data processing method of the present application, the obstacle detection result obtained after the radar detection data measured by the radar at the first moment during the driving of the vehicle is input into the radar detection model is matched with the obstacle detection results obtained after the radar detection data of the radar at other moments are input into the radar detection model, and / or the obstacle detection result obtained after the radar detection result measured by the radar at the detection moment is input into the radar detection model is matched with other obstacle detection results (for example, visual detection results obtained based on the visual detection data of the vehicle's camera), and whether the obstacle detection result obtained after the radar monitoring result at the first moment is input into the radar detection model is determined according to the matching result.

[0040] For example, when the vehicle is driving, the radar detection data of the radar at the first moment can be input into the radar detection model to determine the radar detection result of the environment in which the vehicle is located at the first moment (the obstacle information of the vehicle's environment obtained by using the radar detection data). Then, at least one first matching degree between the radar detection result of the vehicle's environment at the first moment and the radar detection result of the vehicle at at least one second moment, and at least one second matching degree between the radar detection result of the vehicle's environment at the first moment and the visual detection result at at least one third moment (the obstacle information of the vehicle's environment obtained by using the visual detection data captured by the camera) will be determined. Finally, when each first matching degree and / or each second matching degree of the vehicle meets the difficult example condition, the radar detection data of the vehicle's radar at the first moment is determined to be the difficult example data of the radar detection model.

[0041] That is to say, when the radar detection data at the first moment is difficult example data of the radar model, it indicates that the accuracy of the radar detection result of the environment at the first moment does not meet the preset requirements, for example, the accuracy is lower than the preset accuracy.

[0042] Based on the above method, since the difficult example data is determined by the first matching degree of the radar detection results corresponding to the radar detection data at multiple moments, and / or the second matching degree between the radar detection results and the visual detection results at at least one moment, it does not require human intervention and is not affected by human subjective factors, which is conducive to improving the efficiency of mining difficult example data and the accuracy of difficult example data.

[0043] It can be understood that in some embodiments, the second moment can be any moment whose interval with the first moment is less than the preset time length, for example, the second moment can be any moment whose interval with the first moment is less than 200 milliseconds. For example, in some implementations, when there is only one second moment, the first moment and the second moment can be the moments when the radar collects data twice in succession, in which case the interval between the first moment and the second moment can be less than 200 milliseconds, that is, the frequency of the radar collecting data is greater than 5 Hz.

[0044] It is understood that the third moment can be any moment whose interval between the first moments is less than the preset time length, for example, the second moment can be any moment whose interval between the second moment and the first moment is less than 200 milliseconds. For example, in some implementations, when there is only one third moment, the third moment can be the same as the first moment.

[0045] It is understood that in some embodiments, the radar detection result can be obtained by inputting the radar detection data into a pre-trained radar detection model and using the radar detection model to infer. Exemplarily, the radar detection model can be any model that can obtain obstacle information in the radar detection data by inferring the radar detection data, such as a target detection model based on a neural network or deep learning, etc. The type and form of the radar detection model are not limited here.

[0046] It is understood that in some embodiments, the visual detection result can be obtained by inputting the visual detection data (e.g., images, videos) into a pre-trained visual detection model and using the visual detection model to infer. Exemplarily, the visual detection model can be any model that can obtain obstacle information in the visual detection data by inferring the visual detection data, such as a target detection model based on a neural network or deep learning, etc. The type and form of the visual detection model are not limited here.

[0047] It can be understood that in some embodiments, the value of the first matching degree increases with the increase in the matching degree between the radar detection result of the vehicle at the first moment and the radar detection result of the vehicle at the second moment; the value of the second matching degree increases with the increase in the matching degree between the radar detection result of the vehicle at the first moment and the visual detection result of the vehicle at the third moment. Based on this, in some embodiments, the above-mentioned difficult example condition may include at least one of the following conditions:

[0048] At least one first matching degree is less than a first preset matching degree;

[0049] At least one second matching degree is less than a second preset matching degree;

[0050] A weighted sum of each first matching degree and each second matching degree is less than a preset weighted matching degree;

[0051] The maximum value of each first matching degree and each second matching degree is less than a preset maximum matching degree;

[0052] An average value of each first matching degree and each second matching degree is less than a preset average matching degree.

[0053] It can be understood that in other embodiments, the above-mentioned difficult example conditions may also include more or fewer conditions, which are not limited here.

[0054] For ease of description, the following introduces the technical solution of the present application by taking as an example whether the radar detection data at the first moment is difficult example data of the radar detection model based on a first matching degree between the radar detection result at the first moment and the radar detection result of the vehicle at the second moment, and / or a second matching degree between the radar detection result at the first moment and the visual detection result of the environment in which the vehicle is located at the first moment.

[0055] For example, Figure 2 According to some embodiments of the present application, a process diagram of a data processing method is shown.

[0056] like Figure 2 As shown, during the driving process, the vehicle 100 can use the radar of the vehicle 100 to obtain the radar detection data of the environment in which the vehicle 100 is located at the first moment and the second moment, respectively, and use the camera of the vehicle 100 to obtain the visual detection data of the environment in which the vehicle 100 is located at the first moment. Then, the vehicle 100 inputs the visual detection data and the radar detection data into the visual detection model and the radar detection model respectively, and obtains the visual detection result and the radar detection result corresponding to the obstacle information in the environment in which the vehicle 100 is located. Finally, the vehicle 100 inputs the visual detection result and the radar detection result into the difficult example mining module, and the difficult example mining module determines that the radar detection data at the first moment is difficult example data based on the first matching degree between the radar detection result at the first moment and the radar detection result of the vehicle at the second moment, and / or the second matching degree between the radar detection result at the first moment and the visual detection result of the environment in which the vehicle is located at the first moment, when the first matching degree and / or the second matching degree meet the difficult example condition.

[0057] If the vehicle 100 determines that the radar detection data at the first moment is difficult data, the obstacle information in the first radar detection data can be manually annotated using the annotation module, and the annotated data can be added to the training set. In this way, the radar detection model can be iteratively trained by the vehicle 100 or other electronic devices to improve the accuracy of the radar detection results obtained by the radar detection model based on the radar detection data.

[0058] For ease of understanding, a functional block diagram of the vehicle 100 is first introduced below.

[0059] Figure 3According to some embodiments of the present application, a functional block diagram of a vehicle 100 is shown.

[0060] In some embodiments, the vehicle 100 is configured to be in a fully or partially automatic driving mode (i.e., the automatic driving function of the vehicle 100 is used to achieve the automatic driving of the vehicle 100). For example, when the vehicle 100 is configured to be in a partially automatic driving mode, the vehicle 100 can also determine the current state of the vehicle and its surrounding environment through human operation when in the automatic driving mode, determine the possible behavior of at least one other vehicle in the surrounding environment, and determine the confidence level corresponding to the possibility of the other vehicle performing the possible behavior, and control the vehicle 100 based on the determined information. When the vehicle 100 is in the automatic driving mode, the vehicle 100 can be set to operate without human interaction. The vehicle 100 may include various subsystems, such as a travel system 102, a sensor system 104, a control system 106, one or more peripheral devices 108, and a power supply 110, a computer system 112, and a user interface 116. Optionally, the vehicle 100 may include more or fewer subsystems, and each subsystem may include multiple elements. In addition, each subsystem and element of the vehicle 100 may be interconnected by wire or wirelessly.

[0061] The travel system 102 may include components that provide powered movement for the vehicle 100. In some embodiments, the travel system 102 may include an engine 118, an energy source 119, a transmission 120, and wheels / tires 121. The engine 118 may be an internal combustion engine, an electric motor, an air compression engine, or other types of engine combinations, such as a hybrid engine consisting of a gasoline engine and an electric motor, or a hybrid engine consisting of an internal combustion engine and an air compression engine. The engine 118 converts the energy source 119 into mechanical energy.

[0062] Examples of energy source 119 include gasoline, diesel, other petroleum-based fuels, propane, other compressed gas-based fuels, ethanol, solar panels, batteries, and other sources of electricity. Energy source 119 may also provide energy to other systems of vehicle 100.

[0063] The transmission 120 can transmit mechanical power from the engine 118 to the wheels 121. The transmission 120 may include a gearbox, a differential, and a drive shaft. In some embodiments, the transmission 120 may also include other devices, such as a clutch. Among them, the drive shaft may include one or more shafts that can be coupled to one or more wheels 121.

[0064] The sensor system 104 may include several sensors that sense information about the environment surrounding the vehicle 100. For example, the sensor system 104 may include a positioning system 122 (the positioning system may be a GPS system, or a Beidou system or other positioning systems), an inertial measurement unit (IMU) 124, a radar 126, a laser rangefinder 128, and a camera 130. The sensor system 104 may also include sensors of the internal systems of the monitored vehicle 100 (e.g., an in-vehicle air quality monitor, a fuel gauge, an oil temperature gauge, etc.). Sensor data from one or more of these sensors may be used to detect objects and their corresponding characteristics (position, shape, direction, speed, etc.). Such detection and recognition are key functions for the safe operation of the autonomous vehicle 100.

[0065] It is understandable that in other embodiments, the sensor system 104 may further include more sensors, such as ultrasonic sensors, etc., which are not limited here.

[0066] Positioning system 122 may be used to estimate the geographic location of vehicle 100. IMU 124 is used to sense position and orientation changes of vehicle 100 based on inertial acceleration. In some embodiments, IMU 124 may be a combination of an accelerometer and a gyroscope.

[0067] The radar 126 can use radio signals to sense objects in the surrounding environment of the vehicle 100 and obtain radar detection data of the environment in which the vehicle 100 is located. In some embodiments, in addition to sensing objects, the radar 126 can also be used to sense the speed and / or the direction of travel of the object.

[0068] In some embodiments, the radar 126 may be a laser radar (LiDAR).

[0069] The laser rangefinder 128 may utilize laser light to sense objects in the environment in which the vehicle 100 is located. In some embodiments, the laser rangefinder 128 may include one or more laser sources, a laser scanner, and one or more detectors, among other system components.

[0070] The camera 130 may be used to capture multiple images of the surrounding environment of the vehicle 100. The camera 130 may be a still camera or a video camera. In some embodiments, the camera 130 may be used to obtain visual detection data of the environment in which the vehicle 100 is located, such as an image or video of the environment in which the vehicle 100 is located, so as to determine obstacle information in the environment in which the vehicle is located.

[0071] The control system 106 controls the operation of the vehicle 100 and its components. The control system 106 may include various elements, including a steering system 132 , a throttle 134 , a brake unit 136 , a computer vision system 140 , a path control system 142 , and an obstacle avoidance system 144 .

[0072] The steering system 132 is operable to adjust the forward direction of the vehicle 100. For example, in some embodiments, it may be a steering wheel system.

[0073] The throttle 134 is used to control the operating speed of the engine 118 and, in turn, the speed of the vehicle 100 .

[0074] The brake unit 136 is used to control the deceleration of the vehicle 100. The brake unit 136 can use friction to slow down the wheel 121. In other embodiments, the brake unit 136 can convert the kinetic energy of the wheel 121 into electric current. The brake unit 136 can also take other forms to slow down the rotation speed of the wheel 121 to control the speed of the vehicle 100.

[0075] The computer vision system 140 can be operated to process and analyze the images captured by the camera 130 in order to identify objects and / or features in the environment surrounding the vehicle 100. The objects and / or features may include traffic signals, road boundaries, and obstacles. The computer vision system 140 may use object recognition algorithms, structure from motion (SFM) algorithms, video tracking, and other computer vision techniques. In some embodiments, the computer vision system 140 can be used to map the environment, track objects, estimate the speed of objects, and so on. For example, in some embodiments, the computer vision system 140 can be used to obtain visual detection results corresponding to obstacle information in the environment of the vehicle 100 based on the visual detection data collected by the camera 130 using a pre-trained visual detection model.

[0076] The route control system 142 is used to determine the driving route of the vehicle 100. In some embodiments, the route control system 142 can combine data from sensors, the positioning system 122, and one or more predetermined maps to determine the driving route for the vehicle 100.

[0077] The obstacle avoidance system 144 is used to identify, evaluate, and avoid or otherwise negotiate potential obstacles in the environment of the vehicle 100 .

[0078] Of course, in some examples, the control system 106 may include additional or alternative components other than those shown and described, or may also reduce some of the components shown above.

[0079] The vehicle 100 interacts with external sensors, other vehicles, other computer systems, or users through peripherals 108. The peripherals 108 may include a wireless communication system 146, an onboard computer 148, a microphone 150, and / or a speaker 152.

[0080] In some embodiments, the peripheral device 108 provides a means for the user of the vehicle 100 to interact with the user interface 116. For example, the onboard computer 148 can provide information to the user of the vehicle 100. The user interface 116 can also operate the onboard computer 148 to receive input from the user. The onboard computer 148 can be operated via a touch screen. In other cases, the peripheral device 108 can provide a means for the vehicle 100 to communicate with other devices located in the vehicle. For example, the microphone 150 can receive audio (e.g., voice commands or other audio input) from the user of the vehicle 100. Similarly, the speaker 152 can output audio to the user of the vehicle 100.

[0081] The wireless communication system 146 can communicate wirelessly with one or more devices directly or via a communication network. For example, the wireless communication system 146 can use 3G cellular communication, such as code division multiple access (CDMA), global system for mobile communications (GSM) / general packet radio service (GPRS), or 4G cellular communication, such as LTE. Or 5G cellular communication. The wireless communication system 146 can communicate with a wireless local area network (WLAN) using wireless fidelity (Wi-Fi). In some embodiments, the wireless communication system 146 can communicate directly with the device using an infrared link, Bluetooth or Zig Bee protocol. Other wireless protocols, such as various vehicle communication systems, for example, the wireless communication system 146 may include one or more dedicated short range communications (DSRC) devices, which may include public and / or private data communications between vehicles and / or roadside stations.

[0082] The power source 110 can provide power to various components of the vehicle 100. In some embodiments, the power source 110 can be a rechargeable lithium-ion or lead-acid battery. One or more battery packs of such batteries can be configured as a power source to provide power to various components of the vehicle 100. In some embodiments, the power source 110 and the energy source 119 can be implemented together, such as in some all-electric vehicles.

[0083] Some or all functions of the vehicle 100 are controlled by a computer system 112. The computer system 112 may include at least one processor 113 that executes instructions 115 stored in a non-transitory computer-readable medium such as a data storage device 114. The computer system 112 may also be a plurality of computing devices that control individual components or subsystems of the vehicle 100 in a distributed manner.

[0084] Processor 113 can be any conventional processor, such as a commercially available central processing unit (CPU). Alternatively, the processor can be a dedicated device such as an integrated circuit (ASIC) for a specific application or other hardware-based processor. Those of ordinary skill in the art will appreciate that the processor, computer, or memory can actually include multiple processors, computers, or memories that may or may not be stored in the same physical housing. For example, the memory can be a hard drive or other storage medium located in a housing different from the computer. Therefore, references to processors or computers will be understood to include references to a collection of processors or computers or memories that may or may not operate in parallel. Different from using a single processor to perform the steps described herein, some components such as steering components and deceleration components can each have their own processors that only perform calculations related to component-specific functions.

[0085] In various aspects described herein, the processor may be located remote from the vehicle and in wireless communication with the vehicle. In other aspects, some of the processes described herein are performed on a processor disposed within the vehicle and others are performed by a remote processor, including taking the necessary steps to perform a single maneuver.

[0086] In some embodiments, the data storage device 114 may include instructions 115 (e.g., program logic), which may be executed by the processor 113 to perform various functions of the vehicle 100, including those described above. The data storage device 114 may also include additional instructions, including instructions for sending data to, receiving data from, interacting with, and / or controlling one or more of the propulsion system 102, the sensor system 104, the control system 106, and the peripheral device 108. For example, in some implementations, the instructions 115 may include instructions corresponding to the data processing methods provided in the various embodiments of the present application, such as instructions corresponding to the aforementioned difficult example mining module. Furthermore, when the processor 113 executes the instructions 115, it can determine the difficult example data based on the data processing methods provided in the various embodiments of the present application.

[0087] In addition to the instructions 115, the data storage device 114 may also store data, such as road maps, route information, the vehicle's location, direction, speed, and other such vehicle data, as well as other information, etc. Such information may be used by the vehicle 100 and the computer system 112 during operation of the vehicle 100 in autonomous, semi-autonomous, and / or manual modes. For example, in some implementations, the data storage device 114 may be based on the difficult example data obtained by the data processing method provided in various embodiments of the present application.

[0088] The user interface 116 is used to provide information to or receive information from a user of the vehicle 100. Optionally, the user interface 116 may include one or more input / output devices within the set of peripherals 108, such as a wireless communication system 146, a vehicle computer 148, a microphone 150, and a speaker 152.

[0089] The computer system 112 may control functions of the vehicle 100 based on input received from various subsystems (e.g., the travel system 102, the sensor system 104, and the control system 106) and from the user interface 116. For example, the computer system 112 may utilize input from the control system 106 in order to control the steering unit 132 to avoid obstacles detected by the sensor system 104 and the obstacle avoidance system 144. In some embodiments, the computer system 112 may be operable to provide control over many aspects of the vehicle 100 and its subsystems.

[0090] Alternatively, one or more of the above-mentioned components may be installed or associated separately from the vehicle 100. For example, the data storage device 114 may exist partially or completely separate from the vehicle 100. The above-mentioned components may be communicatively coupled together in a wired and / or wireless manner.

[0091] Optionally, the above components are only examples. In actual applications, the components in the above modules may be added or deleted according to actual needs. Figure 3 It should not be understood as limiting the embodiments of the present application.

[0092] An autonomous vehicle traveling on a road, such as vehicle 100 above, can identify objects in its surrounding environment to determine its adjustment to its current speed. The objects can be other vehicles, traffic control devices, pedestrians, road signs, or other types of objects. In some examples, each identified obstacle can be considered independently, and the speed of the autonomous vehicle to be adjusted is determined based on the respective characteristics of each obstacle, such as its current speed, acceleration, spacing from the vehicle, etc.

[0093] Optionally, the vehicle 100 or a computing device associated with the vehicle 100 (eg Figure 3The computer system 112, computer vision system 140, data storage device 114) can predict the behavior of the identified obstacles based on the characteristics of the identified obstacles and the state of the surrounding environment (e.g., traffic, rain, ice on the road, etc.). Optionally, each of the identified obstacles depends on the behavior of each other, so all of the identified obstacles can also be considered together to predict the behavior of a single identified obstacle. The vehicle 100 can adjust its speed based on the predicted behavior of the identified obstacles. In other words, the autonomous vehicle can determine what state the vehicle will need to adjust to (e.g., accelerate, decelerate, or stop) based on the predicted behavior of the obstacles. In this process, other factors can also be considered to determine the speed of the vehicle 100, such as the lateral position of the vehicle 100 in the road it is traveling on, the curvature of the road, the proximity of static and dynamic objects, etc.

[0094] In addition to providing instructions to adjust the speed of the autonomous vehicle, the computing device may also provide instructions to modify the steering angle of vehicle 100 so that the autonomous vehicle follows a given trajectory and / or maintains a safe lateral and longitudinal distance from obstacles near the autonomous vehicle (e.g., vehicles in adjacent lanes on the road).

[0095] The vehicle 100 may be a car, truck, motorcycle, bus, ship, airplane, helicopter, lawn mower, recreational vehicle, amusement park vehicle, construction equipment, tram, golf cart, train, and cart, etc., and the embodiments of the present invention do not make any particular limitation.

[0096] Combine the following Figure 3 The structure of the vehicle 100 is shown to introduce the technical solution of the present application.

[0097] First, a technical solution for determining difficult example data based on a first matching degree between a radar detection result of the vehicle 100 at a first moment and a radar detection result at a second moment is introduced.

[0098] Specifically, Figure 4 According to some embodiments of the present application, a flow chart of a data processing method is shown. The flow chart may be any computing unit in the vehicle 100, such as the processor 113. Figure 4 As shown, the process includes the following steps:

[0099] S401: Inferring first radar detection data at a first moment and second radar detection data at a second moment using a radar detection model to obtain a first radar detection result corresponding to the first radar detection data and a second radar detection result corresponding to the second radar detection data.

[0100] During driving, the vehicle 100 can obtain the first radar detection data and the second radar detection data detected by the radar 126 at the first moment and the second moment, respectively, and then input the first radar detection data and the second radar detection data into the radar detection model respectively, and obtain the first radar detection result corresponding to the obstacle information of the environment in which the vehicle 100 is located at the first moment and the second radar detection result corresponding to the obstacle information of the environment in which the vehicle 100 is located at the second moment through reasoning by the radar detection model.

[0101] It will be understood that in some embodiments, the first radar detection data or the second radar detection data may include the distribution of objects (e.g., object size, position, object type, etc.) and the motion state of objects (motion direction, speed, acceleration, etc.) in the environment in which the vehicle 100 is located, which are acquired by the vehicle 100 through the radar 126.

[0102] It will be understood that in some embodiments, the first radar detection result or the second radar detection result may include the three-dimensional contour of objects in the environment of vehicle 100 (e.g., the true three-dimensional contour of the object, a polyhedron including the object, etc.), location information, the type of object (static obstacle, dynamic obstacle, road, etc.), etc.

[0103] For example, Figure 5A According to some embodiments of the present application, a schematic diagram of an environment in which a vehicle 100 is located at a first moment is shown; Figure 5B According to some embodiments of the present application, a schematic diagram of a first radar detection result corresponding to obstacle information of an environment in which a vehicle 100 is located at a first moment is shown; Figure 5C According to some embodiments of the present application, a schematic diagram of a second radar detection result corresponding to obstacle information of an environment in which the vehicle 100 is located at a second moment is shown.

[0104] refer to Figure 5A , the vehicle 100 is traveling on the road R1 at the first moment, there is a vehicle D1 in front of the lane where the vehicle 100 is located, there are vehicles D2 and D3 in the lane to the right of the vehicle 100, and there is a road sign S1 on the left side of the road R1. After the vehicle 100 obtains the first radar detection data, it inputs the first radar detection data into the radar detection model to obtain Figure 5B The first radar detection result is shown.

[0105] refer to Figure 5B The first radar detection result includes a cuboid S1-2 representing the three-dimensional outline of the road sign S1, a cuboid D1-1 representing the three-dimensional outline of the vehicle D1, a cuboid D2-1 representing the three-dimensional outline of the vehicle D2, and a cuboid D3-1 representing the three-dimensional outline of the vehicle D3.

[0106] It can be understood that in some embodiments, the first radar detection result may also include a plane corresponding to the road R1, for example Figure 5B R1-1 shown.

[0107] refer to Figure 5C The second radar detection result includes a cuboid S1-2 representing the three-dimensional outline of the road sign S1, a cuboid D1-2 representing the three-dimensional outline of the vehicle D1, a cuboid D2-2 representing the three-dimensional outline of the vehicle D2, and a cuboid D3-2 representing the three-dimensional outline of the vehicle D3.

[0108] It can be understood that in some embodiments, the second radar detection result may also include a plane corresponding to the road R1, for example Figure 5C R1-2 shown.

[0109] Understandably, FIG. 5B to FIG. 5C The use of a rectangular block to represent the three-dimensional outline of the obstacle in the radar detection results shown is only an example. In other embodiments, the three-dimensional outline of the obstacle in the radar detection results may also be represented in other forms, such as the real three-dimensional outline of the obstacle, other polyhedrons, etc., which is not limited here.

[0110] It is understood that in some embodiments, the first moment and the second moment may be two consecutive moments when the radar 126 collects data. For example, in some implementations, the interval between the first moment and the second moment may be less than 200 milliseconds, that is, the frequency of the radar collecting data is greater than 5 Hz.

[0111] S402: Determine a comparison area based on the first radar detection result.

[0112] The vehicle 100 determines a comparison area based on the first radar detection result, wherein the comparison area is used to indicate an area for comparing obstacles in the first radar detection result and the second radar detection result.

[0113] For example, in some embodiments, the comparison area may be determined based on a top view of the first radar detection result, wherein the top view direction may be perpendicular to the plane where the vehicle 100 is located and pointing to the plane. Figure 5B , assuming that the plane where the vehicle 100 is located (for example, the plane where the road R1 is located) is the XY plane, the direction pointed by the front of the vehicle 100 is the Y direction, the direction perpendicular to the front of the vehicle in the XY plane is the Y direction, the direction perpendicular to the XY plane upward is the Z direction, and the side view direction is the direction from the Z direction to the XY plane. Figure 6The top view of the first radar detection result includes the rectangle D1-3 corresponding to the aforementioned vehicle D1, the rectangle D2-3 corresponding to the vehicle D2, the rectangle D3-3 corresponding to the vehicle D3, the rectangle S1-3 corresponding to the road sign S1, and the road area R1-3

[0114] In some embodiments, the obstacles in the overhead view of the first radar detection result can be divided into static obstacles (i.e., obstacles that do not move relative to the ground, such as road signs, roads, buildings, etc.) and dynamic obstacles (i.e., obstacles that move relative to the ground, such as pedestrians, vehicles, etc.). Then, with the vehicle 100 as the center (e.g., the geometric center of the vehicle 100, the center of gravity, the coordinate center of the radar 126, etc.), rays are projected to various angles around (360°) of the overhead view of the first radar detection result. If there is a static obstacle other than the road at a certain angle, the position where the angle first encounters the static obstacle other than the road is used as the corresponding boundary point of the comparison area of ​​the angle; if there is no static obstacle other than the road at a certain angle, the position where the ray at the angle first encounters the edge of the road or the edge of the overhead view of the first radar detection result is used as the corresponding boundary point of the comparison area of ​​the angle. Finally, the boundary points of the comparison area at each angle are connected in sequence according to the angle to obtain the comparison area.

[0115] For example, refer to Figure 6 , the center of radar 126 in the top view of the first radar detection result is point C, and rays can be projected around point C at all angles. The ray corresponding to angle A1 has an intersection A1-1 with the rectangle S1-4 corresponding to the road sign, so point A1-1 is used as the boundary point of the comparison area at angle A1; there are no static obstacles other than the road in the direction of angle A2, and the ray corresponding to angle A2 first has an intersection A2-1 with the edge of the rectangle R1-3 corresponding to the road R1, then the intersection A2-1 is used as the boundary red box of the comparison area at angle A2; there are no static obstacles other than the road in the direction of angle A3, and the ray corresponding to angle A2 has an intersection A3-1 with the edge of the top view of the first radar detection result, then the intersection A3-1 is used as the boundary point of the comparison area at angle A3. Then, the comparison area DS-1 can be obtained by connecting the boundary points of each angle in sequence according to the angle.

[0116] It can be understood that in other embodiments, the comparison area can also be determined based on the second radar detection result, which is not limited here.

[0117] It can be understood that in other embodiments, the comparison area can also be determined based on other methods, which are not limited here.

[0118] It can be understood that in some embodiments, a polar coordinate system with the vehicle 100 as the center (e.g., the geometric center, center of gravity, coordinate center of the radar 126, etc.) in the top view of the first radar detection result can be established, and the area composed of the boundary points on the polar axis of each polar angle in the polar coordinate system is used as the comparison area. Among them, the boundary points on the polar axis of each polar angle can be determined in the following manner: when the polar axis of a certain polar angle has an intersection with a static obstacle among the N obstacles, the intersection is used as the boundary point of the polar axis of the polar angle; when the polar axis of a certain polar angle has no intersection with a static obstacle among the N obstacles, the intersection of the polar axis of the polar angle and the edge of the road surface or the intersection of the polar axis of the polar angle and the boundary of the top view of the first radar detection result is used as the boundary point of the polar axis of the first polar angle.

[0119] S403: Determine a first matching degree between the first radar detection result and the second radar detection result.

[0120] The vehicle 100 determines a first degree of match between the first radar detection result and the second radar detection result. For example, in some embodiments, the first degree of match may be determined by a degree of match between obstacles in a comparison area in the first radar detection result and obstacles in a comparison area in the second radar detection result.

[0121] It is understood that in some embodiments, the first matching degree can be determined by a bipartite graph maximum weight matching (Kuhn-Munkres, KM algorithm), a Hungary algorithm, etc. The following takes the KM algorithm as an example to introduce a method for determining the first matching degree.

[0122] Assuming that the first radar detection result includes N obstacles, the nth obstacle can be represented by the set O1 n =(P n , S n , R n ) is used to represent the n =(x n ,y n ,z n ) represents the coordinates of the three-dimensional center of the nth obstacle in the coordinate system XYZ; S n =(l n ,w n ,h n ) represents the three-dimensional size of the nth obstacle (l represents length, w represents width, and h represents height); R n The angle R that represents the direction of the nth obstacle n Similarly, assuming that the second radar detection result includes M obstacles, the mth obstacle can be represented by the set O2 m =(P m , S m , Rm ) is used to represent the m =(x m ,y m ,z m ) represents the coordinates of the three-dimensional center of the m-th obstacle in the coordinate system XYZ; S m =(l m ,w m ,h m ) represents the three-dimensional size of the mth obstacle (l represents length, w represents width, and h represents height); R m The angle R that represents the direction of the mth obstacle m . Wherein, M and N may be the same or different.

[0123] If the nth obstacle in the first radar detection result matches the mth obstacle in the second radar detection result, then the similarity W(01 n ,O2 m ) can be expressed as the following formula (1):

[0124] W(O1 n ,O2 m )= W1(O1 n ,O2 m )×p+ W2(O1 n ,O2 m )×q+ W3(O1 n ,O2 m )×r (1)

[0125] In formula (1), W1(O1 n ,O2 m ) represents the position and attitude matching degree between the nth obstacle in the first radar detection result and the mth obstacle in the second radar detection result; W2(O1 n ,O2 m ) represents the size matching degree between the nth obstacle in the first radar detection result and the mth obstacle in the second radar detection result; W3(O1 n ,O2 m ) represents the orientation matching degree between the nth obstacle in the first radar detection result and the mth obstacle in the second radar detection result; p, q, r represent the similarity W(O1) between the nth obstacle in the first radar detection result and the mth obstacle in the second radar detection result, respectively. n ,O2 m )’s contribution level. The larger the value, the higher the contribution level.

[0126] It is understood that p, q, and r can be any experimental or empirical values ​​and are not limited here. For example, in some embodiments, p can be 1, q can be 0.5, and r can be 0.5.

[0127] For example, in some embodiments, W1(O1 n ,O2 m ) can be determined based on the following formula (2):

[0128] W1(O1 n ,O2 m )= (1-max(|x n -x m |,|y n -y m | / a)×diret_c (2)

[0129] In formula (2), max(|x n -x m |,|y n -y m | / a) is used to represent |x n -x m | and |y n -y m | / a, a is an empirical value or experimental value (for example, a can be 6); direc_c is used to represent the difference between the driving direction of the vehicle 100 at the first moment and the second moment; |.| represents the absolute value. In some embodiments, direc_c can be expressed as |tan(R1)-(y m -y n ) / x m -x n |, tan(R1) represents the tangent value of R1.

[0130] For example, in some embodiments, W2(O1 n ,O2 m ) can be determined based on the following formula (3):

[0131] W2(O1 n ,O2 m )= 1-(|l n -l m | / l n +|w n -w m | / w n +|h n -h m | / h n ) (3)

[0132] For example, in some embodiments, W3(O1n ,O2 m ) in R n With R m The difference (|R n -R m |) is greater than the preset orientation difference, it is 0, otherwise it is 1.

[0133] It is understood that in other embodiments, W1(O1 n ,O2 m )、W2(O1 n ,O2 m )、W3(O1 n ,O2 m ), no limitation is given here.

[0134] Then, the matching degree (i.e., the first matching degree) SU1 between the first radar detection result and the second radar detection result can be expressed as the following formula (4):

[0135] SU1=W1+W2+……+W N (4)

[0136] Among them, W n Indicates the similarity between the nth obstacle in the first radar detection result and the obstacle matched by the nth obstacle in the first radar detection result in the second radar detection result.

[0137] It can be understood that in some embodiments, the plane corresponding to the road in the first radar detection result may not be used as an obstacle to determine the first matching degree.

[0138] It can be understood that if the kth obstacle in the first radar detection result does not have a matching obstacle in the second radar detection result, then W k =0.

[0139] It is understandable that in some embodiments, the comparison area may not be determined, but the first matching degree is determined by matching all obstacles in the first radar detection result with all obstacles in the second radar result, which is not limited here.

[0140] It is understandable that in other embodiments, the first matching degree between the first radar detection result and the second radar detection result may also be determined by other methods, which are not limited here.

[0141] S404: Determine whether the first matching degree satisfies a difficult example condition.

[0142] After determining the first matching degree between the first radar detection result and the second radar detection result, the vehicle 100 determines whether the first matching degree satisfies the difficult example condition. If it is determined that the first matching degree satisfies the difficult example condition, it means that the first radar detection data is difficult example data of the radar detection model, and the process goes to step S405, otherwise, the determination of the first radar detection data ends.

[0143] It can be understood that the difficult example condition may include that the first matching degree is less than the first preset matching degree. In other embodiments, the difficult example condition may also include other conditions, which are not limited here.

[0144] S405: Determine the first radar detection data as difficult example data.

[0145] When the vehicle 100 determines that the first matching degree satisfies the hard-example condition, the vehicle 100 determines the first radar detection data as hard-example data of the radar detection model.

[0146] It can be understood that in some embodiments, after determining that the first radar detection data is difficult example data for the radar detection model, the obstacles in the first radar detection data can be manually labeled, and the labeled data can be added to the training set of the radar detection model to iteratively train the aforementioned radar detection model to improve the accuracy of the radar detection results obtained by the vehicle 100 using the radar detection model.

[0147] Based on the above method, since the difficult example data is determined by the first matching degree of the radar detection results corresponding to the radar detection data at different times, it does not require human intervention and is not affected by human subjective factors, which is conducive to improving the efficiency of mining difficult example data and the accuracy of the mined difficult example data.

[0148] It is understandable that in other embodiments, the above steps S401 to S405 may not be executed by the vehicle 100, but may be implemented by other electronic devices based on radar detection data collected by the radar 126 of the vehicle 100, which is not limited here.

[0149] Next, a technical solution for determining difficult example data of a radar detection model based on a second matching degree between a radar detection result of the vehicle 100 at a first moment and a visual detection result at a first moment is introduced.

[0150] Specifically, Figure 7 According to some embodiments of the present application, a flow chart of another data processing method is shown. The flow chart may be any computing unit in the vehicle 100, such as the processor 113. Figure 7 As shown, the process includes the following steps:

[0151] S701: Use the radar detection model and the visual detection model to infer the first radar detection data and the visual detection data at the first moment respectively, to obtain a first radar detection result corresponding to the first radar detection data and a visual detection result corresponding to the visual detection data.

[0152] During driving, the vehicle 100 can obtain the first radar detection data detected by the radar 126 and the visual detection data detected by the camera 130 at the first moment, and then input the first radar detection data into the radar detection model and the visual detection model respectively, and use the radar detection model to infer the first radar detection result corresponding to the obstacle information of the environment in which the vehicle 100 is located at the first moment, and use the visual detection model to infer the visual detection result corresponding to the obstacle information of the environment in which the vehicle 100 is located at the first moment.

[0153] For example, for the first moment shown in FIG5 , refer to Figure 5B The first radar detection result includes the three-dimensional outline of the road sign S1 represented by the rectangular parallelepiped S1-2, the three-dimensional outline of the vehicle D1 represented by the rectangular parallelepiped D1-1, the three-dimensional outline of the vehicle D2 represented by the rectangular parallelepiped D2-1, and the three-dimensional outline of the vehicle D3 represented by the rectangular parallelepiped D3-1. Figure 8 The visual detection results corresponding to the obstacle information of the environment in which the vehicle 100 is located at the first moment may include a rectangle S1-4 representing the two-dimensional outline of the road sign S1, a rectangle D1-4 representing the two-dimensional outline of the vehicle D1, a rectangle D2-4 representing the two-dimensional outline of the vehicle D2, and a rectangle D3-4 representing the two-dimensional outline of the vehicle D3.

[0154] Understandably, Figure 8 The use of a rectangle to represent the two-dimensional outline of an obstacle in the visual detection result is only an example. In other embodiments, the two-dimensional outline of an obstacle in the visual detection result may also be represented in other forms, which is not limited here.

[0155] It is understandable that, in some embodiments, the visual detection result may also be obtained by the computer vision system 140 of the vehicle 100 based on the visual detection data, which is not limited here.

[0156] S702: Determine a comparison area based on the first radar detection result.

[0157] The vehicle 100 determines a comparison area based on the first radar detection result. The comparison area is used to indicate an area for comparing obstacles in the first radar detection result and the visual detection result. The specific determination method can refer to the aforementioned step S402 and is not limited here.

[0158] S703: Determine a second matching degree between the first radar detection result and the visual detection result.

[0159] The vehicle 10 determines a second degree of match between the first radar detection result and the visual detection result.

[0160] For example, in some embodiments, the vehicle 100 may determine the second degree of matching by the difference between the point cloud distribution of the obstacle in the comparison area in the first radar detection result projected on the visual detection result (hereinafter referred to as the projected point cloud distribution) and the point cloud distribution of the obstacle in the comparison area in the visual detection result (hereinafter referred to as the two-dimensional point cloud distribution). For example, the vehicle 100 may project the three-dimensional information of each obstacle in the first radar detection result onto the plane where the visual detection result is located to obtain the projected point cloud distribution; then determine the second degree of matching by the difference between the projected point cloud distribution and the point cloud distribution of the obstacle in the comparison area in the visual detection result.

[0161] Specifically, refer to Fig. 9 , Figure 8 In the visual inspection result shown, the points included in rectangles S1-4, rectangle D1-4, rectangle D1-4, and rectangle D1-4 in the comparison area DS-1 correspond to the two-dimensional point cloud distribution PC-1. Figure 5B The projections of the cuboids S1-2, D1-1, D2-1, and D3-1 on the plane where the visual detection results are located in the first radar detection result shown include points corresponding to the projected point cloud distribution PC-2. Thus, the degree of difference between the projected point cloud distribution PC-2 and the two-dimensional point cloud distribution PC-1 can be represented by the number of points that exist in the two-dimensional point cloud distribution PC-1 but not in the projected point cloud distribution PC-2. The degree of difference increases with the increase of. For example, the second matching degree is represented as c / N, where N is the number of points that exist in the two-dimensional point cloud distribution PC-1 but not in the projected point cloud distribution PC-2, and c is any value greater than 0. Furthermore, the vehicle 10 can determine the second matching degree by the degree of difference between the projected point cloud distribution PC-2 and the two-dimensional point cloud distribution PC-1. The second matching degree decreases with the increase of the degree of difference between the projected point cloud distribution PC-2 and the two-dimensional point cloud distribution PC-1. For example, in Fig. 9 , the number of points that exist in the two-dimensional point cloud distribution PC-1 but not in the projected point cloud distribution PC-2 is 32, and the second matching degree can be expressed as c / 32.

[0162] It can be understood that in some embodiments, if the projected point cloud distribution PC-2 and the two-dimensional point cloud distribution PC-1 completely match, that is, all points in the two-dimensional point cloud distribution PC-1 are in the projected point cloud distribution PC-2, that is, N=0, then the second matching degree can be a preset maximum value.

[0163] It can be understood that in some embodiments, the vehicle 100 can project obstacles in the comparison area in the first radar detection result on the visual detection result based on the transformation relationship between the coordinate system of the radar 126 and the coordinate system of the camera 130. For example, assuming that the transformation relationship between the coordinate system of the radar 126 and the coordinate system of the camera 130 can be represented by a transformation matrix of coordinates M between the coordinate system of the radar 126 and the coordinate system of the camera 130, then for any point P in the first radar detection result, the projected red box P' in the visual detection result of the point P (i.e., the coordinate system of the camera 130) can be obtained by multiplying the coordinates of P by the coordinate transformation matrix M, thereby obtaining a projected point cloud distribution.

[0164] It can be understood that in some embodiments, the comparison area may not be determined, and the second matching degree may be determined based on the degree of difference between the projected point cloud distribution corresponding to all obstacles in the first radar detection result in the visual detection result and the two-dimensional point cloud distribution corresponding to the visual detection result, which is not limited here.

[0165] It is understandable that in other embodiments, the second matching degree may be determined by other methods, which are not limited here.

[0166] S704: Determine whether the second matching degree satisfies the difficult example condition.

[0167] After determining the second matching degree between the first radar detection result and the visual detection result, the vehicle 100 determines whether the first matching degree satisfies the difficult example condition. If it is determined that the second matching degree satisfies the difficult example condition, it means that the first radar detection data is difficult example data of the radar detection model, and the process goes to step S705. Otherwise, the determination of the first radar detection data ends.

[0168] It can be understood that the difficult example condition may include that the second matching degree is less than the second preset matching degree. In other embodiments, the difficult example condition may also include other conditions, which are not limited here.

[0169] S705: Determine the first radar detection data as difficult example data.

[0170] When the vehicle 100 determines that the second matching degree satisfies the hard-example condition, the vehicle 100 determines the first radar detection data as hard-example data of the radar detection model.

[0171] It can be understood that in some embodiments, after determining that the first radar detection data is difficult example data for the radar detection model, the obstacles in the first radar detection data can be manually labeled, and the labeled data can be added to the training set of the radar detection model to iteratively train the aforementioned radar detection model to improve the accuracy of the radar detection results obtained by the vehicle 100 using the radar detection model inference.

[0172] Based on the above method, since the difficult example data of the radar detection model is determined by the second matching degree between the radar detection result corresponding to the radar detection data at a certain moment and the visual detection result corresponding to the visual detection data at that moment, it does not require human intervention and is not affected by human subjective factors, which is conducive to improving the efficiency of mining difficult example data and the accuracy of the mined difficult example data.

[0173] It is understandable that in other embodiments, the above steps S701 to S705 may not be executed by the vehicle 100, but may be implemented by other electronic devices based on radar detection data collected by the radar 126 of the vehicle 100 and visual detection data collected by the camera 130, and no limitation is made here.

[0174] The following introduces a technical solution for determining difficult example data based on a first matching degree between a radar detection result of the vehicle 100 at a first moment and a radar detection result at a second moment and a second matching degree between the radar detection result at the first moment and a visual detection result at the first moment.

[0175] Specifically, Fig.10 According to some embodiments of the present application, a flow chart of another data processing method is shown. The flow chart may be any computing unit in the vehicle 100, such as the processor 113. Fig.10 As shown, the process includes the following steps:

[0176] S1001: Obtain a first radar detection result corresponding to first radar detection data at a first moment, a second radar detection result corresponding to second radar detection data at a second moment, and a visual detection result corresponding to the visual detection data at the first moment.

[0177] During the driving process, the vehicle 100 can obtain the first radar detection data and the second radar detection data detected by the radar 126 at the first moment and the second moment, respectively, and obtain the visual detection data detected by the camera 130 at the first moment. Then, the first radar detection data and the second radar detection data are respectively input into the radar detection model, and the radar detection model is used to infer the first radar detection result corresponding to the obstacle information of the environment where the vehicle 100 is located at the first moment and the second radar detection result corresponding to the obstacle information of the environment where the vehicle 100 is located at the second moment; and the visual detection data is input into the visual detection model, and the visual detection model is used to infer the visual detection result corresponding to the obstacle information of the environment where the vehicle 100 is located at the first moment.

[0178] It is understandable that in other embodiments, the visual detection results may also be obtained by other means rather than inputting the visual detection data into the visual detection model for determination, which is not limited here.

[0179] S1002: Determine a first matching degree between the first radar detection result and the second radar detection result, and a second matching degree between the first radar detection result and the visual detection result.

[0180] The vehicle 100 determines a first matching degree between the first radar detection result and the second radar detection result, and a second matching degree between the first radar detection result and the visual detection result. The first matching degree between the first radar detection result and the second radar detection result can be determined by referring to the aforementioned steps S402 and S403, and the second matching degree between the first radar detection result and the visual detection result can be determined by referring to the aforementioned steps S702 to S703, which will not be described in detail here.

[0181] S1003: Determine whether the first matching degree and the second matching degree meet the difficult example condition.

[0182] After determining the first matching degree and the second matching degree, the vehicle 100 determines whether the first matching degree and the second matching degree meet the difficult example condition. If it is determined that the first matching degree and the second matching degree meet the difficult example condition, it means that the first radar detection data is difficult example data, and the process goes to step S1004, otherwise the determination of the first radar detection data ends.

[0183] In some embodiments, the hard case condition may include at least one of the following conditions:

[0184] The weighted sum of the first matching degree and the second matching degree is less than a preset weighted matching degree;

[0185] The maximum value of the first matching degree and the second matching degree is less than the preset maximum matching degree;

[0186] An average value of the first matching degree and the second matching degree is less than a preset average matching degree.

[0187] It can be understood that in other embodiments, the difficult case condition may also include other conditions, which are not limited here.

[0188] S1004: Determine the first radar detection data as difficult example data.

[0189] When the vehicle 100 determines that the second matching degree satisfies the hard-example condition, the vehicle 100 determines the first radar detection data as hard-example data corresponding to the radar detection model.

[0190] It can be understood that in some embodiments, after determining that the first radar detection data is difficult example data corresponding to the radar detection model, the obstacles in the first radar detection data can be manually labeled, and the labeled data can be added to the training set of the radar detection model to iteratively train the aforementioned radar detection model to improve the accuracy of the radar detection results obtained by the vehicle 100 using the radar detection model inference.

[0191] Based on the above method, since the difficult example data of the radar detection model is determined by the second matching degree between the radar detection result corresponding to the radar detection data at the first moment and the visual detection result corresponding to the visual detection data at that moment, as well as the first matching degree between the radar detection results corresponding to the first moment and the second moment, it does not require human intervention and is not affected by human subjective factors, which is beneficial to improving the efficiency of mining difficult example data and the accuracy of the mined difficult example data.

[0192] It is understandable that in other embodiments, the above steps S1001 to S1004 may not be executed by the vehicle 100, but may be implemented by other electronic devices based on radar detection data collected by the radar 126 of the vehicle 100 and visual detection data collected by the camera 130, and no limitation is made here.

[0193] The above embodiments are only examples of determining the difficult data of the radar detection model. In other embodiments, similar methods can be used to determine the difficult data of the visual detection model or other models. Figures 3 to 10 In the embodiment shown, the embodiment of the present application also provides another data processing method.

[0194] Specifically, Fig.11 According to some embodiments of the present application, a flow chart of another data processing method is shown. The execution subject of the process can be any electronic device, such as a vehicle 100, such as Fig.11 As shown, the data processing method includes the following steps:

[0195] S1101: Acquire first detection data of a first detection device at a first moment, and use a first model to infer the first detection data to obtain a first detection result.

[0196] The vehicle 100 may obtain first detection data of the first detection device at a first moment, input the first detection data into the first model, and use the first model to infer the first detection data to obtain a first detection result corresponding to the first detection data of the vehicle 100.

[0197] It can be understood that the first model is any model that uses the first detection data for inference, such as the aforementioned visual detection model, radar detection model, etc., which is not limited here.

[0198] It can be understood that in some embodiments, the first detection device can be any detection device in the vehicle 100 that can be used to obtain obstacles for identifying the environment in which the vehicle 100 is located, including but not limited to radar, camera, ultrasonic sensor, laser rangefinder, etc.

[0199] Exemplarily, when the first detection device is the radar 126 of the vehicle 100, the first detection data may be radar detection data detected by the radar 126 at the first moment, the first model may be the aforementioned radar detection model, and the first detection result may be the aforementioned first radar detection result.

[0200] Exemplarily, when the first detection device is the camera 130 of the vehicle 100, the first detection data may be the visual detection data detected by the camera 130 at the first moment, the first model may be the aforementioned visual detection model, and the first detection result may be the visual detection result obtained by inferring the visual detection data detected by the camera 130 at the first moment using the visual detection model.

[0201] S1102: Determine a third matching degree between the first detection result and the second detection result corresponding to the second detection data of the first detection device at the second moment, and / or a fourth matching degree between the first detection result and the third detection result corresponding to the third detection data of the second detection device at the first moment.

[0202] The vehicle 100 determines a third degree of match between the first detection result and the second detection result corresponding to the second detection data of the first detection device at the second moment, and / or a fourth degree of match between the first detection result and the third detection result corresponding to the third detection data of the second detection device at the first moment.

[0203] It can be understood that the second detection device is a detection device different from the first detection device, and the third detection result is a result obtained based on the third detection data in a manner other than the first model, and has the same content as that represented by the first detection result. For example, the first detection result and the third detection result are both results representing obstacle information of the environment in which the vehicle 100 is located.

[0204] For example, when the first detection device is the radar 126 of the vehicle 100, the second detection result may be the aforementioned second radar detection result, and the third matching degree may be the matching degree between the first radar detection result and the second radar detection result, that is, the aforementioned first matching degree. If the second detection device is a camera 130, the third detection result may be the aforementioned visual detection result, and the fourth matching degree may be the aforementioned second matching degree. Further, the determination method of the third matching degree and the fourth matching degree may refer to the aforementioned steps S403 and S703, which will not be described in detail here.

[0205] Exemplarily, when the first detection device is the camera 130 of the vehicle 100, the second detection result may be a visual detection result obtained by inputting the visual data (second detection data) detected by the camera 130 at the second moment into the visual detection model. Thus, the third degree of matching may be determined by the degree of difference between the point cloud distribution corresponding to the obstacle in the first detection result and the point cloud distribution corresponding to the obstacle in the second detection result. If the second detection device is the radar 126, the third detection result may be a radar detection result of the radar by inputting the third detection data (radar data detected by the radar 126 at the first moment) into the radar detection model, and then the method for determining the fourth degree of matching may refer to the method for determining the second degree of matching described above, which will not be elaborated here.

[0206] S1103: Determine whether a difficult example condition is met based on the third matching degree and / or the fourth matching degree.

[0207] After determining the third matching degree and / or the fourth matching degree, the vehicle 100 determines whether the difficult example condition is met based on the third matching degree and / or the fourth matching degree. If it is determined that the difficult example condition is met, it means that the first detection data is difficult example data of the first model, and the process goes to step S1104, otherwise the determination of the first detection data ends.

[0208] It can be understood that, in some embodiments, the difficult condition may include at least one of the following conditions:

[0209] The third matching degree is less than the third preset matching degree;

[0210] The fourth matching degree is less than a fourth preset matching degree;

[0211] The weighted sum of the third matching degree and the fourth matching degree is less than the preset weighted matching degree;

[0212] The maximum value of the third matching degree and the fourth matching degree is less than the preset maximum matching degree;

[0213] An average value of the third matching degree and the fourth matching degree is less than a preset average matching degree.

[0214] S1104: Determine the first detection data as hard example data corresponding to the first model.

[0215] When determining that the hard example condition is satisfied, the vehicle 100 determines the first detection data as hard example data of the first model.

[0216] It can be understood that in some embodiments, after determining that the first detection data is difficult example data for the first model, the obstacles in the first detection data can be manually labeled, and the labeled data can be added to the training set of the first model to iteratively train the aforementioned first model to improve the accuracy of the obstacle detection results obtained by the vehicle 100 using the first model inference.

[0217] Based on the above method, since the difficult example data of the first model is determined by the fourth matching degree between the first detection result corresponding to the first detection data at the first moment and the third detection result corresponding to the third detection data of the second detection device at that moment, and / or the third matching degree between the first detection result and the second detection result corresponding to the first moment and the second moment, it does not require human intervention and is not affected by human subjective factors, which is beneficial to improving the efficiency of mining difficult example data and the accuracy of the mined difficult example data.

[0218] It is understandable that in other embodiments, the above steps S1101 to S1104 may be performed by other electronic devices instead of the vehicle 100, and this is not limited here.

[0219] The various embodiments of the mechanism disclosed in the present application can be implemented in hardware, software, firmware or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program or program code executed on a programmable system, which includes at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device and at least one output device.

[0220] Program code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.

[0221] Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.

[0222] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, instructions may be distributed over a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including, but not limited to, floppy disks, optical disks, optical disks, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), random access memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash memory, or a tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in electrical, optical, acoustic, or other forms of propagation signals. Therefore, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a machine (e.g., computer) readable form.

[0223] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.

[0224] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.

[0225] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "includes one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0226] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be apparent to those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.

Claims

1. A data processing method, It is characterized in that include: Inputting first detection data collected by the vehicle using a first detection device at a first moment into a first model to obtain a first obstacle detection result of the vehicle; The first obstacle detection result is matched with the second obstacle detection result, and based on the matching result, it is determined whether the first detection data is hard-to-detect data of the first model, wherein when the first detection data is hard-to-detect data of the first model, it indicates that the accuracy of the first obstacle detection result does not meet preset requirements.

2. The method according to claim 1, It is characterized in that The second obstacle detection result includes a third obstacle detection result generated by the first model based on second detection data collected by the first detection device at a second moment, and / or a fourth obstacle detection result generated based on third detection data collected by the second detection device at a third moment.

3. The method according to claim 2, It is characterized in that The determining, according to the matching result, whether the first detection data is hard example data of the first model includes: When a first matching degree between the first obstacle detection result and the third obstacle detection result, and / or a second matching degree between the first obstacle detection result and the fourth obstacle detection result meets a difficult example condition, the first detection data is determined to be difficult example data of the first model.

4. The method according to claim 3, It is characterized in that The difficult condition includes at least one of the following conditions: At least one of the first matching degrees is less than a first preset matching degree; At least one of the second matching degrees is less than a second preset matching degree; A weighted sum of each of the first matching degrees and each of the second matching degrees is less than a preset weighted matching degree; The maximum value of each of the first matching degrees and each of the second matching degrees is less than a preset maximum matching degree; An average value of each of the first matching degrees and each of the second matching degrees is less than a preset average matching degree.

5. The method according to claim 3 or 4, It is characterized in that The first matching degree is determined based on obstacle information in a comparison area in the first obstacle detection result and obstacle information in the comparison area in the third obstacle detection result; and the second matching degree is determined based on obstacle information in the comparison area in the first obstacle detection result and obstacle information in the comparison area in the fourth obstacle detection result.

6. The method according to claim 5, It is characterized in that The first obstacle detection result includes three-dimensional contour information of N obstacles, the third obstacle detection result includes three-dimensional contour information of M obstacles, and the fourth obstacle detection result includes two-dimensional contour information of P obstacles.

7. The method according to claim 6, It is characterized in that The first matching degree is determined by a matching degree between three-dimensional contour information of an obstacle in the comparison area among the N obstacles and three-dimensional contour information of an obstacle in the comparison area among the M obstacles; the second matching degree is determined by a difference degree between a projection of the three-dimensional contour information of the obstacle in the comparison area among the N obstacles on a plane where the fourth obstacle detection result is located and two-dimensional contour information of an obstacle in the comparison area among the P obstacles.

8. The method according to claim 7, It is characterized in that The comparison area includes: an area composed of boundary points on the polar axis of each polar angle in a polar coordinate system with a coordinate center as a pole in a top view of the three-dimensional contour information of the N obstacles, wherein the coordinate center includes one of the center of the vehicle, the center of gravity of the vehicle, and the coordinate center of the first detection device; The boundary points are determined in the following manner: When the polar axis of the first polar angle intersects a static obstacle among the N obstacles, the intersection is used as a boundary point of the polar axis of the first polar angle, where the first polar angle is any polar angle in the polar coordinate system; When the polar axis of the first polar angle has no intersection with a static obstacle among the N obstacles, the intersection of the polar axis of the first polar angle and the edge of the road surface or the intersection of the polar axis of the first polar angle and the boundary of the top view is taken as the boundary point of the polar axis of the first polar angle.

9. The method according to claim 2, It is characterized in that The interval between the first moment and the second moment is less than a first preset time length, and the interval between the first moment and the third moment is less than a second preset time length.

10. The method according to claim 2, It is characterized in that The first detection device includes a radar of the vehicle, the second detection device includes a camera of the vehicle, and the first model is a radar detection model.

11. A readable storage medium, It is characterized in that The readable storage medium stores instructions, and when the instructions are executed by an electronic device, the electronic device implements the data processing method according to any one of claims 1 to 10.

12. An electronic device, It is characterized in that include: A memory, the memory being used to store instructions; At least one processor is used to execute the instructions so that the electronic device implements the data processing method according to any one of claims 1 to 10.

Citation Information

Cited By

  • Data processing method, readable storage medium and electronic device

    EP4664159A1

  • Data processing method, readable storage medium and electronic device

    WO2024174500A1

  • Autonomous emergency steering considering road information

    WO2026090825A1