Lane departure warning system testing method and device

By obtaining real-time test videos collected by the on-board camera, and using the CAN signal module and preset method to calibrate the position distance between the vehicle and the lane line, the problem of inefficient testing in the existing technology is solved, and efficient lane departure warning system testing is achieved.

CN115923785BActive Publication Date: 2025-08-19HOZON NEW ENERGY AUTOMOBILE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211309046.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-25
Publication Date
2025-08-19
Estimated Expiration
2042-10-25

AI Technical Summary

Technical Problem

The testing methods of existing lane departure warning systems require manual construction of complex testing environments, resulting in inefficient testing.

Method used

By obtaining the real-time test video collected by the on-board camera, the position distance between the vehicle and the lane line is calibrated using the CAN signal module and preset method, the actual warning position distance of the lane deviation from the warning system is detected, and the test results are determined.

Benefits of technology

No complex testing environment is required, which simplifies testing steps, improves testing efficiency, reduces manual participation, and improves the accuracy and efficiency of testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115923785B_ABST
    Figure CN115923785B_ABST
Patent Text Reader

Abstract

The present invention discloses a testing method and device for a lane departure warning system, which relates to the field of automotive technology, and its main purpose is to improve the efficiency of testing the lane departure warning system. The main technical solution of the present invention is: obtaining a real-time test video pre-collected by an on-board camera, wherein the positions of multiple vehicles and lane lines are displayed in the real-time test video; based on a preset method, calibrating the positions of multiple vehicles and lane lines to obtain the position distances of multiple vehicles and lane lines, wherein the position distances have a specified corresponding relationship with each video frame in the real-time test video; utilizing a CAN signal module and a specified corresponding relationship, detecting the actual warning position distance warned by the lane departure warning system among the position distances between multiple vehicles and lane lines; determining the test result of the lane departure warning system based on the actual warning position distance and the preset warning position distance, and completing the test. The present invention is used for testing a lane departure warning system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile technology, and in particular to a testing method and device for a lane departure warning system. Background Art

[0002] The Lane Departure Warning System (LDW) is a driver assistance feature that warns the driver if the vehicle strays from its lane, prompting them to steer safely. The accuracy of the LDW system directly impacts driver safety. Therefore, it's important to test the LDW system before use to verify its accuracy.

[0003] However, the current testing method requires manual construction of the test environment, and a large number of devices are required to build the test environment. Testing must be performed after the construction is completed, so it takes a long time, which reduces the testing efficiency to a certain extent. Summary of the Invention

[0004] In view of the above problems, the present invention provides a method and device for testing a lane departure warning system, the main purpose of which is to improve the efficiency of testing the lane departure warning system.

[0005] In order to solve the above technical problems, the present invention proposes the following solutions:

[0006] In a first aspect, the present invention provides a method for testing a lane departure warning system, the method comprising:

[0007] Obtaining a real-time test video pre-captured by a vehicle-mounted camera, wherein the real-time test video displays positions of multiple vehicles and lane lines;

[0008] Based on a preset method, calibrate the positions of the multiple vehicles and the lane lines to obtain position distances between the multiple vehicles and the lane lines, wherein the position distances have a specified corresponding relationship with each video frame in the real-time test video;

[0009] Detecting an actual warning position distance warned by the lane departure warning system among the position distances between the plurality of vehicles and lane lines using a CAN signal module and the designated corresponding relationship;

[0010] Based on the actual warning position distance and the preset warning position distance, a test result of the lane departure warning system is determined, and the test of the lane departure warning system is completed.

[0011] In a second aspect, the present invention provides a testing device for a lane departure warning system, the device comprising:

[0012] an acquisition unit, configured to acquire a real-time test video pre-collected by a vehicle-mounted camera, wherein the real-time test video displays positions of multiple vehicles and lane lines;

[0013] a calibration unit, configured to calibrate, based on a preset method, the positions of the plurality of vehicles and lane lines displayed in the real-time test video acquired by the acquisition unit, to obtain position distances between the plurality of vehicles and the lane lines, wherein the position distances have a specified correspondence with each video frame in the real-time test video;

[0014] a detection unit, configured to detect an actual warning position distance issued by the lane departure warning system among a plurality of vehicle-to-lane line position distances calibrated by the calibration unit, using the CAN signal module and the designated correspondence calibrated by the calibration unit;

[0015] A determination unit is used to determine a test result of the lane departure warning system based on the actual warning position distance and the preset warning position distance detected by the detection unit, and complete the test of the lane departure warning system.

[0016] In order to achieve the above-mentioned purpose, according to the third aspect of the present invention, a storage medium is provided, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the lane departure warning system testing method of the above-mentioned first aspect.

[0017] In order to achieve the above object, according to a fourth aspect of the present invention, a processor is provided, which is used to run a program, wherein the testing method of the lane departure warning system according to the first aspect is executed when the program is run.

[0018] By means of the above technical solution, the present invention provides a method and apparatus for testing a lane departure warning system. The method first obtains a real-time test video pre-captured by an on-board camera, wherein the real-time test video displays the positions of multiple vehicles and lane lines. The method then calibrates the positions of the multiple vehicles and lane lines displayed in the real-time test video according to a predetermined method, obtaining position distances between the multiple vehicles and lane lines. The position distances have a specified correspondence with each frame of the real-time test video. The method then detects the actual warning position distances issued by the lane departure warning system based on the specified correspondence and a CAN signal module. The method then obtains the preset warning position distances, and confirms the lane departure warning system test results based on the actual warning position distances and the preset warning position distances, thereby completing the lane departure warning system test. As can be seen from the above description, the present invention does not require the construction of a complex test environment. Instead, the method only requires capturing the real-time test video with an on-board camera and combining it with the lane departure warning system to complete the lane departure warning system test. Therefore, compared to the prior art, the method reduces the steps involved in setting up a complex test environment and the number of manual intervention steps, thereby improving the efficiency of lane departure warning system testing to a certain extent.

[0019] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present invention. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:

[0021] Figure 1 A schematic structural diagram of a test device for a lane departure warning system provided by an embodiment of the present invention is shown;

[0022] Figure 2 A flow chart of a testing method for a lane departure warning system provided by an embodiment of the present invention is shown;

[0023] Figure 3 A flow chart of another lane departure warning system testing method provided by an embodiment of the present invention is shown;

[0024] Figure 4 A block diagram showing the composition of a test device for a lane departure warning system provided by an embodiment of the present invention is shown;

[0025] Figure 5 A block diagram showing the composition of another lane departure warning system testing device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0026] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0027] The lane departure warning system is an auxiliary driving function that can issue an early warning when the vehicle deviates from the lane line during driving, prompting the driver to drive safely. The accuracy of the lane departure warning system directly affects the driver's driving safety. Therefore, before use, the lane departure warning system must be tested to verify the accuracy of its warning function. However, the current testing method requires manual construction of the test environment, and the equipment required to build the test environment is numerous. Testing is required after the construction is completed, so it takes a long time, which reduces the test efficiency to a certain extent. To this end, the present invention provides a testing method for a lane departure warning system, which can improve the testing efficiency of the lane departure warning system.

[0028] It should be noted that the lane departure warning system testing method provided by the present invention is implemented based on the lane departure warning system testing device. Figure 1 As shown, the test device 100 includes: two cameras 101 installed on the front wheels of the vehicle, a video capture card 102, a PC terminal 103, a CAN signal module 104, and a lane departure warning system 105.

[0029] The two cameras 101 are responsible for capturing real-time test video of the vehicle's front wheel ends. The real-time test video displays the positions of the vehicle and lane markings. Because the real-time test video consists of at least one frame, the vehicle is moving in real time during the capture of the real-time test video. Furthermore, because the present invention tests the lane departure warning system, the vehicle may change direction while driving. Therefore, the real-time test video may display multiple positions of the vehicle and lane markings.

[0030] After the camera 101 captures the real-time test video, the captured real-time test video is synchronized to the video capture software installed in the PC 103 through the video capture card 102; at the same time, the captured real-time test video is synchronized to the lane departure warning system 105 through the OBD port of the vehicle; and the PC 103 and the lane departure warning system 105 communicate through the CAN signal module 104.

[0031] Based on the above-mentioned testing device 100, the present invention provides a testing method for a lane departure warning system, such as Figure 2 As shown, the specific execution steps include:

[0032] 201. Obtain the real-time test video pre-collected by the vehicle-mounted camera.

[0033] Based on the above device description, it can be seen that after the vehicle-mounted camera captures the real-time test video, it will be synchronized to the video capture software installed on the PC via a video capture card. Therefore, the video capture software background can obtain the real-time test video pre-captured by the vehicle-mounted camera. Based on this, it can be seen that the main body of the test method for the lane departure warning system provided by the present invention is executed by the video capture software background.

[0034] Among them, the real-time test video obtained by the video acquisition software can also be synchronized to the front end for display.

[0035] Because the present invention tests the lane departure warning system based on the positional relationship between the vehicle and lane markings, the vehicle must be moving in real time and can change direction while driving during the real-time test video. Therefore, the real-time test video can display multiple vehicle and lane marking positions.

[0036] 202. Based on a preset method, calibrate the positions of multiple vehicles and lane lines to obtain the position distances between the multiple vehicles and lane lines.

[0037] After acquiring the real-time test video, in order to obtain the position distances between multiple specific vehicles and lane lines, so as to facilitate the subsequent verification of the test results of the lane departure warning system, the positions of multiple vehicles and lane lines in the real-time test video can be calibrated according to a preset method to obtain the position distances between multiple vehicles and lane lines, and then a real-time test video with the position distances between multiple vehicles and lane lines can be obtained.

[0038] Specifically, it can be done through a coordinate system conversion method, such as converting the camera's coordinate system into a spatial coordinate system in real space, to obtain multiple specific position distances between the vehicle and the lane lines. It can also be done by pre-shooting a calibration image with measurement parameters, and then calibrating the positions of the vehicle and the lane lines displayed in the real-time test video in combination with the calibration image to obtain multiple specific position distances between the vehicle and the lane lines.

[0039] The position distance has a specified corresponding relationship with each video frame in the real-time test video, which can be multiple video frames corresponding to one position distance or a one-to-one correspondence.

[0040] 203. Utilize the CAN signal module and the designated correspondence to detect the actual warning position distance warned by the lane departure warning system among the position distances between multiple vehicles and lane lines.

[0041] After the on-board camera collects the real-time test video, the staff will synchronize the collected real-time test video to the lane departure warning system 105 through the OBD port on the vehicle side. Therefore, after receiving the real-time test video, the lane departure warning system will issue a corresponding warning based on the position of the vehicle and the lane line in the real-time test video.

[0042] The PC and the lane departure warning system can communicate through the CAN signal module. Therefore, the background of the PC's video acquisition software can use the CAN signal module to obtain the specific video frame when the lane departure warning system issues a warning. Because the position distance between the vehicle and the lane line has a specified correspondence with each video frame in the real-time test video, the actual warning position distance corresponding to the specific video frame when the lane departure warning system issues a warning can be determined based on the specified correspondence.

[0043] 204. Based on the actual warning position distance and the preset warning position distance, determine the test result of the lane departure warning system and complete the test of the lane departure warning system.

[0044] In this step, the warning position distance designed when developing the lane departure warning system (i.e., the preset warning position distance) can be obtained. It can also be understood that when the position distance between the vehicle and the lane line reaches the designed warning position distance, the lane departure warning system will issue a warning.

[0045] Afterwards, the lane departure warning system test result can be determined based on the obtained preset warning position distance and the actual warning position distance obtained in step 203, thereby completing the lane departure warning system test. The test result can be obtained by comparing the preset warning position distance with the actual warning position distance.

[0046] Based on the above Figure 2 It can be seen from the implementation method that the present invention provides a test method for a lane departure warning system, which can first obtain a real-time test video pre-collected by a vehicle-mounted camera, wherein the real-time test video displays the positions of multiple vehicles and lane lines, and then calibrate the positions of the multiple vehicles and lane lines displayed in the real-time test video according to a preset method to obtain the position distances of the multiple vehicles and lane lines, wherein the position distance has a specified corresponding relationship with each video frame in the real-time test video, and then the actual warning position distance warned by the lane departure warning system in the position distances of the multiple vehicles and lane lines can be detected according to the specified corresponding relationship and the CAN signal module, and then the preset warning position distance can be obtained, and the test result of the lane departure warning system can be confirmed according to the actual warning position distance and the preset warning position distance, thereby completing the test of the lane departure warning system. Based on the above description, it can be seen that the present invention does not require the construction of a complex test environment, but only needs to be completed through Figure 1 This can be achieved with the components of a test device. The device requires simple components, requiring no time to build, and the camera in the device is reusable, requiring no disassembly after testing. Therefore, compared to existing technologies, this reduces the steps required to build a complex test environment and the number of manual steps involved. Furthermore, the test steps in this invention are based solely on the specific distance between the vehicle and the lane marking, eliminating the need for complex steps. This significantly improves the efficiency of lane departure warning system testing.

[0047] Furthermore, as a Figure 2 The embodiment shown in the figure is refined and expanded. The embodiment of the present invention also provides another method for testing a lane departure warning system, such as Figure 3 As shown, the specific execution steps include:

[0048] 301. Obtain the real-time test video pre-collected by the vehicle-mounted camera.

[0049] Among them, the implementation method of step 301 is the same as that of step 201, and can achieve the same technical effect and solve the same technical problem, so it will not be repeated here.

[0050] 302. Based on a preset method, calibrate the positions of multiple vehicles and lane lines to obtain the position distances between the multiple vehicles and lane lines.

[0051] Before this step is performed, a staff member can unroll a tape measure from the edge of the vehicle's front wheel. At this point, the camera, tape measure, and vehicle remain immobile. The staff member then turns on the camera and takes a picture of the tape measure at the edge of the vehicle's front wheel to obtain a calibration image with distance measurement parameters, which serve as the tape measure's scale.

[0052] Furthermore, the calibration image is transmitted to the background of the video acquisition software through the video acquisition card. After the video acquisition software background obtains the calibration image, it embeds the calibration image into the real-time test video. In this way, the distance measurement parameters in the calibration image are also embedded in the real-time test video. The distance measurement parameters can be used to measure the position of the vehicle and the lane line in the real-time test video, and the position distances of multiple vehicles and lane lines can be obtained. In this way, there is no need to use complex algorithms. You only need to take pictures with a simple camera and embed the pictures into the real-time test video to obtain the position distances of multiple vehicles and lane lines. The time required is less, which reduces the time required for the entire test process to a certain extent.

[0053] 303. Using the CAN signal module, detect the warning video frame of the lane departure warning system in the real-time test video;

[0054] 304. Based on the designated correspondence, determine the position distance between the vehicle and the lane line corresponding to the warning video frame, and determine the position distance between the vehicle and the lane line corresponding to the warning video frame as the actual warning position distance.

[0055] The lane departure warning system issues a warning based on real-time test video when it detects that the distance between the vehicle and the lane marking exceeds a predetermined distance. However, since the lane departure warning system issues warnings based on the original real-time test video, not the real-time test video with the calibrated distance between the vehicle and the lane marking, it can only obtain the warning video frame from the original real-time test video. Then, in the real-time test video with the calibrated distance between the vehicle and the lane marking, the distance between the vehicle and the lane marking at the moment of the warning video frame is determined, and this distance is determined as the actual warning position distance. In other words, the specified correspondence between the vehicle and lane marking position and each video frame in the real-time test video is used to determine the vehicle and lane marking position distance corresponding to the warning video frame.

[0056] For example, it can be seen from the CAN signal module that the lane departure warning system issued a warning in the 15th frame of the real-time test video. Then, from the real-time test video with the position distance between the vehicle and the lane line, the position distance between the vehicle and the lane line corresponding to the 15th frame is 8 cm. At this time, it can be determined that the actual warning position distance is 8 cm.

[0057] 305. Based on the actual warning position distance and the preset warning position distance, determine the test result of the lane departure warning system and complete the test of the lane departure warning system.

[0058] In this step, the preset warning position distance set when the lane departure warning system is developed can be obtained, and then the preset warning position distance and the actual warning position distance are compared to determine whether the actual warning position distance is less than the preset warning position distance. If so, the test result of the lane departure warning system is determined to be incorrect; if not, the test result of the lane departure warning system is determined to be correct.

[0059] For example, if the preset warning position distance is to issue a warning when the vehicle is 5 cm away from the lane line, but it is found that the actual warning position distance corresponding to the warning video frame when the lane departure warning system issues a warning is 2 cm, because the actual warning position distance is less than the preset warning distance, if a warning is issued at this time, it means that the warning is not timely. Therefore, the driver cannot know the danger in time, which may affect the driver's driving safety.

[0060] Furthermore, throughout the entire lane departure warning system testing process, a test log can be recorded, and the real-time test progress information recorded in the real-time test log can be stored in a designated database. This allows the system to retrieve the real-time test progress information from the designated database if the lane departure warning system test results are incorrect. The real-time test progress information can then be used to analyze the cause of the error and send the error cause to a display terminal, allowing personnel to modify the lane departure warning system based on the cause. This facilitates subsequent optimization of the lane departure warning system.

[0061] Furthermore, as a response to the above Figure 2 In addition to the implementation of the method shown in the figure, the embodiment of the present invention also provides a test device for a lane departure warning system for testing the above lane departure warning system. Figure 2 This device embodiment corresponds to the aforementioned method embodiment. For ease of reading, this device embodiment will not describe the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can implement all the contents of the aforementioned method embodiment. Figure 4 As shown, the device includes:

[0062] An acquisition unit 401 is configured to acquire a real-time test video pre-collected by a vehicle-mounted camera, wherein the real-time test video displays positions of multiple vehicles and lane lines;

[0063] a calibration unit 402 configured to calibrate, based on a preset method, the positions of the plurality of vehicles and lane lines displayed in the real-time test video acquired by the acquisition unit 401 to obtain position distances between the plurality of vehicles and the lane lines, wherein the position distances have a specified correspondence with each video frame in the real-time test video;

[0064] a detection unit 403 configured to detect an actual warning position distance issued by the lane departure warning system from among the plurality of vehicle-to-lane line position distances calibrated by the calibration unit 402 using the CAN signal module and the designated correspondence calibrated by the calibration unit 402;

[0065] The determination unit 404 is configured to determine a test result of the lane departure warning system based on the actual warning position distance and the preset warning position distance detected by the detection unit 403 , thereby completing the test of the lane departure warning system.

[0066] Furthermore, as a response to the above Figure 3 In addition to the implementation of the method shown in the figure, the embodiment of the present invention also provides another lane departure warning system testing device for testing the lane departure warning system. Figure 3This device embodiment corresponds to the aforementioned method embodiment. For ease of reading, this device embodiment will not describe the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can implement all the contents of the aforementioned method embodiment. Figure 5 As shown, the device includes:

[0067] An acquisition unit 401 is configured to acquire a real-time test video pre-collected by a vehicle-mounted camera, wherein the real-time test video displays positions of multiple vehicles and lane lines;

[0068] a calibration unit 402 configured to calibrate, based on a preset method, the positions of the plurality of vehicles and lane lines displayed in the real-time test video acquired by the acquisition unit 401 to obtain position distances between the plurality of vehicles and the lane lines, wherein the position distances have a specified correspondence with each video frame in the real-time test video;

[0069] a detection unit 403 configured to detect an actual warning position distance issued by the lane departure warning system from among the plurality of vehicle-to-lane line position distances calibrated by the calibration unit 402 using the CAN signal module and the designated correspondence calibrated by the calibration unit 402;

[0070] The determination unit 404 is configured to determine a test result of the lane departure warning system based on the actual warning position distance and the preset warning position distance detected by the detection unit 403 , thereby completing the test of the lane departure warning system.

[0071] In an optional implementation, the determining unit 404 includes:

[0072] A judgment module 4041 is used to judge whether the actual warning position distance is less than the preset warning position distance;

[0073] a first result determination module 4042 configured to determine that the test result of the lane departure warning system is an error if the judgment module 4041 judges that the test result is an error;

[0074] The second result determination module 4043 is configured to determine that the test result of the lane departure warning system is correct if the judgment module 4041 judges no.

[0075] In an optional implementation, the calibration unit 402 includes:

[0076] The image acquisition module 4021 is used to acquire a calibration image pre-collected by the vehicle-mounted camera, wherein the calibration image carries distance measurement parameters;

[0077] The embedding module 4022 is used to embed the calibration image obtained by the image acquisition module 4021 into the real-time test video, use the distance measurement parameters to measure the position of the vehicle and the lane line in the real-time test video, and obtain the position distances between multiple vehicles and lane lines.

[0078] In an optional implementation, the detection unit 403 includes:

[0079] a detection module 4031 for detecting, by using a CAN signal module, a warning video frame issued by the lane departure warning system in the real-time test video;

[0080] The distance determination module 4032 is used to determine the position distance between the vehicle and the lane line corresponding to the warning video frame detected by the detection module 4031 based on the specified correspondence, and determine the position distance between the vehicle and the lane line corresponding to the warning video frame as the actual warning position distance.

[0081] In an optional implementation, the apparatus further includes a log recording unit 405, and the log recording unit 405 includes:

[0082] Log recording module 4051, used to record real-time test logs;

[0083] The storage module 4052 is used to store the real-time test process information recorded in the real-time test log of the log recording module 4051 into a designated database.

[0084] In an optional embodiment, after the determining unit 404 determines that the test result of the lane departure warning system is an error, the apparatus further includes a cause analysis unit 406, wherein the cause analysis unit 406 includes:

[0085] The process acquisition module 4061 is used to obtain real-time test process information from a specified database;

[0086] Cause analysis module 4062, configured to analyze the causes of errors in test results based on the real-time test process information acquired by the process acquisition module 4061;

[0087] The cause sending module 4063 is used to send the error cause analyzed by the cause analysis module 4062 to the display terminal, so that the staff can correct the lane departure warning system based on the error cause.

[0088] Furthermore, an embodiment of the present invention further provides a storage medium for storing a computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the above Figure 2-3 The test method for the lane departure warning system described in .

[0089] Furthermore, an embodiment of the present invention further provides a processor, the processor being used to run a program, wherein the program executes the above-mentioned Figure 2-3 The test method for the lane departure warning system described in .

[0090] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0091] It is understood that the relevant features of the above methods and devices can be referenced to each other. In addition, the terms "first" and "second" in the above embodiments are used to distinguish between the embodiments, and do not represent the advantages and disadvantages of the embodiments.

[0092] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0093] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general-purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing this type of system. In addition, the present invention is not directed to any specific programming language. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the above description of specific languages is for the purpose of disclosing the best mode of the present invention.

[0094] In addition, the memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0095] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0096] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0097] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0098] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0099] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0100] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0101] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0102] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0103] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0104] The above are merely embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.

Claims

1. A method for testing a lane departure warning system, characterized in that: The method comprises: Obtaining a real-time test video pre-captured by a vehicle-mounted camera, wherein the real-time test video displays positions of multiple vehicles and lane lines; Based on a preset method, calibrate the positions of the multiple vehicles and the lane lines to obtain position distances between the multiple vehicles and the lane lines, wherein the position distances have a specified corresponding relationship with each video frame in the real-time test video; Detecting an actual warning position distance warned by the lane departure warning system among the position distances between the plurality of vehicles and lane lines using a CAN signal module and the designated corresponding relationship; determining a test result of the lane departure warning system based on the actual warning position distance and the preset warning position distance, thereby completing the test of the lane departure warning system; Determining a test result of the lane departure warning system based on the actual warning position distance and the preset warning position distance includes: Determining whether the actual warning position distance is less than the preset warning position distance; If yes, determining that the test result of the lane departure warning system is an error; If not, determining that the test result of the lane departure warning system is correct; Based on a preset method, the positions of the multiple vehicles and the lane lines are calibrated to obtain the position distances between the multiple vehicles and the lane lines, including: Obtain a calibration image pre-collected by the vehicle-mounted camera, wherein the calibration image has distance measurement parameters; Embedding the calibration image into the real-time test video, measuring the position of the vehicle and the lane line in the real-time test video using the distance measurement parameters, and obtaining the position distances between multiple vehicles and lane lines; Detecting an actual warning position distance warned by the lane departure warning system among the position distances between the plurality of vehicles and lane lines using the CAN signal module and the designated corresponding relationship, including: Detecting a warning video frame issued by a lane departure warning system in the real-time test video using a CAN signal module; Based on the specified corresponding relationship, determining the position distance between the vehicle and the lane line corresponding to the warning video frame, and determining the position distance between the vehicle and the lane line corresponding to the warning video frame as the actual warning position distance; After determining that the test result of the lane departure warning system is an error, the method further includes: Get real-time test progress information from the specified database; Analyzing the causes of errors in the test results based on the real-time test progress information; The error cause is sent to a display terminal so that a staff member can correct the lane departure warning system based on the error cause.

2. The method according to claim 1, characterized in that The method further comprises: Record real-time test logs; The real-time test process information recorded in the real-time test log is stored in a designated database.

3. A lane departure warning system testing device, configured to implement the lane departure warning system testing method according to any one of claims 1 to 2, characterized in that: The device comprises: an acquisition unit, configured to acquire a real-time test video pre-collected by a vehicle-mounted camera, wherein the real-time test video displays positions of multiple vehicles and lane lines; a calibration unit, configured to calibrate, based on a preset method, the positions of the plurality of vehicles and lane lines displayed in the real-time test video acquired by the acquisition unit, to obtain position distances between the plurality of vehicles and the lane lines, wherein the position distances have a specified correspondence with each video frame in the real-time test video; a detection unit, configured to detect an actual warning position distance issued by the lane departure warning system among a plurality of vehicle-to-lane line position distances calibrated by the calibration unit, using the CAN signal module and the designated correspondence calibrated by the calibration unit; A determination unit is used to determine a test result of the lane departure warning system based on the actual warning position distance and the preset warning position distance detected by the detection unit, and complete the test of the lane departure warning system.

4. The device according to claim 3, characterized in that The determining unit includes: A judging module, configured to judge whether the actual warning position distance is less than the preset warning position distance; a first result determination module, configured to determine that the test result of the lane departure warning system is an error if the judgment module determines that the test result is an error; The second result determination module is configured to determine that the test result of the lane departure warning system is correct if the judgment module determines that the test result is correct.

5. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the lane departure warning system testing method according to any one of claims 1 to 2.

6. A processor, characterized in that: The processor is configured to run a program, wherein the program, when running, executes the lane departure warning system testing method according to any one of claims 1 to 2.

Citation Information

Patent Citations

  • Vehicle driving state evaluating method based on road-switching behavior detection

    CN101870293A

  • A test device and a test method for a lane departure early warning system

    CN109591817A