Camera testing method, system, vehicle, and computer-readable storage medium
By simulating complex lighting conditions on a vehicle to test the obstruction of the camera by the heating wire, the heating wire specifications that meet driving requirements are selected, solving the problem that the heating wire specifications cannot be verified in the existing technology, and improving the stability and safety of the driver assistance system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ANHUI ZHIJIE NEW ENERGY VEHICLE CO LTD
- Filing Date
- 2026-02-03
- Publication Date
- 2026-06-05
Smart Images

Figure CN122160497A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of camera testing technology, and more specifically, to a camera testing method, system, vehicle, and computer-readable storage medium. Background Technology
[0002] With the development of autonomous driving technology, in-vehicle driver assistance cameras, as key visual sensors, directly impact driving safety and the normal operation of driver assistance functions. To prevent water fog on the windshield from affecting the camera's imaging effect, heating wires are usually integrated into the camera's field of view for rapid defogging. However, the design and layout of the heating wires directly affect the camera's working condition, especially at night or in environments with frequent changes in lighting. The heating wires may create interfering shadows within the camera's field of view, thus hindering the camera's normal perception capabilities.
[0003] The existing technology lacks a means to verify whether the specifications of the heating wires deployed on the windshield of a vehicle meet driving requirements, making it difficult to effectively assess whether the specifications of the heating wires meet the safety and performance requirements of assisted driving.
[0004] There is currently no good solution to the above problems. Summary of the Invention
[0005] This application provides a camera testing method, system, vehicle, and computer-readable storage medium to at least solve the technical problem of how to verify whether the specifications of the heating wire deployed on the windshield of a vehicle meet driving requirements.
[0006] According to one aspect of the embodiments of this application, a camera testing method is provided, applied to a vehicle. The vehicle is equipped with a driver assistance system, which includes a camera deployed inside the windshield of the vehicle. A heating wire is deployed at a preset position on the windshield, within the field of view of the camera. The camera testing method includes: responding to a camera testing command, determining whether the driver assistance system is in an active state; responding to the driver assistance system being in an active state, controlling the vehicle to travel at a constant speed in a preset test scenario within a preset time period, testing the occlusion of the camera within the preset time period, and obtaining test results. The preset test scenario is used to characterize a light source area that produces alternating light and dark changes, and the test results are used to determine whether the shadow cast by the heating wire in the preset test scenario occludes the camera.
[0007] Furthermore, when the vehicle travels at a constant speed within a preset time period, the corresponding vehicle speed is less than a preset vehicle speed threshold. The preset time period is the time period when the natural light intensity is lower than a preset intensity threshold.
[0008] Furthermore, light from the light source area illuminates the heating wire from the side of the vehicle, creating a shadow.
[0009] Furthermore, the test results include the number of times the camera is blocked. The camera test method also includes: in response to the number of times the camera is blocked being empty, determining that the shadow generated by the heating wire in the preset test scenario does not block the camera; in response to the number of times the camera is blocked being non-empty, determining that the shadow generated by the heating wire in the preset test scenario blocks the camera, and displaying the number of times the camera is blocked through the vehicle interface.
[0010] Furthermore, the camera testing method also includes: conducting multiple rounds of camera tests on the vehicle to obtain multiple test results, wherein, during the multiple rounds of camera tests, the vehicle is equipped with heating wires of various specifications, with each round of camera tests corresponding to a heating wire of one specification; based on the multiple test results, a target heating wire is determined from the multiple specifications of heating wires, wherein the target heating wire is used to characterize the heating wire that meets the preset test requirements.
[0011] Furthermore, the test results also include: multiple occlusion locations, and the camera testing method further includes: in response to multiple occlusions, determining whether the multiple occlusion locations are the same location; in response to multiple occlusion locations being the same location, determining the occlusion as a first type of occlusion; in response to multiple occlusion locations not being the same location, determining the occlusion as a second type of occlusion.
[0012] Furthermore, the camera testing method also includes: when testing the camera's occlusion, in response to the shadow cast by the heating wire obstructing the camera, triggering an occlusion warning and a functional limitation warning of the driver assistance system through the vehicle interface.
[0013] According to another aspect of the embodiments of this application, a camera testing system is also provided, applied to a vehicle. The vehicle is equipped with an assisted driving system, which includes a camera deployed inside the vehicle's windshield. A heating wire is deployed at a preset position on the windshield, within the camera's field of view. The camera testing system includes: a determining module, used to determine whether the assisted driving system is in an active state in response to a camera testing command; and a testing module, used to control the vehicle to travel at a constant speed in a preset test scenario within a preset time period in response to the assisted driving system being in an active state, testing the occlusion of the camera within the preset time period, and obtaining test results. The preset test scenario is used to characterize a light source area that produces alternating light and dark changes, and the test results are used to determine whether the shadow cast by the heating wire in the preset test scenario occludes the camera.
[0014] According to another aspect of the embodiments of this application, a vehicle is also provided, including: a memory storing an executable program; and a processor for running the executable program, wherein the executable program executes the methods in various embodiments of this application when it runs.
[0015] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is running, it controls the device where the computer-readable storage medium is located to perform the methods of various embodiments of this application.
[0016] In this embodiment, in response to a camera test command, it is determined whether the assisted driving system is active. If the assisted driving system is active, the vehicle is controlled to travel at a constant speed within a preset test scenario over a preset time period to test the camera's occlusion during that period and obtain test results. The preset test scenario characterizes a light source area with alternating light and dark conditions, and the test results are used to determine whether the shadow cast by the heating wire in the preset test scenario obstructs the camera. This application first responds to the camera test command to determine whether the assisted driving system is active; this step is a prerequisite for testing. Secondly, the vehicle is controlled to travel at a constant speed within a preset test scenario over a preset time period, i.e., an area with alternating light intensity. This design simulates the vehicle's driving conditions in complex lighting environments, especially scenarios with significant changes in light at night or during dawn and dusk. This specific scenario selection helps to highlight the impact of the heating wire's shadow on the camera's field of view, because changes in light make the heating wire's shadow more obvious, making it easier to detect whether it interferes with the normal operation of the camera. Furthermore, the occlusion of the camera is tested within a preset time period, and the test results are used to determine whether the shadow cast by the heating wire in the preset test scenario obstructs the camera. This process can quantitatively evaluate the occlusion of the camera by the heating wire shadow, and then verify whether the specifications of the current heating wire meet driving requirements and whether it can ensure the normal operation of the camera in complex lighting conditions, avoiding the failure of the assisted driving function due to the heating wire shadow occlusion, thereby improving overall driving safety. Therefore, this application achieves the technical effect of effectively verifying whether the specifications of the heating wire deployed on the vehicle's windshield meet driving requirements by conducting a heating wire shadow occlusion test on the camera, thus solving the technical problem of how to verify whether the specifications of the heating wire deployed on the vehicle's windshield meet driving requirements. Attached Figure Description
[0017] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0018] Figure 1 This is a flowchart of a camera testing method according to an embodiment of this application;
[0019] Figure 2 This is an example flowchart of a camera testing method according to an embodiment of this application;
[0020] Figure 3 This is a structural block diagram of a camera testing system according to an embodiment of this application. Detailed Implementation
[0021] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0022] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0023] According to an embodiment of this application, a method embodiment for testing a camera is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0024] This embodiment provides a camera testing method applied to a vehicle. The vehicle is equipped with an assisted driving system, which includes a camera. The camera is deployed inside the windshield of the vehicle, and a heating wire is deployed at a preset position on the windshield, within the field of view of the camera. Figure 1 A flowchart of a camera testing method according to an embodiment of this application is shown below. Figure 1 As shown, the method includes the following steps:
[0025] Step S10: In response to the camera test command, determine whether the driver assistance system is in an active state;
[0026] Step S11: In response to the assisted driving system being activated, control the vehicle to drive at a constant speed in a preset test scenario within a preset time period, test the occlusion of the camera within the preset time period, and obtain the test results. The preset test scenario is used to characterize the light source area that produces alternating light and dark changes, and the test results are used to determine whether the shadow generated by the heating wire in the preset test scenario occludes the camera.
[0027] The aforementioned driver assistance systems refer to systems that assist drivers in driving operations, encompassing functions such as active safety, vehicle control, and environmental perception. Driver assistance systems typically consist of various sensors (such as radar, lidar, and cameras) and a processor, capable of monitoring the vehicle's surroundings in real time, providing warning information, or automatically executing certain driving actions.
[0028] The aforementioned driver assistance system includes a camera. In one optional embodiment, the camera is deployed inside the vehicle's windshield to capture images of the road ahead, identify lane markings, obstacles, traffic signals, etc., and is one of the key components for achieving automatic or semi-automatic driving.
[0029] In one optional embodiment, the heating wire is deployed at a predetermined position on the windshield to prevent or eliminate frost or water vapor condensing on the glass surface, ensuring a clear field of view for the camera and improving driving safety. It should be noted that the heating wire is within the camera's field of view, thereby ensuring the clarity of the camera's field of view.
[0030] The aforementioned camera test command is triggered through the vehicle's diagnostic interface or dedicated software. Its purpose is to initiate a specific test procedure to check whether the shadow cast by the heating wire under specific conditions will obstruct the camera in the driver assistance system.
[0031] The aforementioned activation state refers to the driver assistance system being in normal working condition, meaning that all sensors (including cameras) are connected and able to output data normally.
[0032] In one alternative embodiment, upon receiving a camera test command, it is confirmed whether the driver assistance system is in normal working order; this is a prerequisite for testing.
[0033] The aforementioned preset time period was set by the test engineer based on experience to ensure that the shadows cast by the heating wire in the camera's field of view have sufficient time to be captured and their impact assessed. In an optional embodiment, a time period with low natural light intensity is selected as the preset time period.
[0034] The aforementioned preset test scenarios refer to light source areas that produce alternating changes in brightness, such as city streets with streetlights or tunnel exits. These scenarios are characterized by significant changes in light intensity within a certain distance, increasing the likelihood of the heating wire casting shadows in the camera's field of view.
[0035] The test results are used to determine whether the shadow cast by the heating wire in a preset test scenario obstructs the camera. In an optional embodiment, the test results include the number of times obstruction occurred during the test, the degree of obstruction, and the location of each obstruction.
[0036] In one optional embodiment, based on the image data received by the camera, image recognition is used to determine whether the shadow of the heating wire obstructs the camera's field of view, and the degree and frequency of obstruction. The degree of obstruction includes different levels such as "no obstruction," "slight obstruction," and "severe obstruction."
[0037] It should be noted that when controlling the vehicle to travel at a constant speed in a preset test scenario within a preset time period, and testing the camera occlusion during this period, only occlusion caused by the shadow of the heating wire is considered, excluding other types of occlusion (such as dust, raindrops, etc.). Other types of occlusion can be excluded through edge detection or deep learning algorithms.
[0038] The test results can determine whether the shadow cast by the heating wire in a preset test scenario obstructs the camera, thereby determining whether the specifications of the heating wire currently deployed on the vehicle meet driving requirements. For example, if the test results show multiple instances of obstruction, it is considered that the current heating wire specifications do not meet driving requirements and the heating wire needs to be optimized.
[0039] It is easy to understand that by conducting detailed tests on camera occlusion under preset test scenarios, the impact of heating wire design on the performance of the driver assistance system can be accurately assessed, thereby guiding the optimization design of the heating wire and reducing the failure of driver assistance system functions due to obstructed vision.
[0040] In this embodiment, in response to a camera test command, it is determined whether the assisted driving system is active. If the assisted driving system is active, the vehicle is controlled to travel at a constant speed within a preset test scenario over a preset time period to test the camera's occlusion during that period and obtain test results. The preset test scenario characterizes a light source area with alternating light and dark conditions, and the test results are used to determine whether the shadow cast by the heating wire in the preset test scenario obstructs the camera. This application first responds to the camera test command to determine whether the assisted driving system is active; this step is a prerequisite for testing. Secondly, the vehicle is controlled to travel at a constant speed within a preset test scenario over a preset time period, i.e., an area with alternating light intensity. This design simulates the vehicle's driving conditions in complex lighting environments, especially scenarios with significant changes in light at night or during dawn and dusk. This specific scenario selection helps to highlight the impact of the heating wire's shadow on the camera's field of view, because changes in light make the heating wire's shadow more obvious, making it easier to detect whether it interferes with the normal operation of the camera. Furthermore, the occlusion of the camera is tested within a preset time period, and the test results are used to determine whether the shadow cast by the heating wire in the preset test scenario obstructs the camera. This process can quantitatively evaluate the occlusion of the camera by the heating wire shadow, and then verify whether the specifications of the current heating wire meet driving requirements and whether it can ensure the normal operation of the camera in complex lighting conditions, avoiding the failure of the assisted driving function due to the heating wire shadow occlusion, thereby improving overall driving safety. Therefore, this application achieves the technical effect of effectively verifying whether the specifications of the heating wire deployed on the vehicle's windshield meet driving requirements by conducting a heating wire shadow occlusion test on the camera, thus solving the technical problem of how to verify whether the specifications of the heating wire deployed on the vehicle's windshield meet driving requirements.
[0041] The camera testing method in the embodiments of this application will be further described below.
[0042] Optionally, when the vehicle travels at a constant speed within a preset time period, the corresponding vehicle speed is less than a preset vehicle speed threshold. The preset time period is the time period when the natural light intensity is lower than a preset intensity threshold.
[0043] When conducting camera occlusion tests, a speed limit (i.e., a preset speed threshold) needs to be set to allow the camera sufficient time to detect and identify the heating wire shadow. This ensures that the vehicle speed is not too high, which could lead to test failure. The vehicle speed should be lower than the preset speed threshold when traveling at a constant speed within the preset time period to ensure that the heating wire shadow can be identified.
[0044] In addition, the preset time period is the period when the natural light intensity is lower than a preset intensity threshold. For example, the period between dusk and dawn, when the lighting conditions are suitable for conducting camera occlusion tests.
[0045] Natural light intensity refers to the brightness level of natural light sources in the external environment (such as sunlight, moonlight, starlight, or light produced by other natural phenomena). To ensure the validity of the test, a preset intensity threshold is set, and the camera occlusion test is only initiated when the natural light intensity is below this threshold.
[0046] In one optional embodiment, the preset vehicle speed threshold is set to 40 km / h, which ensures normal vehicle operation while giving the camera sufficient time to identify the effects of the heating wire's shadow. The preset time period is set to a certain time period at night.
[0047] For example, during a preset time period, the vehicle is controlled to travel at a constant speed below a preset speed threshold in an area with drastic changes in light and dark. During this process, the camera of the driver assistance system continuously monitors and records image information within its field of view. Through real-time image analysis, the number of times the heating wire's shadow obstructs the camera during the test, as well as the location and degree of obstruction, are determined.
[0048] By implementing the above strategy, this application can accurately test the shading phenomenon of the heating wire of the vehicle-mounted driver assistance camera in suitable lighting conditions and within a reasonable vehicle speed range. This not only improves the targeting of the test and ensures the accuracy of the test results, but also greatly reduces misjudgments caused by improper lighting conditions or vehicle speed.
[0049] Optionally, light from the light source area shines on the heating wire from the side of the vehicle, creating a shadow.
[0050] It's easy to understand why the light from the light source area is angled towards the heating wire from the side, rather than directly towards it. This illumination method makes the shadow of the heating wire more pronounced, making it easier to create a noticeable dark area within the camera's field of view (FOV).
[0051] By utilizing specific light source areas and side illumination methods, the shadow effect formed by the heating wire within the camera's field of view (FOV) can be effectively simulated and amplified, thereby accurately detecting the degree of impact of the heating wire on the imaging of the vehicle's driver assistance camera. This method helps engineers identify potential problems with the heating wire during the design phase, such as excessively thick wire diameter or lack of serration processing. These issues can cause the camera to be obstructed in certain environments, reducing the reliability of the driver assistance system and the user experience.
[0052] Optionally, the test results include: the number of times the camera was blocked; the camera test method also includes:
[0053] Step S121: In response to the fact that the number of occlusions is empty, it is determined that the shadow generated by the heating wire in the preset test scenario does not obstruct the camera;
[0054] In step S122, in response to the fact that the number of occlusions is not empty, it is determined that the shadow generated by the heating wire in the preset test scenario occludes the camera, and the number of occlusions is displayed through the vehicle interface.
[0055] The number of times the camera was obscured by the shadow of the heating wire was identified during the test.
[0056] When no occlusion events are recorded during the test, i.e., the number of occlusions is zero, this state is considered as the heating wire not effectively obstructing the camera in the current test scenario, thus determining that the specifications of the heating wire meet the driving requirements.
[0057] When the number of occlusion counts is not zero, it means that the shadow cast by the heating wire did indeed affect the camera's field of view during the test period, leading to system misjudgment or performance degradation. When the count of occlusion counts is greater than zero, it is determined that the shadow cast by the heating wire in the preset test scenario obstructs the camera. The information on the number of occlusion counts is then displayed intuitively on the vehicle's dashboard or central control screen, allowing test personnel or drivers to immediately understand the occlusion situation.
[0058] In one optional embodiment, when the number of occlusions is not empty, the influence of the current heating wire specifications on the camera is determined based on the number of occlusions and the degree of occlusion.
[0059] It's easy to understand that when the occlusion count is zero, it proves that the current heating wire design will not adversely affect the camera under varying light conditions, thus improving the stability and reliability of the driver assistance system. Conversely, when the occlusion count is not zero, it can reveal potential problems with the heating wire, such as excessively thick wires, irregular arrangement, or substandard manufacturing processes. This prompts engineers to specifically optimize the heating wire design, reducing camera occlusion failures caused by the heating wire and significantly improving the safety and user experience of autonomous vehicles.
[0060] Optionally, the camera testing method also includes:
[0061] Step S131: Perform multiple rounds of camera tests on the vehicle to obtain multiple test results. During the multiple rounds of camera tests, the vehicle is equipped with heating wires of various specifications, with each round of camera tests corresponding to a heating wire of one specification.
[0062] Step S132: Based on multiple test results, a target heating wire is determined from heating wires of various specifications, wherein the target heating wire is used to characterize the heating wire that meets the preset test requirements.
[0063] In one alternative embodiment, the heating wire specification with the least impact on the performance of the vehicle-mounted driver assistance camera is determined by evaluating the impact of different heating wire specifications on the performance of the vehicle-mounted driver assistance camera.
[0064] In one alternative embodiment, multiple rounds of camera testing are conducted on the vehicle in the same test scenario. During the camera testing in different rounds, heating wires of different specifications are deployed on the vehicle, so that the impact of heating wires of different specifications on the camera can be accurately compared.
[0065] For example, a camera test is performed individually for each size of heating wire, and the camera occlusion is recorded.
[0066] In one optional embodiment, the heating wire parameters include: wire diameter and whether it is serrated. Different specifications of heating wires have different heating wire parameters.
[0067] Furthermore, based on multiple test results, the impact of different heating wire specifications on camera performance was analyzed, and target heating wires were selected. For example, heating wires that did not cause camera obstruction were selected as target heating wires.
[0068] The aforementioned pre-set test requirements refer to the standards for evaluating the suitability of heating wires.
[0069] By implementing the above steps, the optimal heating wire specifications can be efficiently selected, ensuring that the onboard driver assistance camera functions normally under all lighting conditions, unaffected by the heating wire's shadow. This not only improves the overall stability of the driver assistance system, reduces the need for vehicle takeover, and enhances the user experience, but also provides a clear direction for subsequent design optimizations, helping to accelerate the safe maturation and commercialization of autonomous driving technology.
[0070] Optionally, the test results also include: multiple obstructed locations; the camera test method also includes:
[0071] Step S141: In response to the number of occlusions being multiple, determine whether the multiple occlusion locations are the same location;
[0072] Step S142: In response to multiple occlusion locations being the same location, determine the occlusion as the first occlusion type;
[0073] Step S143: In response to multiple occlusion locations not being the same location, determine the occlusion as a second type of occlusion.
[0074] In one alternative embodiment, GPS or other positioning technologies are used to record the exact location where each occlusion event occurs in order to identify the occlusion location.
[0075] For example, during the test, the timestamp and geographic coordinates of each camera occlusion event are recorded.
[0076] In addition, a “proximity” threshold for occlusion locations can be defined. For example, if two occlusion events are geographically less than 10 meters apart, they are considered to have occurred at the same location.
[0077] Alternatively, when occlusion events occur frequently at a single location, these occlusions are classified as "Type 1 Occlusion." This means that the problem may stem from location-specific environmental conditions, such as lighting angle, brightness, and the arrangement of the heating wires on the windshield.
[0078] Once it is confirmed that multiple instances of shading occur at the same location, further analysis of the lighting characteristics of that location is necessary, such as the location, height, and brightness of the streetlights. Based on the environmental analysis of the location, the design parameters of the heating wire (such as wire diameter and serration density) should be adjusted to reduce the occurrence of shading at these specific locations.
[0079] Alternatively, if the shading events are scattered across different geographical locations, these shading events are classified as "secondary shading type," indicating that the problem may be more related to the design of the heating wire itself, rather than being limited to a specific external environment.
[0080] Once the shading is determined to be of the second type, a comprehensive review of the heating wire design is conducted, including its wire diameter, serration shape, and distribution density, to identify design flaws that may cause shading. Simultaneously, a new heating wire prototype is designed and fabricated, and the above testing process is repeated to verify the improvement in shading performance of the modified heating wire in different locations.
[0081] The above steps provide an in-depth analytical approach to the problem of occlusion in driver assistance cameras, enabling the differentiation between occlusion caused by environmental factors at a specific location (Type 1 occlusion) and occlusion caused by defects in the heating wire design itself (Type 2 occlusion). This refined problem classification helps the R&D team accurately pinpoint the issue, providing strong data support for whether optimizing heating wire design parameters or adjusting vehicle operating strategies in specific environments. Ultimately, this testing process will significantly improve the reliability and user experience of autonomous driving systems, reduce unnecessary vehicle intervention, and enhance driving safety.
[0082] Optionally, the camera testing method also includes: when testing the occlusion of the camera, in response to the shadow cast by the heating wire obstructing the camera, triggering an occlusion warning and a functional limitation warning of the driver assistance system through the vehicle interface.
[0083] The aforementioned obstruction warning refers to a warning message issued to the driver via the vehicle's infotainment system when the camera's field of view is detected to be obstructed by the shadow of the heating wire. The limited functionality warning for the driver assistance system refers to the system automatically reducing or disabling certain functions that rely on camera input due to obstruction, and informing the driver through the interface.
[0084] For example, when testing camera occlusion, if the shadow cast by the heating wire obstructs the camera, a voice occlusion reminder and a voice reminder indicating limited functionality of the driver assistance system are triggered through the vehicle's infotainment system interface.
[0085] By implementing the above steps, this application can effectively simulate camera occlusion caused by the shadow of the heating wire during actual driving, and intuitively demonstrate the occlusion through the feedback mechanism of the vehicle's infotainment interface. This method not only helps to identify and locate potential problems in the heating wire design early, such as the impact of wire diameter and serrated design on the occlusion effect, but can also be used for subsequent heating wire optimization design. In particular, the test results are more significant in nighttime and alternating light and dark environments, guiding manufacturers to select the optimal heating wire specifications and layout, thereby significantly improving the stability of the driver assistance system and user experience, and reducing unnecessary functional limitations and driving risks.
[0086] Optionally, Figure 2 This is an example flowchart of a camera testing method according to an embodiment of this application, such as... Figure 2 As shown, the specific implementation of the camera testing method is as follows: control the vehicle to drive at a constant speed; make the vehicle drive straight in an area with alternating light and dark; determine whether the shadow of the heating wire meets the requirements (i.e. whether the shadow of the heating wire meets the requirement of not obstructing the camera); if the requirements are met, it is determined that the camera is not obstructed and the function of the driver assistance system can be used normally; if the requirements are not met, the central control screen reports that the camera is obstructed by the shadow and the function of the driver assistance system is limited.
[0087] Specifically, firstly, the driver should maintain a constant speed. It should be noted that the vehicle speed should not exceed 40 km / h while the driver is controlling the vehicle. Excessive speed will cause the shadow of the heating wire to remain within the lens's field of view (FOV) for too short a time, failing to trigger the camera obstruction warning.
[0088] The driver then maneuvers the vehicle into an area of alternating light and shadow. In environments with frequent changes in light intensity, the heating wire repeatedly casts shadows within the camera's field of view (FOV), and these shadows are more pronounced at night. It should be noted that the shadows of the heating wire are more pronounced when light shines from the side; therefore, this application requires testing under conditions of side lighting and nighttime.
[0089] Furthermore, based on the vehicle's infotainment system prompts (which are triggered every time an obstruction is detected), it is confirmed whether the heating wire shadow is obstructing the camera, and it is determined whether the current heating wire specifications meet the requirement that the shadow does not obstruct the camera's imaging.
[0090] For example, the test results are as follows: for the first specification heating wire (0.8mm wire diameter, without serrations), there were 9 instances of obstruction, and the obstruction locations were inconsistent; for the second specification heating wire (0.6mm wire diameter, without serrations), there were 4 instances of obstruction, and the obstruction locations were consistent; for the third specification heating wire (0.8mm wire diameter, with serrations), there were 0 instances of obstruction; and for the fourth specification heating wire (0.6mm wire diameter, with serrations), there were 4 instances of obstruction, and the obstruction locations were inconsistent.
[0091] The test results above show that the 0.8mm serrated heating wire had the lowest frequency of blocking, at 0 times. The other three specifications of heating wire all had a probability of blocking.
[0092] It is easy to understand that this application can test whether the heating wire meets the requirement of not affecting the imaging of the assisted driving camera under light sources with frequent changes in brightness. For example, if the heating wire is too thick, the resulting shadow will obstruct the camera; or if the heating wire is not serrated, it will generate a large area of shadow. The above testing method can stably reproduce the camera obstruction fault, and the effect of the heating wire improvement can be judged by the fault reproduction, ultimately solving the camera obstruction fault.
[0093] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0094] According to an embodiment of this application, a system embodiment of a camera testing system is provided. It should be noted that this system can be used to execute the above-described camera testing method.
[0095] Figure 3 This is a structural block diagram of a camera testing system according to an embodiment of this application, such as... Figure 3As shown, a camera testing system 300 is applied to a vehicle equipped with a driver assistance system. The driver assistance system includes a camera deployed inside the vehicle's windshield. A heating wire is deployed at a preset position on the windshield, within the camera's field of view. The camera testing system 300 includes: a determination module 301, used to determine whether the driver assistance system is active in response to a camera test command; and a test module 302, used to control the vehicle to travel at a constant speed in a preset test scenario within a preset time period in response to the driver assistance system being active, testing the occlusion of the camera within the preset time period, and obtaining test results. The preset test scenario is used to characterize the light source area that produces alternating light and dark changes, and the test results are used to determine whether the shadow cast by the heating wire in the preset test scenario occludes the camera.
[0096] Optionally, when the vehicle travels at a constant speed within a preset time period, the corresponding vehicle speed is less than a preset vehicle speed threshold. The preset time period is the time period when the natural light intensity is lower than a preset intensity threshold.
[0097] Optionally, light from the light source area shines on the heating wire from the side of the vehicle, creating a shadow.
[0098] Optionally, the test results include: the number of times the camera is blocked. The test module 302 is also used to: determine that the shadow generated by the heating wire in the preset test scenario does not block the camera in response to the number of times the camera is blocked; and determine that the shadow generated by the heating wire in the preset test scenario blocks the camera in response to the number of times the camera is blocked through the vehicle interface.
[0099] Optionally, the test module 302 is further configured to: perform multiple rounds of camera tests on the vehicle to obtain multiple test results, wherein, during the multiple rounds of camera tests, the vehicle is equipped with heating wires of various specifications, and each round of camera tests corresponds to a heating wire of one specification; based on the multiple test results, determine a target heating wire from the multiple specifications of heating wires, wherein the target heating wire is used to characterize the heating wire that meets the preset test requirements.
[0100] Optionally, the test results also include: multiple occlusion locations, and the test module 302 is further configured to: determine whether the multiple occlusion locations are the same location in response to multiple occlusion counts; determine the occlusion as a first occlusion type in response to multiple occlusion locations being the same location; and determine the occlusion as a second occlusion type in response to multiple occlusion locations not being the same location.
[0101] Optionally, the test module 302 is also used to: when testing the occlusion of the camera, in response to the shadow cast by the heating wire obstructing the camera, trigger an occlusion reminder and a functional limitation reminder of the driver assistance system through the vehicle interface.
[0102] According to another aspect of the embodiments of this application, a vehicle is also provided, including: a memory storing an executable program; and a processor for running the executable program, wherein the executable program executes the methods in various embodiments of this application when it runs.
[0103] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is running, it controls the device where the computer-readable storage medium is located to perform the methods of various embodiments of this application.
[0104] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0105] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.
[0106] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0107] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0108] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0109] The above are merely preferred embodiments of this application. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A camera testing method, characterized in that, Applied to vehicles, the vehicles are equipped with an advanced driver assistance system, the advanced driver assistance system includes a camera, the camera is deployed inside the windshield of the vehicle, a heating wire is deployed at a preset position on the windshield, the heating wire is within the field of view of the camera, and the camera testing method includes: In response to a camera test command, determine whether the driver assistance system is in an active state; In response to the assisted driving system being in the activated state, the vehicle is controlled to travel at a constant speed in a preset test scenario within a preset time period to test the occlusion of the camera within the preset time period and obtain test results. The preset test scenario is used to characterize the light source area that produces alternating light and dark changes, and the test results are used to determine whether the shadow generated by the heating wire in the preset test scenario occludes the camera.
2. The camera testing method according to claim 1, characterized in that, The vehicle speed during the preset time period is less than a preset speed threshold, and the preset time period is the period when the natural light intensity is lower than a preset intensity threshold.
3. The camera testing method according to claim 1, characterized in that, The light from the light source area illuminates the heating wire from the side of the vehicle, generating the shadow.
4. The camera testing method according to claim 1, characterized in that, The test results include: the number of times the camera was blocked; the camera testing method also includes: In response to the absence of the number of occlusions, it is determined that the shadow cast by the heating wire in the preset test scenario does not obstruct the camera. In response to the fact that the number of occlusions is not empty, it is determined that the shadow generated by the heating wire in the preset test scenario occludes the camera, and the number of occlusions is displayed through the vehicle interface.
5. The camera testing method according to claim 1, characterized in that, The camera testing method also includes: Multiple camera tests were conducted on the vehicle, resulting in multiple test results. During the multiple camera tests, the vehicle was equipped with heating wires of various specifications, with each camera test corresponding to a different specification of heating wire. Based on the multiple test results, a target heating wire is determined from the various specifications of heating wires, wherein the target heating wire is used to characterize a heating wire that meets the preset test requirements.
6. The camera testing method according to claim 4, characterized in that, The test results also include: multiple obstructed locations, and the camera testing method also includes: In response to the fact that the number of times the occlusion occurs is multiple, it is determined whether the multiple occlusion locations are the same location; In response to the fact that the multiple occlusion locations are the same location, the occlusion is determined to be a first occlusion type; In response to the fact that the multiple occlusion locations are not the same location, the occlusion is determined to be a second occlusion type.
7. The camera testing method according to claim 1, characterized in that, The camera testing method also includes: When testing the occlusion of the camera, in response to the shadow cast by the heating wire obstructing the camera, an occlusion warning and a function limitation warning of the driver assistance system are triggered through the vehicle interface.
8. A camera testing system, characterized in that, Applied to vehicles, the vehicles are equipped with an advanced driver assistance system, the advanced driver assistance system includes a camera, the camera is deployed inside the windshield of the vehicle, and a heating wire is deployed at a predetermined position on the windshield, the heating wire being within the field of view of the camera; the camera testing system includes: The determination module is used to determine whether the driver assistance system is active in response to a camera test command; The testing module is used to control the vehicle to travel at a constant speed in a preset test scenario within a preset time period in response to the assisted driving system being in the activated state, to test the occlusion of the camera within the preset time period, and to obtain test results. The preset test scenario is used to characterize the light source area that produces alternating light and dark changes, and the test results are used to determine whether the shadow generated by the heating wire in the preset test scenario occludes the camera.
9. A vehicle, characterized in that, include: Memory, which stores executable programs; A processor for running the executable program, wherein the executable program performs the camera testing method according to any one of claims 1 to 7 when it runs.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored executable program, wherein, when the executable program is executed, it controls the device on which the computer-readable storage medium is located to perform the camera testing method according to any one of claims 1 to 7.