Brightness adjusting method and device for boundary line of parking space, equipment and medium
By adjusting the output power of the lighting system, the retroreflective brightness coefficient of the parking space boundary line is simulated according to the mapping relationship under different weather conditions, which solves the problem of difficulty in conducting multiple parking function tests under different weather conditions, and improves the adaptability of the automatic parking system.
Patent Information
- Application Number
- CN202411742698.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-02-25
AI Technical Summary
The prior art is difficult to conduct multiple parking function tests under different weather conditions, which reduces the adaptability of the automatic parking system under different weather conditions.
Through the mapping relationship between the counterreflection brightness coefficient and brightness of the parking space boundary line under different weather conditions, the output power of the lighting system is adjusted to simulate the real situation of the boundary line under different weather conditions.
It has achieved multiple parking function tests using the same parking space boundary line under different weather simulation conditions, which has improved the adaptability of the automatic parking system under different weather conditions and avoided the problem of inefficient testing.
Smart Images

Figure CN119521496A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile testing technology, and in particular to a method, device, equipment and medium for adjusting the brightness of a parking space boundary line. Background Art
[0002] When the car's automatic parking function is turned on, the on-board camera is used to identify the white boundary line of the parking space, plan the parking trajectory, and output the execution parameters such as steering, vehicle gear, speed signal to the corresponding actuator to realize the vehicle's automatic parking function. At present, when testing the parking function, the parking boundary is simulated by spraying retro-reflective brightness coefficient materials on the test road surface or pasting white lane line tape, which provides pre-input conditions for whether the automatic parking system can complete the dynamic parking driving task and whether the overall size of the vehicle is within the parking space boundary line after parking is completed.
[0003] However, the above-mentioned method of simulating the parking boundary can only realize the recognition test of the parking space boundary line by the on-board camera under specific weather conditions, and cannot realize multiple repeated tests under different weather conditions, which reduces the adaptability of the automatic parking system under different weather conditions. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a method, device, equipment and medium for adjusting the brightness of a parking space boundary line. By mapping the retro-reflective brightness coefficient of the parking space boundary line and the brightness of the parking space boundary line under different weather conditions, the retro-reflective brightness coefficient of the boundary line can be adjusted by simply adjusting the output power of the lighting system. By changing the retro-reflective brightness coefficient of the boundary line, the actual situation of the boundary line under different weather conditions is simulated, so as to realize multiple parking function tests using the same parking space boundary line under different weather simulation conditions, thereby solving the problem of low test efficiency caused by the need to re-set up the test scene for testing different scenes, and improving the adaptability of the automatic parking system under different weather conditions.
[0005] In a first aspect, an embodiment of the present application provides a method for adjusting the brightness of a parking space boundary line, the brightness adjustment method comprising:
[0006] Sending a light source output instruction to the lighting system, so that the lighting system outputs a light source based on the light source output instruction and illuminates the boundary line of the parking space, and detecting a current brightness value of the boundary line;
[0007] Determine a preset retroreflective brightness coefficient of the boundary line under weather simulation conditions corresponding to the current parking test environment;
[0008] When it is determined that the current brightness value does not match the preset retroreflection brightness coefficient based on the parameter mapping relationship corresponding to the weather simulation condition, the output power of the lighting system is adjusted and the current brightness value of the boundary line is redetected until the current brightness value matches the preset retroreflection brightness coefficient, so that the current retroreflection brightness coefficient of the boundary line reaches the preset retroreflection brightness coefficient; wherein the parameter mapping relationship refers to the correspondence between the retroreflection brightness coefficient of the boundary line and the brightness value of the boundary line under the weather simulation condition.
[0009] Furthermore, before sending the light source output instruction to the lighting system, the brightness adjustment method further includes:
[0010] Obtaining the retroreflection brightness coefficient range and brightness range of the boundary line under the weather simulation conditions;
[0011] A mapping relationship is established between the retroreflection brightness coefficient range and the brightness range by using a linear interpolation method, so as to generate a parameter mapping relationship corresponding to the weather simulation condition.
[0012] Further, the following steps are used to determine whether the current brightness value is consistent with the preset retroreflection brightness coefficient:
[0013] Obtaining a preset brightness value corresponding to the preset retroreflection brightness coefficient from the parameter mapping relationship;
[0014] When the current brightness value is different from the preset brightness value, it is considered that the current brightness value does not match the preset retroreflection brightness coefficient.
[0015] Furthermore, the step of adjusting the output power of the lighting system and re-detecting the current brightness value of the boundary line until the current brightness value matches the preset retroreflection brightness coefficient includes:
[0016] When the current brightness value is less than the preset brightness value, the power of the light source output by the lighting system is increased, and the current brightness value of the boundary line is re-detected until the current brightness value is the same as the preset brightness value, and it is considered that the current brightness value is consistent with the preset retroreflection brightness coefficient;
[0017] When the current brightness value is greater than the preset brightness value, the power of the light source output by the lighting system is reduced, and the current brightness value of the boundary line is redetected until the current brightness value is the same as the preset brightness value. It is then considered that the current brightness value is consistent with the preset retroreflection brightness coefficient.
[0018] Furthermore, after the current brightness value matches the preset retroreflection brightness coefficient, the brightness adjustment method further includes:
[0019] Detecting current environment data of the current parking test environment;
[0020] The current environment data is input into a pre-built brightness impact detection model to determine the impact of the current environment data on brightness, and the output power of the lighting system is adjusted based on the impact.
[0021] In a second aspect, an embodiment of the present application further provides a brightness adjustment device for a parking space boundary line, the brightness adjustment device comprising:
[0022] a brightness detection module, used for sending a light source output instruction to the lighting system, so that the lighting system outputs a light source based on the light source output instruction and illuminates the boundary line of the parking space, and detects the current brightness value of the boundary line;
[0023] A preset coefficient determination module, used to determine a preset retroreflective brightness coefficient of the boundary line under weather simulation conditions corresponding to the current parking test environment;
[0024] The first adjustment module is used to adjust the output power of the lighting system and re-detect the current brightness value of the boundary line when it is determined that the current brightness value does not match the preset retroreflection brightness coefficient based on the parameter mapping relationship corresponding to the weather simulation condition, until the current brightness value matches the preset retroreflection brightness coefficient, so that the current retroreflection brightness coefficient of the boundary line reaches the preset retroreflection brightness coefficient; wherein the parameter mapping relationship refers to the corresponding relationship between the retroreflection brightness coefficient of the boundary line and the brightness value of the boundary line under the weather simulation condition.
[0025] Furthermore, the brightness adjustment device further includes a mapping relationship building module. Before sending the light source output instruction to the lighting system, the mapping relationship building module is used to:
[0026] Obtaining the retroreflection brightness coefficient range and brightness range of the boundary line under the weather simulation conditions;
[0027] A mapping relationship is established between the retroreflection brightness coefficient range and the brightness range by using a linear interpolation method, so as to generate a parameter mapping relationship corresponding to the weather simulation condition.
[0028] Furthermore, the first adjustment module is further used to determine whether the current brightness value is consistent with the preset retroreflection brightness coefficient through the following steps:
[0029] Obtaining a preset brightness value corresponding to the preset retroreflection brightness coefficient from the parameter mapping relationship;
[0030] When the current brightness value is different from the preset brightness value, it is considered that the current brightness value does not match the preset retroreflection brightness coefficient.
[0031] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the brightness adjustment method for the boundary line of a parking space are performed as described above.
[0032] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the above-mentioned method for adjusting the brightness of a parking space boundary line are executed.
[0033] The embodiments of the present application provide a method, device, equipment and medium for adjusting the brightness of a parking space boundary line. First, a light source output instruction is sent to a lighting system so that the lighting system outputs a light source based on the light source output instruction and illuminates the boundary line of the parking space, and detects the current brightness value of the boundary line; then, a preset retroreflection brightness coefficient of the boundary line under the weather simulation conditions corresponding to the current parking test environment is determined; finally, when it is determined based on a parameter mapping relationship corresponding to the weather simulation conditions that the current brightness value does not match the preset retroreflection brightness coefficient, the output power of the lighting system is adjusted, and the current brightness value of the boundary line is re-detected until the current brightness value matches the preset retroreflection brightness coefficient, so that the current retroreflection brightness coefficient of the boundary line reaches the preset retroreflection brightness coefficient; wherein the parameter mapping relationship refers to the corresponding relationship between the retroreflection brightness coefficient of the boundary line and the brightness value of the boundary line under the weather simulation conditions.
[0034] This application uses the mapping relationship between the retroreflective brightness coefficient of the parking space boundary line and the brightness of the parking space boundary line under different weather conditions, and only adjusts the output power of the lighting system to adjust the retroreflective brightness coefficient of the boundary line. By changing the retroreflective brightness coefficient of the boundary line, the actual situation of the boundary line under different weather conditions is simulated, so as to achieve multiple parking function tests using the same parking space boundary line under different weather simulation conditions, avoiding the situation where the test scene cannot be carried out due to the uncertainty of weather conditions, and also solving the problem of low test efficiency caused by the need to re-build the test scene for different testing scenarios. At the same time, by carrying out parking tests in different test scenarios, the adaptability of the automatic parking system under different weather conditions is also improved.
[0035] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 A flowchart of a method for adjusting the brightness of a parking space boundary line provided in an embodiment of the present application;
[0038] Figure 2 One of the structural schematic diagrams of a parking space boundary line brightness adjustment device provided in an embodiment of the present application;
[0039] Figure 3 A second structural schematic diagram of a brightness adjustment device for a parking space boundary line provided in an embodiment of the present application;
[0040] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0042] First, the application scenarios to which the present application is applicable are introduced. The present application can be applied in the field of automobile testing technology.
[0043] When the car's automatic parking function is turned on, the on-board camera is used to identify the white boundary line of the parking space, plan the parking trajectory, and output the execution parameters such as steering, vehicle gear, speed signal to the corresponding actuator to realize the vehicle's automatic parking function. At present, when testing the parking function, the parking boundary is simulated by spraying retro-reflective brightness coefficient materials on the test road surface or pasting white lane line tape, which provides pre-input conditions for whether the automatic parking system can complete the dynamic parking driving task and whether the overall size of the vehicle is within the parking space boundary line after parking is completed.
[0044] Research has found that the above-mentioned method of simulating parking boundaries can only realize the recognition test of parking space boundary lines by the on-board camera under specific weather conditions, and cannot realize multiple repeated tests in different weather conditions, which reduces the adaptability of the automatic parking system under different weather conditions.
[0045] Based on this, the embodiments of the present application provide a method, device, equipment and medium for adjusting the brightness of a parking space boundary line, which realizes multiple parking function tests using the parking space boundary line under different weather simulation conditions, solves the problem of low testing efficiency caused by the need to re-set up the test scene for testing different scenarios, and also improves the adaptability of the automatic parking system under different weather conditions.
[0046] See also Figure 1 , Figure 1 This is a flow chart of a method for adjusting the brightness of a parking space boundary line provided in an embodiment of the present application. Figure 1 As shown in , the brightness adjustment method provided in the embodiment of the present application includes:
[0047] S101, sending a light source output instruction to a lighting system, so that the lighting system outputs a light source based on the light source output instruction and illuminates the boundary line of a parking space, and detects a current brightness value of the boundary line.
[0048] Here, the parking space refers to the parking space currently used for testing the automatic parking function of the vehicle. The boundary line is used to clarify the boundary of the parking space. The on-board camera recognizes the boundary line of the parking space for automatic parking. The lighting system is installed around the parking space. When the lighting system outputs light, it will illuminate the overall boundary line of the parking space and adjust the brightness of the boundary line.
[0049] Regarding the above step S101, in the specific implementation, when the automatic parking function test starts, a light source output instruction is sent to the lighting system, so that the lighting system outputs the light source based on the light source output instruction and illuminates the boundary line of the parking space, and detects the current brightness value of the boundary line of the parking space.
[0050] S102, determining a preset retroreflective brightness coefficient of the boundary line under weather simulation conditions corresponding to the current parking test environment.
[0051] Here, as an example, the weather simulation condition can be a sunny day or rain at night, which can be set according to the user's test requirements. This application does not make specific restrictions on this. When the weather simulation condition is a sunny day, the boundary line needs to simulate the brightness state under a sunny day. When the weather simulation condition can also be rain at night, the boundary line needs to simulate the brightness state during rain at night. The retroreflective brightness coefficient is usually expressed in units of candela per square meter per lux (cd / m 2 / lx), which represents the ratio of the light intensity reflected by the surface of the retroreflective material to the incident light intensity under specific lighting conditions. The higher the coefficient, the stronger the reflective ability of the material under light irradiation and the better the visibility.
[0052] Regarding the above step S102, in a specific implementation, in order to test the automatic parking function of the vehicle under different weather conditions, the weather simulation conditions may be set, and the preset retroreflective brightness coefficient of the boundary line under the weather simulation conditions may be determined.
[0053] S103, when it is determined based on the parameter mapping relationship corresponding to the weather simulation condition that the current brightness value does not match the preset retroreflection brightness coefficient, the output power of the lighting system is adjusted, and the current brightness value of the boundary line is re-detected until the current brightness value matches the preset retroreflection brightness coefficient, so that the current retroreflection brightness coefficient of the boundary line reaches the preset retroreflection brightness coefficient.
[0054] Here, the parameter mapping relationship refers to the corresponding relationship between the retroreflection brightness coefficient of the boundary line and the brightness value of the boundary line under weather simulation conditions.
[0055] Regarding the above step S103, in the specific implementation, it is determined whether the current brightness value of the boundary line is consistent with the preset retroreflection brightness coefficient based on the parameter mapping relationship corresponding to the pre-constructed weather simulation conditions. If not, the output power of the lighting system is adjusted, and the current brightness value of the boundary line is re-detected until the current brightness value of the boundary line is consistent with the preset retroreflection brightness coefficient, so that the current retroreflection brightness coefficient of the boundary line reaches the preset retroreflection brightness coefficient. At this time, the boundary line can simulate the actual situation of the boundary line under the weather simulation conditions. When the parking function test is performed using the boundary line that reaches the preset retroreflection brightness coefficient, it can be equivalent to a parking test under the real test weather, and the test of the parking scene is carried out under the corresponding weather simulation conditions.
[0056] In addition, for different light under test weather conditions, the output power of the lighting system can be adjusted to simulate the actual situation of the boundary line under different light conditions. For different test weather conditions, the output power of the lighting system can be adjusted to simulate the actual situation of the boundary line under different weather conditions. In this way, by establishing a mapping relationship between the retro-reflection brightness coefficient of the parking space boundary line and the brightness of the parking space boundary line under different weather conditions, the retro-reflection brightness coefficient of the boundary line can be adjusted by simply adjusting the output power of the lighting system. By changing the retro-reflection brightness coefficient of the boundary line, the actual situation of the boundary line under different weather conditions can be simulated, so as to realize multiple parking function tests using the same parking space boundary line under different weather simulation conditions, avoiding the situation where the test scene cannot be carried out due to the uncertainty of weather conditions, and solving the problem of low test efficiency caused by the need to re-build the test scene for different test scenes. At the same time, by carrying out parking tests in different test scenes, the adaptability of the automatic parking system under different weather conditions is also improved.
[0057] According to the embodiment provided by the present application, before sending the light source output instruction to the lighting system, the brightness adjustment method further includes:
[0058] A: Obtain the retroreflective brightness coefficient range and brightness range of the boundary line under the weather simulation conditions.
[0059] For the above step A, in the specific implementation, the range of the retroreflective brightness coefficient and the brightness range of the boundary line under the weather simulation conditions are obtained. Here, as an example, when the weather simulation condition is a sunny and dry road surface, the range of the retroreflective brightness coefficient of the boundary line under the weather simulation condition can be [150-250], and when the weather simulation condition is a wet road surface at night, the range of the retroreflective brightness coefficient of the boundary line under the weather simulation condition can be [175-350]. This application does not make specific limitations on this. The brightness range of the boundary line is also [0-100%].
[0060] B: A mapping relationship is established between the retroreflection brightness coefficient range and the brightness range by using a linear interpolation method to generate a parameter mapping relationship corresponding to the weather simulation condition.
[0061] For the above step B, in the specific implementation, a mapping relationship is established between the retroreflection brightness coefficient range and the brightness range by using a linear interpolation method to generate a parameter mapping relationship corresponding to the weather simulation condition. Assuming that when the retroreflection brightness coefficient is 160, the mapping relationship is set in such a way that the retroreflection brightness coefficient 150 corresponds to a brightness value of 0, and the retroreflection brightness coefficient 250 corresponds to a brightness value of 1. By using a linear interpolation method, it can be calculated that when the retroreflection brightness coefficient is 160, the brightness value corresponding to 10% can be calculated. In this way, the parameter mapping relationship corresponding to the weather simulation condition can be generated by a linear interpolation method.
[0062] Specifically, with respect to the above step S103, the following steps are performed to determine whether the current brightness value is consistent with the preset retroreflection brightness coefficient:
[0063] Step 1031: Obtain a preset brightness value corresponding to the preset retroreflection brightness coefficient from the parameter mapping relationship.
[0064] Step 1032: When the current brightness value is different from the preset brightness value, it is considered that the current brightness value is inconsistent with the preset retroreflection brightness coefficient.
[0065] For the above steps 1031-1032, in the specific implementation, the preset brightness value corresponding to the preset retroreflection brightness coefficient is obtained from the parameter mapping relationship corresponding to the weather simulation condition. It is determined whether the preset brightness value is the same as the current brightness value of the boundary line. When the current brightness value of the boundary line is the same as the preset brightness value, there is no need to adjust the brightness of the boundary line, and the current state of the boundary line meets the weather simulation conditions of the current parking test environment. When the current brightness value of the boundary line is different from the preset brightness value, it is considered that the current brightness value does not match the preset retroreflection brightness coefficient.
[0066] Specifically, with respect to the above step S103, the step of adjusting the output power of the lighting system and re-detecting the current brightness value of the boundary line until the current brightness value matches the preset retroreflection brightness coefficient includes:
[0067] I: When the current brightness value is less than the preset brightness value, the power of the light source output by the lighting system is increased, and the current brightness value of the boundary line is re-detected until the current brightness value is the same as the preset brightness value. It is then considered that the current brightness value is consistent with the preset retroreflection brightness coefficient.
[0068] II: When the current brightness value is greater than the preset brightness value, the power of the light source output by the lighting system is reduced, and the current brightness value of the boundary line is re-detected until the current brightness value is the same as the preset brightness value. It is then considered that the current brightness value is consistent with the preset retroreflection brightness coefficient.
[0069] For the above steps I to II, in the specific implementation, when the current brightness value of the boundary line is less than the preset brightness value, the power of the light source output by the lighting system is increased, and the brightness value of the boundary line is increased, and the current brightness value of the boundary line is re-detected until the current brightness value of the boundary line is the same as the preset brightness value, and the current brightness value is considered to be consistent with the preset retro-reflection brightness coefficient. When the current brightness value of the boundary line is greater than the preset brightness value, the power of the light source output by the lighting system is reduced, and the brightness value of the boundary line is reduced, and the current brightness value of the boundary line is re-detected until the current brightness value of the boundary line is the same as the preset brightness value, and the current brightness value is considered to be consistent with the preset retro-reflection brightness coefficient.
[0070] As an optional embodiment, after the current brightness value matches the preset retroreflection brightness coefficient, the brightness adjustment method provided by the present application further includes:
[0071] Detect current environmental data of the current parking test environment; input the current environmental data into a pre-built brightness impact detection model to determine the impact of the current environmental data on brightness, and adjust the output power of the lighting system based on the impact.
[0072] Here, the environmental data may include the humidity value and ambient light intensity of the current parking test environment, which is not specifically limited in this application. The brightness impact detection model is a model constructed based on historical environmental data and historical boundary brightness data, and is used to predict the impact of environmental changes on the brightness of parking space boundaries.
[0073] For the above two steps, in the specific implementation, the current environmental data of the current parking test environment is detected in real time, and the current environmental data is input into the pre-built brightness impact detection model to predict the impact of the current test environment on the boundary line. And adjust the output power of the lighting system according to the impact to compensate for the impact of the external environment on the brightness of the boundary line. Here, as an example, assuming that the test is conducted on a night with high humidity and the ambient light is dark, this may cause the actual brightness value of the boundary line to be lower than expected. At this time, the output power of the lighting system needs to be adaptively increased to compensate for the decrease in brightness due to changes in humidity and ambient light.
[0074] The brightness adjustment method for the boundary line of a parking space provided in an embodiment of the present application first sends a light source output instruction to a lighting system so that the lighting system outputs a light source based on the light source output instruction and illuminates the boundary line of the parking space, and detects the current brightness value of the boundary line; then, determines a preset retroreflection brightness coefficient of the boundary line under the weather simulation conditions corresponding to the current parking test environment; finally, when it is determined based on a parameter mapping relationship corresponding to the weather simulation conditions that the current brightness value does not match the preset retroreflection brightness coefficient, the output power of the lighting system is adjusted, and the current brightness value of the boundary line is re-detected until the current brightness value matches the preset retroreflection brightness coefficient, so that the current retroreflection brightness coefficient of the boundary line reaches the preset retroreflection brightness coefficient; wherein the parameter mapping relationship refers to the corresponding relationship between the retroreflection brightness coefficient of the boundary line and the brightness value of the boundary line under the weather simulation conditions.
[0075] This application uses the mapping relationship between the retroreflective brightness coefficient of the parking space boundary line and the brightness of the parking space boundary line under different weather conditions, and only adjusts the output power of the lighting system to adjust the retroreflective brightness coefficient of the boundary line. By changing the retroreflective brightness coefficient of the boundary line, the actual situation of the boundary line under different weather conditions is simulated, so as to achieve multiple parking function tests using the same parking space boundary line under different weather simulation conditions, avoiding the situation where the test scene cannot be carried out due to the uncertainty of weather conditions, and also solving the problem of low test efficiency caused by the need to re-build the test scene for different testing scenarios. At the same time, by carrying out parking tests in different test scenarios, the adaptability of the automatic parking system under different weather conditions is also improved.
[0076] See also Figure 2 , Figure 3 , Figure 2 This is one of the structural schematic diagrams of a brightness adjustment device for a parking space boundary line provided in an embodiment of the present application. Figure 3 This is a second structural diagram of a brightness adjustment device for parking space boundary lines provided in an embodiment of the present application. Figure 2 As shown in , the brightness adjustment device 200 includes:
[0077] The brightness detection module 201 is used to send a light source output instruction to the lighting system, so that the lighting system outputs a light source based on the light source output instruction and illuminates the boundary line of the parking space, and detects the current brightness value of the boundary line;
[0078] A preset coefficient determination module 202, for determining a preset retroreflective brightness coefficient of the boundary line under the weather simulation conditions corresponding to the current parking test environment;
[0079] The first adjustment module 203 is used to adjust the output power of the lighting system and re-detect the current brightness value of the boundary line when it is determined that the current brightness value does not match the preset retroreflection brightness coefficient based on the parameter mapping relationship corresponding to the weather simulation condition, until the current brightness value matches the preset retroreflection brightness coefficient, so that the current retroreflection brightness coefficient of the boundary line reaches the preset retroreflection brightness coefficient; wherein the parameter mapping relationship refers to the correspondence between the retroreflection brightness coefficient of the boundary line and the brightness value of the boundary line under the weather simulation condition.
[0080] See also Figure 3 The brightness adjustment device 200 further includes a mapping relationship building module 204. Before sending the light source output instruction to the lighting system, the mapping relationship building module 204 is used to:
[0081] Obtaining the retroreflection brightness coefficient range and brightness range of the boundary line under the weather simulation conditions;
[0082] A mapping relationship is established between the retroreflection brightness coefficient range and the brightness range by using a linear interpolation method to generate a parameter mapping relationship corresponding to the weather simulation condition.
[0083] Furthermore, the first adjustment module 203 is further configured to determine whether the current brightness value is consistent with the preset retroreflection brightness coefficient through the following steps:
[0084] Obtaining a preset brightness value corresponding to the preset retroreflection brightness coefficient from the parameter mapping relationship;
[0085] When the current brightness value is different from the preset brightness value, it is considered that the current brightness value does not match the preset retroreflection brightness coefficient.
[0086] Furthermore, the first adjustment module 203 is used to adjust the output power of the lighting system and re-detect the current brightness value of the boundary line until the current brightness value matches the preset retroreflection brightness coefficient. The first adjustment module 203 is also used to:
[0087] When the current brightness value is less than the preset brightness value, the power of the light source output by the lighting system is increased, and the current brightness value of the boundary line is re-detected until the current brightness value is the same as the preset brightness value, and it is considered that the current brightness value is consistent with the preset retroreflection brightness coefficient;
[0088] When the current brightness value is greater than the preset brightness value, the power of the light source output by the lighting system is reduced, and the current brightness value of the boundary line is redetected until the current brightness value is the same as the preset brightness value. It is then considered that the current brightness value is consistent with the preset retroreflection brightness coefficient.
[0089] See also Figure 3 The brightness adjustment device 200 further includes a second adjustment module 205. After the current brightness value matches the preset retroreflection brightness coefficient, the second adjustment module 205 is used to:
[0090] Detecting current environment data of the current parking test environment;
[0091] The current environment data is input into a pre-built brightness impact detection model to determine the impact of the current environment data on brightness, and the output power of the lighting system is adjusted based on the impact.
[0092] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 4 As shown in , the electronic device 400 includes a processor 410 , a memory 420 and a bus 430 .
[0093] The memory 420 stores machine-readable instructions executable by the processor 410. When the electronic device 400 is running, the processor 410 communicates with the memory 420 via the bus 430. When the machine-readable instructions are executed by the processor 410, the above-mentioned Figure 1 The steps of the method for adjusting the brightness of the parking space boundary line in the method embodiment shown in the figure, and the specific implementation method can be referred to the method embodiment, which will not be repeated here.
[0094] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 The steps of the method for adjusting the brightness of the parking space boundary line in the method embodiment shown in the figure, and the specific implementation method can be referred to the method embodiment, which will not be repeated here.
[0095] Those skilled in the art can 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.
[0096] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0097] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0098] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0099] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0100] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for adjusting the brightness of a parking space boundary line, characterized in that: The brightness adjustment method comprises: Sending a light source output instruction to the lighting system, so that the lighting system outputs a light source based on the light source output instruction and illuminates the boundary line of the parking space, and detecting a current brightness value of the boundary line; Determine a preset retroreflective brightness coefficient of the boundary line under weather simulation conditions corresponding to the current parking test environment; When it is determined that the current brightness value does not match the preset retroreflection brightness coefficient based on the parameter mapping relationship corresponding to the weather simulation condition, the output power of the lighting system is adjusted and the current brightness value of the boundary line is redetected until the current brightness value matches the preset retroreflection brightness coefficient, so that the current retroreflection brightness coefficient of the boundary line reaches the preset retroreflection brightness coefficient; wherein the parameter mapping relationship refers to the correspondence between the retroreflection brightness coefficient of the boundary line and the brightness value of the boundary line under the weather simulation condition.
2. The brightness adjustment method according to claim 1, characterized in that: Before sending the light source output instruction to the lighting system, the brightness adjustment method further includes: Obtaining the range of the retroreflection brightness coefficient and the brightness range of the boundary line under the weather simulation conditions; A mapping relationship is established between the retroreflection brightness coefficient range and the brightness range by using a linear interpolation method, so as to generate a parameter mapping relationship corresponding to the weather simulation condition.
3. The brightness adjustment method according to claim 1, characterized in that: The following steps are used to determine whether the current brightness value is consistent with the preset retroreflection brightness coefficient: Obtaining a preset brightness value corresponding to the preset retroreflection brightness coefficient from the parameter mapping relationship; When the current brightness value is different from the preset brightness value, it is considered that the current brightness value does not match the preset retroreflection brightness coefficient.
4. The brightness adjustment method according to claim 3, characterized in that: The step of adjusting the output power of the lighting system and re-detecting the current brightness value of the boundary line until the current brightness value matches the preset retro-reflective brightness coefficient includes: When the current brightness value is less than the preset brightness value, the power of the light source output by the lighting system is increased, and the current brightness value of the boundary line is re-detected until the current brightness value is the same as the preset brightness value, and it is considered that the current brightness value is consistent with the preset retroreflection brightness coefficient; When the current brightness value is greater than the preset brightness value, the power of the light source output by the lighting system is reduced, and the current brightness value of the boundary line is redetected until the current brightness value is the same as the preset brightness value. It is then considered that the current brightness value is consistent with the preset retroreflection brightness coefficient.
5. The brightness adjustment method according to claim 1, characterized in that: After the current brightness value matches the preset retroreflection brightness coefficient, the brightness adjustment method further includes: Detecting current environment data of the current parking test environment; The current environment data is input into a pre-built brightness impact detection model to determine the impact of the current environment data on brightness, and the output power of the lighting system is adjusted based on the impact.
6. A parking space boundary line brightness adjustment device, characterized in that: The brightness adjustment device comprises: a brightness detection module, used for sending a light source output instruction to the lighting system, so that the lighting system outputs a light source based on the light source output instruction and illuminates the boundary line of the parking space, and detects the current brightness value of the boundary line; A preset coefficient determination module, used to determine a preset retroreflective brightness coefficient of the boundary line under weather simulation conditions corresponding to the current parking test environment; The first adjustment module is used to adjust the output power of the lighting system and re-detect the current brightness value of the boundary line when it is determined that the current brightness value does not match the preset retroreflection brightness coefficient based on the parameter mapping relationship corresponding to the weather simulation condition, until the current brightness value matches the preset retroreflection brightness coefficient, so that the current retroreflection brightness coefficient of the boundary line reaches the preset retroreflection brightness coefficient; wherein the parameter mapping relationship refers to the corresponding relationship between the retroreflection brightness coefficient of the boundary line and the brightness value of the boundary line under the weather simulation condition.
7. The brightness adjustment device according to claim 6, characterized in that: The brightness adjustment device further comprises a mapping relationship building module, which is used to: Obtaining the range of the retroreflection brightness coefficient and the brightness range of the boundary line under the weather simulation conditions; A mapping relationship is established between the retroreflection brightness coefficient range and the brightness range by using a linear interpolation method, so as to generate a parameter mapping relationship corresponding to the weather simulation condition.
8. The brightness adjustment device according to claim 6, characterized in that: The first adjustment module is further used to determine whether the current brightness value is consistent with the preset retroreflection brightness coefficient through the following steps: Obtaining a preset brightness value corresponding to the preset retroreflection brightness coefficient from the parameter mapping relationship; When the current brightness value is different from the preset brightness value, it is considered that the current brightness value does not match the preset retroreflection brightness coefficient.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the brightness adjustment method for the parking space boundary line as described in any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for adjusting the brightness of a parking space boundary line according to any one of claims 1 to 5 are executed.