Obstacle detection evaluation method, device, equipment and storage medium
By determining the position information of the first obstacle in the image in the autonomous vehicle, the obstacle detection algorithm is evaluated, which solves the subjectivity and safety hazard problems of the testing methods in the existing technology, and achieves efficient and safe obstacle detection. Evaluate.
Patent Information
- Application Number
- CN202011444914.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-11
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-12-11
AI Technical Summary
In self-driving vehicles, existing obstacle detection algorithm testing methods have subjectivity and safety hazards. When the algorithm is not mature enough, it affects the tester's experience of riding in the car and increases safety threats.
Provide an evaluation method and device for obstacle detection, by determining the first obstacle position information in the image, and using this information to evaluate the obstacle detection results output by the evaluation algorithm, including a position information determination module and a detection result acquisition module and evaluation module, which can be conducted in an offline environment, saving manpower and time costs, and reducing testing costs and security threats.
It achieves effective evaluation of obstacle detection algorithms, reduces testing costs and safety threats, improves detection accuracy and recall, reduces false detections and missed detections, and protects testers' safety to the greatest extent.
Smart Images

Figure CN112581526B
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing, and in particular to the fields of computer vision, autonomous driving, and intelligent transportation. Background Art
[0002] In the scenario of autonomous driving, the algorithm will fuse the input information from different perception sources and output the type, location, speed, etc. of obstacles. The planning and decision module will determine whether the vehicle needs to change lanes, brake, etc. based on the above results, and then issue corresponding instructions.
[0003] The relevant testing methods are conducted through on-road testing on real vehicles and manual testing by testers, which is subjective to a certain extent. Moreover, if the algorithm is not mature enough, the above testing methods will not only affect the testers' sense of riding in the vehicle, but may also pose safety risks. Summary of the invention
[0004] The present application provides an obstacle detection evaluation method, apparatus, device, storage medium and computer program product.
[0005] According to one aspect of the present application, a method for evaluating obstacle detection is provided, and the method may include the following steps:
[0006] Determine position information of a first obstacle in the image;
[0007] Obtaining an obstacle detection result output by the algorithm to be evaluated, where the obstacle detection result at least includes position information of the second obstacle;
[0008] The obstacle detection result output by the algorithm to be evaluated is evaluated using the position information of the first obstacle.
[0009] According to another aspect of the present application, a device for evaluating obstacle detection is provided, which may include the following components:
[0010] A position information determination module, used to determine the position information of the first obstacle in the image;
[0011] A detection result acquisition module, used to obtain the obstacle detection result output by the algorithm to be evaluated, where the obstacle detection result at least includes the position information of the second obstacle;
[0012] The evaluation module is used to evaluate the obstacle detection result output by the evaluation algorithm using the position information of the first obstacle.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0014] at least one processor; and
[0015] a memory communicatively connected to at least one processor; wherein,
[0016] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute the method provided by any embodiment of the present application.
[0017] In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to enable a computer to execute a method provided by any embodiment of the present application.
[0018] According to another aspect of the present application, a computer program product is provided, comprising computer instructions, which implement the method in any embodiment of the present application when executed by a processor.
[0019] Since the algorithm to be evaluated can be tested in an offline environment, after a labeling, the effect of the iterative upgrade of the algorithm to be evaluated can be evaluated based on the labeling information, which saves manpower and time costs. In addition, since there is no need for actual road testing, on the one hand, the testing cost can be reduced, and on the other hand, the threat to the safety of testers can be minimized.
[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present application.
[0022] Figure 1 is a flow chart of an evaluation method for obstacle detection according to the present application;
[0023] Figure 2 is a schematic diagram of image annotation according to this application;
[0024] Figure 3 is a flow chart for evaluating obstacle detection results according to this application;
[0025] Figure 4 is a flow chart for evaluating obstacle detection results using position error according to the present application;
[0026] Figure 5 is a flow chart for determining position information of a first obstacle in an image according to the present application;
[0027] Figure 6 is a flow chart of an evaluation method for obstacle detection according to the present application;
[0028] Figure 7 is a schematic diagram of an evaluation device for obstacle detection according to the present application;
[0029] Figure 8 It is a block diagram of an electronic device used to implement the obstacle detection evaluation method of the embodiment of the present application. DETAILED DESCRIPTION
[0030] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0031] like Figure 1 As shown, in one embodiment, the present application provides an obstacle detection evaluation method, which may include the following steps:
[0032] S101: Determine position information of a first obstacle in an image;
[0033] S102: Obtaining an obstacle detection result output by the algorithm to be evaluated, where the obstacle detection result at least includes position information of the second obstacle;
[0034] S103: Using the position information of the first obstacle, evaluate the obstacle detection result output by the algorithm to be evaluated.
[0035] In the embodiment of the present application, the image may be a 2D visual image captured by an on-board image acquisition device installed on the main vehicle. Figure 2 As shown, annotation may include determining lane information in the image and location information of obstacles.
[0036] The lane that the main vehicle is currently traveling in is the main lane. The lane number can be represented as obs_id. During the labeling process, the main lane can be labeled as obs_id=0, and the lane lines on both sides of the main lane can be labeled as obs=-10 and obs=10 respectively.
[0037] The left and right secondary lanes on both sides of the main lane can be marked as obs_id = -2 and obs_id = 2 respectively. The left secondary lane line can be marked as obs_id = -21, and the right secondary lane line can be marked as obs_id = 21.
[0038] In the current implementation, vehicles in seven areas, namely, the main lane, the secondary lane, and the secondary lane line, or other static obstacles may be selected for marking.
[0039] In the embodiment of the present application, the obstacle marked in the image is the first obstacle. The number of first obstacles detected in each frame image may be 0 or multiple. In the case where the current frame image contains multiple first obstacles, an identifier may be assigned to each first obstacle. The identifier can be used to identify the obstacle and detect the obstacle identifier jump rate.
[0040] For example, the first obstacle can be marked in the image in the form of a detection frame by using image recognition technology. Furthermore, a specific point within the detection frame can be used as a feature point of the first obstacle. The feature point is used to represent the position information of the first obstacle in the image. The position information may include the lane where the obstacle is located and the coordinates of the obstacle. The position information of the first obstacle marked in the image can be used as the true value of the first obstacle.
[0041] The position information of the first obstacle in the image determined in step S101 can be determined in advance. Each time the evaluation is performed, the position information of the first obstacle that has been determined in advance can be used as the true value. Therefore, in subsequent evaluations, the predetermined true value can be directly used to test different versions of the same type of algorithms to be evaluated, or different types of algorithms to be evaluated.
[0042] For each moment corresponding to each frame of image, the algorithm to be evaluated will output a detection result. The detection result may include the position information of the second obstacle detected at that moment. In the embodiment of the present application, the algorithm to be evaluated may be an environment modeling algorithm.
[0043] Taking the detection of obstacles ahead of the main vehicle as an example, the environment modeling algorithm can fuse the detection information of sensors such as the forward wide-angle, forward fisheye, front side fisheye, and millimeter-wave radar, and output the position information of obstacles ahead of the main vehicle. The obstacle output by the algorithm to be evaluated is called the second obstacle. The algorithm can be run in an offline state, that is, according to the information detected by each sensor of the main vehicle at the time corresponding to each frame of the image, the algorithm to be evaluated can obtain the detection result.
[0044] By comparing the position information of the first obstacle with the position information of the second obstacle, the detection result of the detection algorithm can be evaluated. That is, ideally, the second obstacle and the first obstacle correspond to the same obstacle. Therefore, the error between the position information of the second obstacle and the first obstacle can indicate the quality of the detection algorithm.
[0045] For example, the false detection rate of the algorithm to be evaluated can be tested based on whether the first obstacle and the second obstacle appear in the same lane. For another example, the detection accuracy of the algorithm to be evaluated can be tested based on the position error between the first obstacle and the second obstacle. For another example, the identification jump rate of the algorithm to be evaluated can be tested based on the identification of the first obstacle and the second obstacle.
[0046] Since the algorithm to be evaluated can be tested in an offline environment, after a labeling, the effect of the iterative upgrade of the algorithm to be evaluated can be evaluated based on the labeling information, which saves manpower and time costs. In addition, since there is no need for actual road testing, on the one hand, the testing cost can be reduced, and on the other hand, the threat to the safety of testers can be minimized.
[0047] like Figure 3 As shown, in one implementation, step S103 may further include the following sub-steps:
[0048] S1031: Determine, according to the position information of the first obstacle and the position information of the second obstacle, a position error between the first obstacle and the second obstacle located in the same lane;
[0049] S1032: Using the position error to evaluate the obstacle detection result output by the algorithm to be evaluated.
[0050] The position information of the first obstacle may include its coordinate information and may also include its lane information. Correspondingly, the position information of the second obstacle may also include coordinate information and / or lane information. Based on this, the obstacle detection result may be evaluated at a coarse granularity by determining whether the first obstacle and the second obstacle are in the same lane. For example, when the first obstacle exists in the first lane but the second obstacle is not detected, or when the detected second obstacle is not in the first lane, it may be determined that the obstacle detection result output by the algorithm to be evaluated is a false detection.
[0051] Furthermore, when the first obstacle and the second obstacle exist in the same lane, the position error of the first obstacle and the second obstacle can be calculated. The position error can be calculated using the feature points of the first obstacle and the second obstacle. For example, the center point of the obstacle can be used as the feature point. Alternatively, when the obstacle is presented in the form of a detection frame, the corner points of the detection frame or the midpoint of any side can be used as the feature point.
[0052] The position error of the first obstacle and the second obstacle is linearly related to the accuracy, that is, the smaller the error, the higher the accuracy.
[0053] Through the above scheme, the position information can be used to determine the lanes where the first obstacle and the second obstacle are located, and then a rough inspection can be performed based on whether the first obstacle and the second obstacle are in the same lane. When they are not in the same lane, the misdetection can be determined more quickly. For the first obstacle and the second obstacle in the same lane, the position error can also be used for fine-grained accuracy evaluation.
[0054] In one embodiment, when the position error exceeds the corresponding threshold, it is determined that the algorithm to be evaluated has a false detection;
[0055] False detection includes missed detection and / or false detection.
[0056] When the position error exceeds the corresponding threshold, it may indicate that the detection result output by the algorithm to be evaluated is wrong, that is, a false detection occurs. The false detection may include missed detection and / or false detection.
[0057] On the contrary, when the position error does not exceed the corresponding threshold, it means that the obstacle detection result output by the algorithm to be evaluated is correct, that is, the second obstacle output by the algorithm to be evaluated and the first obstacle can form a matching pair. Forming a matching pair can mean that the evaluation algorithm correctly detects the position of the obstacle.
[0058] Based on this, the recall rate can be determined using the number of missed detections and the number of matching pairs.
[0059] The calculation method of recall is as follows:
[0060]
[0061] Where N tp Can represent the number of matching pairs, N fn It can indicate the number of missed detections.
[0062] In addition, the precision can be determined by using the number of false positives and the number of matching pairs.
[0063] The calculation method of precision is as follows:
[0064]
[0065] Where N tp Can represent the number of matching pairs, N fp It can represent the number of false positives.
[0066] Through the above scheme, the recall rate and accuracy of the detection result can be determined using the number of false detections and the number of matching pairs.
[0067] like Figure 4As shown, in one implementation, step S1032 may further include the following sub-steps:
[0068] S10321: Determine the number of matching pairs in the same lane according to the position error, where the matching pairs include a first obstacle and a second obstacle;
[0069] S10322: Determine the position detection accuracy using the position error and the number of matching pairs.
[0070] When the position error does not exceed the corresponding threshold, it means that the obstacle detection result output by the algorithm to be evaluated is correct, that is, the second obstacle output by the algorithm to be evaluated and the first obstacle can form a matching pair. The number of matching pairs in each lane can be determined.
[0071] Based on the position error and the number of matching pairs in the same lane, the accuracy of the position error can be determined.
[0072] Position detection accuracy (Avg tp_dist_x ) is calculated as follows:
[0073]
[0074] Where Dist_X tp It can represent the position error between the second obstacle and the first obstacle in each matching pair; N tp_near Can represent the number of matching pairs.
[0075] In addition, the position detection accuracy can be calculated as follows:
[0076]
[0077] Where Dist_X near It can represent the position error between the second obstacle and the first obstacle involved in the matching; N gt_near The number of matching pairs participating in the matching can be indicated. For example, in the same lane, the first obstacle and the second obstacle with the closest position can be selected to participate in the matching.
[0078] Through the above scheme, the accuracy of the position error can be detected.
[0079] In one implementation, step S103 may specifically include:
[0080] When the first obstacle exists but the second obstacle does not exist in the same lane, it is determined that the algorithm to be evaluated has missed detection.
[0081] In one implementation, step S103 may specifically include:
[0082] In the case where the second obstacle exists in the same lane but the first obstacle does not exist, it is determined that the algorithm to be evaluated has misdetected.
[0083] Through the above scheme, for example, the lane conditions of the first obstacle and the second obstacle can quickly determine the false detection and missed detection of the algorithm to be evaluated.
[0084] like Figure 5 As shown, in one implementation, step S101 may further include:
[0085] S1011: Determine a detection frame corresponding to the first obstacle in the image;
[0086] S1012: Obtaining coordinates of feature points of the detection frame in the image;
[0087] S1013: According to preset conversion parameters, the coordinates of the feature points in the image are converted into a world coordinate system to obtain the coordinates of the feature points in the world coordinate system, and the coordinates of the feature points in the world coordinate system are determined as the position information of the first obstacle.
[0088] The first obstacle can be marked in the image in the form of a detection frame by using image recognition technology. Furthermore, a specific point within the detection frame can be used as a feature point of the first obstacle. For example, the feature point can be the center point of the bottom edge of the detection frame. The feature point is used to indicate the position information of the first obstacle in the image. The position information may include lanes and coordinates, etc.
[0089] The preset conversion parameters may be camera external parameters, which convert the coordinates of the feature points into the world coordinate system to obtain the coordinates of the feature points in the world coordinate system.
[0090] The radar detection data of the main vehicle is obtained, and the radar detection data is compared with the coordinates of the feature points in the world coordinate system, so as to revise the coordinates of the feature points in the world coordinate system. For example, among the multiple detection points of the obstacle detected by the radar, the detection point closest to the coordinates of the feature point in the world coordinate system is selected, and the coordinates of the feature point in the world coordinate system are replaced by the coordinates of the detection point.
[0091] Through the above scheme, the true value can be determined in a relatively simple and convenient way, thereby improving the efficiency of true value labeling.
[0092] like Figure 6 As shown, the present application provides an obstacle detection evaluation method, comprising the following steps:
[0093] S601: Read and parse the truth value and algorithm output files.
[0094] The true value is recorded as the position information of the first obstacle marked in the aforementioned image.
[0095] The algorithm output file is the obstacle detection result output by the algorithm to be evaluated, that is, the location information of the second obstacle.
[0096] S602: Traverse the lanes to determine the true value of each lane and the obstacle detection result output by the algorithm.
[0097] S603: Determine whether there is a true value for the current lane, and if so, execute step S604; otherwise, execute step S608.
[0098] S604: Determine whether there is an obstacle detection result in the current lane. If yes, execute step S605; otherwise, execute step S606.
[0099] S605: Calculate whether the error between the true value and the obstacle detection result of the same lane is within the allowable range. If it is within the allowable range, execute step S607; otherwise, execute step S606 or execute step S609.
[0100] When the error between the true value and the obstacle detection result of the same lane exceeds the allowable range, it can be counted as a missed detection (step S606) or a false detection (step S609). Alternatively, it can be counted as both a missed detection and a false detection.
[0101] S606: Determine if the algorithm missed a detection.
[0102] S607: Evaluate the test results.
[0103] The evaluation may include error accuracy, recall rate, precision rate, etc. The specific algorithm is the same as that in the above embodiment and will not be repeated here.
[0104] S608: Determine whether there is a detection value in the current lane. If so, execute step S609; otherwise, execute step S610.
[0105] S609: Determine algorithm misdetection.
[0106] S610: Detect the next lane.
[0107] That is, the true value of the next lane and the obstacle detection result output by the algorithm are obtained from step S602, and steps S5603 to S609 are repeated until all lanes are judged.
[0108] like Figure 7 As shown, the present application provides an obstacle detection evaluation device, which may include the following components:
[0109] A position information determination module 701 is used to determine the position information of a first obstacle in the image;
[0110] The detection result acquisition module 702 is used to obtain the obstacle detection result output by the algorithm to be evaluated, where the obstacle detection result at least includes the position information of the second obstacle;
[0111] The evaluation module 703 is used to evaluate the obstacle detection result output by the evaluation algorithm using the position information of the first obstacle.
[0112] In one implementation, the evaluation module 703 may further include:
[0113] A position error determination submodule, used to determine the position error of the first obstacle and the second obstacle located in the same lane according to the position information of the first obstacle and the position information of the second obstacle;
[0114] The evaluation execution submodule is used to evaluate the obstacle detection results output by the evaluation algorithm using the position error.
[0115] In one implementation, the assessment execution submodule is specifically used to:
[0116] When the position error exceeds the corresponding threshold, it is determined that the algorithm to be evaluated has a false detection;
[0117] False detection includes missed detection and / or false detection.
[0118] In one embodiment, the assessment execution submodule may further include:
[0119] A matching pair number determination unit, used to determine the number of matching pairs in the same lane according to the position error, wherein the matching pairs include a first obstacle and a second obstacle;
[0120] The position error accuracy determination unit is used to determine the position detection accuracy using the position error and the number of matching pairs.
[0121] In one implementation, the evaluation module 703 is specifically used to:
[0122] When the first obstacle exists but the second obstacle does not exist in the same lane, it is determined that the algorithm to be evaluated has missed detection.
[0123] In one implementation, the evaluation module 703 is specifically used to:
[0124] In the case where the second obstacle exists in the same lane but the first obstacle does not exist, it is determined that the algorithm to be evaluated has misdetected.
[0125] In one implementation, the location information determination module 701 may further include:
[0126] A detection frame determination submodule, used to determine a detection frame corresponding to the first obstacle in the image;
[0127] The coordinate acquisition submodule is used to obtain the coordinates of the feature points of the detection frame in the image;
[0128] The coordinate conversion submodule is used to convert the coordinates of the feature point in the image to the world coordinate system according to preset conversion parameters, obtain the coordinates of the feature point in the world coordinate system, and determine the coordinates of the feature point in the world coordinate system as the position information of the first obstacle.
[0129] According to an embodiment of the present application, the present application also provides an electronic device, a readable storage medium and a computer program product.
[0130] like Figure 8 , is a block diagram of an electronic device according to the evaluation method of obstacle detection according to an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0131] like Figure 8 As shown, the electronic device includes: one or more processors 810, a memory 820, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 810 is taken as an example.
[0132] The memory 820 is a non-transitory computer-readable storage medium provided in the present application. The memory stores instructions executable by at least one processor to enable the at least one processor to perform the obstacle detection evaluation method provided in the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions, which are used to enable a computer to perform the obstacle detection evaluation method provided in the present application.
[0133] The memory 820 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as the program instructions / modules corresponding to the obstacle detection evaluation method in the embodiment of the present application (for example, the attached Figure 7 The processor 810 executes various functional applications and data processing of the server by running the non-transient software programs, instructions and modules stored in the memory 820, that is, the obstacle detection evaluation method in the above method embodiment is implemented.
[0134] The memory 820 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and applications required for at least one function; the data storage area may store data created according to the use of the electronic device of the obstacle detection evaluation method, etc. In addition, the memory 820 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 820 may optionally include a memory remotely arranged relative to the processor 810, and these remote memories may be connected to the electronic device of the obstacle detection evaluation method via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0135] The electronic device of the obstacle detection evaluation method may further include: an input device 830 and an output device 840. The processor 810, the memory 820, the input device 830 and the output device 840 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.
[0136] The input device 830 can receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device of the obstacle detection evaluation method, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick and other input devices. The output device 840 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device may be a touch screen.
[0137] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0138] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or means (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0139] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0140] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0141] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS) services. The server may also be a server of a distributed system, or a server combined with a blockchain.
[0142] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.
[0143] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. An evaluation method for obstacle detection, include: Determine position information of a first obstacle in the image; Obtaining an obstacle detection result output by the algorithm to be evaluated, wherein the obstacle detection result at least includes position information of the second obstacle; Using the position information of the first obstacle, evaluating the obstacle detection result output by the algorithm to be evaluated, wherein both the position information of the second obstacle and the position information of the first obstacle include lane information; The step of evaluating the obstacle detection result output by the algorithm to be evaluated by using the position information of the first obstacle includes: In a case where the first obstacle exists but the second obstacle does not exist in the same lane, determining that the algorithm to be evaluated has missed detection; In the case where the second obstacle exists in the same lane but the first obstacle does not exist, it is determined that the algorithm to be evaluated has misdetected.
2. The method according to claim 1, in, The step of evaluating the obstacle detection result output by the algorithm to be evaluated by using the position information of the first obstacle includes: Determining, according to the position information of the first obstacle and the position information of the second obstacle, a position error between the first obstacle and the second obstacle located in the same lane; The position error is used to evaluate the obstacle detection result output by the algorithm to be evaluated.
3. The method according to claim 2, in, The using the position error to evaluate the obstacle detection result output by the algorithm to be evaluated includes: When the position error exceeds the corresponding threshold, it is determined that the algorithm to be evaluated has a false detection; The false detection includes missed detection and / or erroneous detection.
4. The method according to claim 2 or 3, in, The using the position error to evaluate the obstacle detection result output by the algorithm to be evaluated includes: Determine the number of matching pairs in the same lane according to the position error, wherein the matching pairs include a first obstacle and a second obstacle; Using the position error and the number of matching pairs, the position detection accuracy is determined.
5. The method according to claim 1, in, The determining of the position information of the first obstacle in the image: Determining a detection frame corresponding to the first obstacle in the image; Obtaining coordinates of feature points of the detection frame in the image; According to preset conversion parameters, the coordinates of the feature point in the image are converted to a world coordinate system to obtain the coordinates of the feature point in the world coordinate system, and the coordinates of the feature point in the world coordinate system are determined as the position information of the first obstacle.
6. An obstacle detection evaluation device, include: A position information determination module, used to determine the position information of the first obstacle in the image; A detection result acquisition module, used to obtain the obstacle detection result output by the algorithm to be evaluated, wherein the obstacle detection result at least includes the position information of the second obstacle; an evaluation module, configured to evaluate the obstacle detection result output by the algorithm to be evaluated by using the position information of the first obstacle, wherein both the position information of the second obstacle and the position information of the first obstacle include lane information; The evaluation module is specifically used for: In a case where the first obstacle exists but the second obstacle does not exist in the same lane, determining that the algorithm to be evaluated has missed detection; In the case where the second obstacle exists in the same lane but the first obstacle does not exist, it is determined that the algorithm to be evaluated has misdetected.
7. The device according to claim 6, in, The evaluation module includes: a position error determination submodule, configured to determine a position error between the first obstacle and the second obstacle located in the same lane according to the position information of the first obstacle and the position information of the second obstacle; The evaluation execution submodule is used to evaluate the obstacle detection result output by the algorithm to be evaluated using the position error.
8. The device according to claim 7, in, The evaluation execution submodule is specifically used for: When the position error exceeds the corresponding threshold, it is determined that the algorithm to be evaluated has a false detection; The false detection includes missed detection and / or erroneous detection.
9. The device according to claim 7 or 8, in, The evaluation execution submodule includes: a matching pair number determination unit, used to determine the number of matching pairs in the same lane according to the position error, wherein the matching pairs include a first obstacle and a second obstacle; The position detection accuracy determination unit is used to determine the position detection accuracy by using the position error and the number of matching pairs.
10. The device according to claim 6, in, The location information determination module includes: a detection frame determination submodule, configured to determine a detection frame corresponding to the first obstacle in the image; A coordinate acquisition submodule, used to acquire the coordinates of the feature points of the detection frame in the image; The coordinate conversion submodule is used to convert the coordinates of the feature point in the image into a world coordinate system according to preset conversion parameters, obtain the coordinates of the feature point in the world coordinate system, and determine the coordinates of the feature point in the world coordinate system as the position information of the first obstacle.
11. An electronic device, It is characterized in that include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.
12. A non-transitory computer-readable storage medium storing computer instructions, It is characterized in that The computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 5.
13. A computer program product, comprising computer instructions, which implement the method according to any one of claims 1 to 5 when executed by a processor.
