Defrosting method and device for vehicle window, computer device and readable storage medium
By using a camera to identify frosted areas and a laser to precisely control the laser focus and energy value, the problem of low efficiency in defrosting or icing vehicle windows is solved, achieving a fast and efficient defrosting effect and improving driver comfort and safety.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2026-04-07
AI Technical Summary
In existing technologies, when vehicles are parked in winter, frost or ice forms on the windows, requiring a long time to be heated by residual heat from the water tank. This results in low defrosting or defogging efficiency, affecting driver comfort and safety.
By acquiring images of the car windows through a camera and identifying frost areas, the system uses a laser to precisely control the laser focus and energy value for defrosting. Combined with radar to determine the location of the icing point, the system intelligently adjusts the laser power to achieve automated defrosting.
It achieves a fast and efficient defrosting effect, eliminating the need to wait for the water tank to heat up, thus improving driver comfort and safety and preventing damage to the vehicle.
Smart Images

Figure CN118700972B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicles, in particular to a vehicle window defrosting method and device, computer equipment and a readable storage medium. BACKGROUND
[0002] In winter, when a car is parked outdoors, the outer surface of the car will have snow or ice due to temperature and weather changes, and sometimes the inside of the car will also have fog due to the temperature difference between the inside and outside of the car.
[0003] At present, most vehicles need to start the engine to heat the water tank, and then use the residual heat of the water tank to blow hot air through the air outlet in the car to remove the frost and fog on the glass.
[0004] However, the heating time of the water tank is long, and the driver needs to wait for a long time before the air outlet blows hot air to defrost or remove the fog. SUMMARY
[0005] Therefore, it is necessary to provide a vehicle window defrosting method, device, computer equipment and readable storage medium capable of effectively defrosting the vehicle.
[0006] In a first aspect, the present application provides a vehicle window defrosting method, comprising:
[0007] obtaining a vehicle window image of a vehicle window;
[0008] when it is identified that the vehicle window image contains a frost area, determining the frost thickness of the frost area and the position information of the frost area;
[0009] determining a target focus point of a laser device according to the position information of the frost area;
[0010] determining a target energy value of the laser device according to the current environmental temperature and the frost thickness of the frost area;
[0011] controlling the laser device to perform defrosting treatment on the frost area according to the target focus point and the target energy value.
[0012] In one embodiment, the laser device includes a laser generating assembly and a focusing adjusting lens group; and controlling the laser device to perform defrosting treatment on the frost area according to the target focus point and the target energy value includes:
[0013] determining a target position of the focusing adjusting lens group between the laser generating assembly and the vehicle window according to the target focus point; wherein when the focusing adjusting lens group is at the target position, the laser beam emitted by the laser generating assembly falls on the target focus point after being adjusted by the focusing adjusting lens group;
[0014] In a case where the focus adjustment mirror group is placed at the target position, the laser beam is emitted by the laser generating assembly at the target energy value to perform defrosting treatment on the frost area.
[0015] In one of the embodiments, the focus adjustment mirror group comprises a convex lens for adjusting the z-axis position of the laser beam, a first reflective lens for adjusting the x-axis position of the laser beam, and a second reflective lens for adjusting the y-axis position of the laser beam.
[0016] In one of the embodiments, the target position of the focus adjustment mirror group between the laser generating assembly and the vehicle window is determined according to the target focal points, comprising:
[0017] The position of the focus adjustment mirror group between the laser generating assembly and the vehicle window is adjusted according to the target focal points, and in the adjusting process, it is identified whether the laser beam is located in the frost area.
[0018] If yes, the position of the focus adjustment mirror group is determined as the target position.
[0019] In one of the embodiments, if the number of target focal points is more than one, the laser is controlled to perform defrosting treatment on the frost area according to the target focal points and the target energy values, comprising:
[0020] The laser is controlled to perform defrosting treatment on the frost area according to the defrosting priority of each target focal point and the target energy value corresponding to each target focal point.
[0021] In one of the embodiments, the method further comprises:
[0022] For each target focal point, it is judged whether the target focal point falls within a set field of view;
[0023] If yes, the defrosting priority of the target focal point is determined as a first priority;
[0024] If no, the defrosting priority of the target focal point is determined as a second priority;
[0025] The first priority is higher than the second priority.
[0026] In a second aspect, the application further provides a vehicle defrosting device, comprising:
[0027] An acquisition module is configured to acquire a vehicle window image of a vehicle window.
[0028] An identification module is configured to determine the frost thickness of a frost area and the position information of the frost area when it is identified that the frost area is included in the vehicle window image.
[0029] A focal point determination module is configured to determine target focal points of a laser according to the position information of the frost area.
[0030] an energy adjustment module, configured to determine a target energy value of the laser according to a current ambient temperature and a frost thickness of the frost area;
[0031] a defrosting processing module, configured to control the laser to perform defrosting processing on the frost area according to the target focal point and the target energy value.
[0032] In a third aspect, the present application provides a computer device, comprising a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0033] obtaining a vehicle window image of a vehicle window;
[0034] when it is identified that the vehicle window image contains a frost area, determining a frost thickness of the frost area and position information of the frost area;
[0035] determining a target focal point of the laser according to the position information of the frost area;
[0036] determining a target energy value of the laser according to a current ambient temperature and the frost thickness of the frost area;
[0037] controlling the laser to perform defrosting processing on the frost area according to the target focal point and the target energy value.
[0038] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program, and the computer program implements the following steps when executed by a processor:
[0039] obtaining a vehicle window image of a vehicle window;
[0040] when it is identified that the vehicle window image contains a frost area, determining a frost thickness of the frost area and position information of the frost area;
[0041] determining a target focal point of the laser according to the position information of the frost area;
[0042] determining a target energy value of the laser according to a current ambient temperature and the frost thickness of the frost area;
[0043] controlling the laser to perform defrosting processing on the frost area according to the target focal point and the target energy value.
[0044] In a fifth aspect, the present application provides a computer program product, comprising a computer program, and the computer program implements the following steps when executed by a processor:
[0045] obtaining a vehicle window image of a vehicle window;
[0046] when it is identified that the vehicle window image contains a frost area, determining a frost thickness of the frost area and position information of the frost area;
[0047] determine a target focus point of the laser according to the position information of the frosting area;
[0048] determine a target energy value of the laser according to the current ambient temperature and the frosting thickness of the frosting area;
[0049] control the laser to perform defrosting treatment on the frosting area according to the target focus point and the target energy value.
[0050] The vehicle defrosting method, device, computer equipment and readable storage medium described above capture images of the glass surface through the camera, and identify the patterns of frost or ice through image processing technology. The radar emits microwaves or other types of waves, which are reflected back when encountering ice points. By measuring the time and direction of the reflected waves, the precise positions of the ice points, including their three-dimensional coordinates, can be determined. The position of the laser focus point is changed by adjusting the parameters of the laser, such as the lens position, beam angle, etc. Ensure that the laser focus point can accurately fall on the ice and frost layer, which is the key to effective removal. According to the information provided by the camera, radar and temperature sensing device, the power of the laser is intelligently regulated. This can ensure that the laser removes ice and frost without damaging the glass or other parts. The entire process does not require human intervention. After starting the vehicle, the driver does not need to wait for the water tank temperature to rise to a certain standard to perform defogging. Frost removal will be automatically performed according to the actual situation, which not only improves the efficiency of frost removal, but also increases the comfort and safety of the driver. By monitoring and adjusting the laser parameters in real time, frost and ice on the glass can be effectively removed in the shortest time, while avoiding any damage to the vehicle. BRIEF DESCRIPTION OF DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application or the related art. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other related drawings without creative labor based on these drawings.
[0052] Figure 1 A flowchart of the vehicle defrosting method in one embodiment;
[0053] Figure 2 A schematic diagram of the device for adjusting the focus of the lens group in one embodiment;
[0054] Figure 3 A flowchart of the step of determining the target position of the focus-adjusting lens group between the laser generating assembly and the vehicle window in one embodiment;
[0055] Figure 4 A structural block diagram of the vehicle defrosting device in one embodiment;
[0056] Figure 5 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0057] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0058] In one exemplary embodiment, such as Figure 1 As shown, a vehicle defrosting method is provided. Taking the application of this method to computer equipment as an example, the specific steps include:
[0059] Step 101: Obtain the image of the car window.
[0060] Specifically, it uses cameras or sensors to capture real-time images of the car windows.
[0061] Step 102: When a frost-covered area is detected in the window image, determine the frost thickness and location information of the frost-covered area.
[0062] Specifically, image processing techniques, such as edge detection and color analysis, are used to identify frosted areas in an image and estimate the thickness of the frosting.
[0063] Step 103: Determine the target focal point of the laser based on the location information of the frosted area.
[0064] Specifically, in step 102, the frosted areas in the car window image have been identified using image processing technology, and the location information of these areas has been determined. This information may include the boundary coordinates and size of the frosted areas. Based on the location information of the frosted areas, the target focal point of the laser needs to be calculated. This focal point should be the center of the frosted area or a key location so that the laser can evenly illuminate the entire frosted area.
[0065] When determining the target focal point, the characteristics and parameters of the laser, such as the laser beam diameter and divergence angle, must also be considered. These parameters will affect the range and accuracy of the laser's illumination, and therefore need to be adjusted according to the actual situation. After determining the target focal point, calibration and positioning operations may be required to ensure that the laser can accurately illuminate the target location. This may require the use of auxiliary equipment, such as laser rangefinders and reflectors. Finally, based on the calculated target focal point, the laser's direction is set so that it can accurately illuminate the frosted area. This step may require adjusting the laser's angle and position.
[0066] Step 104: Determine the target energy value of the laser based on the current environmental temperature and the frost thickness of the frost area.
[0067] Specifically, the current environmental temperature is obtained in real time because temperature affects the hardness and thickness of frost, thereby affecting the energy required for laser defrosting. In step 102, the frost thickness of the frost area has been determined. This information is crucial for determining the target energy value of the laser, as different thicknesses of frost require different energy to remove.
[0068] When determining the target energy value, the energy range of the laser also needs to be considered. The energy output of the laser should be within its safe operating range to avoid damage to the vehicle window or other parts.
[0069] Based on the current environmental temperature, frost thickness, and characteristics of the laser, a target energy value needs to be calculated. This value should ensure that the laser effectively removes frost without causing overheating or damage to the surrounding area. Finally, based on the calculated target energy value, the parameters of the laser, such as power and pulse width, need to be adjusted to ensure that its output energy matches the target energy value.
[0070] Step 105: Control the laser to perform defrosting treatment on the frost area based on the target focal point and target energy value.
[0071] Specifically, before performing the defrosting treatment, it is necessary to ensure that the laser is in normal working condition. This includes checking the various parameter settings of the laser, such as wavelength, power, pulse frequency, etc., to ensure they match the target energy value. Using the positioning or mechanical arm of the laser, the laser beam is precisely aimed at the target focal point calculated earlier. This is a key step to ensure that the laser energy can be concentrated on the frost area.
[0072] Based on the target energy value, set the pulse energy, pulse width, and other parameters of the laser. These parameters will directly affect the effectiveness of the laser in removing frost. It is necessary to ensure that the energy of the laser pulse is high enough to effectively melt or vaporize the frost, but not too high to avoid damaging the vehicle window glass. Once all the parameters are set and the laser is aimed at the target focal point, the defrosting operation can begin. The laser will emit high-energy laser pulses that act on the frost area. The energy of the laser will be absorbed by the frost, causing it to melt or vaporize, thereby achieving the defrosting effect. During the defrosting process, the running state of the laser and the defrosting effect need to be monitored in real time. If the defrosting effect is poor or the laser appears abnormal, the parameters should be adjusted or the operation should be stopped in time to ensure the safety and effectiveness of the defrosting process. When the frost area is completely cleared, the defrosting operation is completed. At this time, the laser can be turned off, and necessary follow-up processing such as cleaning the melted water stains can be performed.
[0073] In the above vehicle defrosting method, the camera captures images of the glass surface and identifies the pattern of frost or ice through image processing techniques. The radar emits microwaves or other types of waves that reflect back when they encounter ice points. By measuring the time and direction of the reflected waves, the precise location of the ice points, including their three-dimensional coordinates, can be determined. The position of the laser focal point is changed by adjusting the parameters of the laser, such as the lens position, beam angle, etc. Ensuring that the laser focal point can accurately fall on the frost layer is the key to achieving effective removal. According to the information provided by the camera, radar, and temperature sensing device, the power of the laser is intelligently adjusted. This can ensure that the laser removes frost and ice without causing damage to the glass or other parts. The entire process does not require human intervention. After starting the vehicle, the driver does not need to wait for the water tank temperature to rise to a certain standard before defrosting. Frost removal is automatically performed according to actual conditions, which not only improves the efficiency of frost removal but also increases the comfort and safety of the driver. By monitoring and adjusting the laser parameters in real time, frost and ice on the glass can be effectively removed in the shortest time, while avoiding any damage to the vehicle.
[0074] In one exemplary embodiment, the laser includes a laser generating component and a focusing adjustment mirror group; according to the target focal point and the target energy value, the laser controls the defrosting treatment of the frosting area, including:
[0075] According to the target focal point, the target position of the focusing adjustment mirror group between the laser generating component and the vehicle window is determined.
[0076] Wherein, when the focusing adjustment mirror group is in the target position, the laser beam emitted by the laser generating component falls on the target focal point after being adjusted by the focusing adjustment mirror group.
[0077] Specifically, according to the previously calculated target focal point (which is the center point of the frosting area that needs to be irradiated by the laser), the target position of the focusing adjustment mirror group between the laser generating component and the vehicle window needs to be determined.
[0078] When the focusing adjustment mirror group is in this target position, the laser beam emitted by the laser generating component will be accurately adjusted by the focusing adjustment mirror group and finally accurately fall on the target focal point. In this way, the energy of the laser can be maximally concentrated in the frosting area, improving the defrosting efficiency. In the case where the focusing adjustment mirror group is placed in the target position, the laser generating component is controlled to emit a laser beam with a target energy value for defrosting treatment of the frosting area. Once the focusing adjustment mirror group is accurately placed in the target position, the laser generating component is controlled to emit a laser beam with a previously determined target energy value. This target energy value is carefully calculated to ensure that the laser beam has enough energy to melt or vaporize the frost while not causing damage to the vehicle window glass or other surrounding materials.
[0079] Specifically, as Figure 2As shown, the focus adjustment lens group includes a convex lens for adjusting the position of the laser beam in the z-axis, a first reflective lens for adjusting the position of the laser beam in the x-axis, and a second reflective lens for adjusting the position of the laser beam in the y-axis.
[0080] Wherein, the laser beam emitted by the laser 1 will be used to heat and eventually melt or vaporize the frost on the glass surface. The convex lens 2 is responsible for adjusting the focal point position of the laser beam in the z-axis (i.e. the direction of laser propagation). By moving the convex lens forward and backward, the focal length of the laser beam can be changed, ensuring that the laser focal point can accurately fall on the icing point. There are two reflective lenses in total, one for adjusting the position of the laser beam in the x-axis (reflective lens 31) and the other for adjusting the position of the laser beam in the y-axis (reflective lens 32). By rotating these two reflective lenses, the offset of the laser beam in the horizontal plane (x-axis) and the vertical plane (y-axis) can be accurately controlled, ensuring that the laser focal point is aligned with the icing point. There is also a temperature sensor to monitor the temperature of the laser focal point in real time. This information is crucial to prevent local overheating caused by prolonged laser irradiation. If the temperature is too high, the laser power will be reduced accordingly to avoid damage to the glass; conversely, if the temperature is too low, the laser power may need to be increased to ensure that the frost can be effectively melted. The whole process is automatically managed through an intelligent control algorithm. According to the position, size and shape of the icing point, the positions of the convex lens and the reflective lenses, as well as the power of the laser, are dynamically adjusted to achieve efficient and accurate defrosting.
[0081] In summary, this laser defrosting achieves efficient, safe and automated removal of frost on the glass surface by precisely controlling the focal point position and power of the laser beam, as well as real-time monitoring of the focal point temperature. This not only improves the driving safety of the vehicle, but also enhances the comfort of the driver and passengers.
[0082] Further, as shown in Figure 3 According to the target focal point, the target position of the focus adjustment lens group between the laser generating assembly and the vehicle window is determined, including:
[0083] Step 301: According to the target focal point, adjust the position of the focus adjustment lens group between the laser generating assembly and the vehicle window, and during the adjustment process, identify whether the laser beam is located within the frosting area.
[0084] First, according to the coordinates of the target focal point, the position of the focus adjustment lens group (including the convex lens and the two reflective lenses) between the laser generating assembly and the vehicle window will be adjusted. During the adjustment process, it will constantly identify whether the laser beam is located within the frosting area. This is usually achieved through cameras, sensors or other optical detection devices, which can monitor the position of the laser beam and its relative relationship with the frosting area in real time.
[0085] Step 302: If yes, the position of the focus adjustment lens group is determined as the target position.
[0086] Once it detects that the laser beam has accurately landed on the frosted area and that the laser focus coincides with or is sufficiently close to the target focus point, it determines the position of the focusing adjustment lens assembly as the target position. At this position, the focusing adjustment lens assembly can precisely adjust the laser beam emitted by the laser generating component to the target focus point, thereby ensuring that laser energy is concentrated to the maximum extent in the frosted area for efficient defrosting.
[0087] These two steps precisely position the focusing adjustment lens assembly, ensuring the laser beam accurately illuminates the target focal point of the frosted area. This precise positioning not only improves the efficiency and effectiveness of defrosting but also avoids wasting laser energy and potential damage to surrounding areas. The entire process is automated, greatly reducing the need for manual intervention and improving operational convenience and safety.
[0088] In an exemplary embodiment, if there are multiple target focal points, the laser is controlled to perform defrosting on the frosted area according to the target focal points and the target energy value, including: controlling the laser to perform defrosting on the frosted area according to the defrosting priority of each target focal point and the target energy value corresponding to each target focal point.
[0089] Specifically, different target focal points may be assigned different defrosting priorities based on factors such as the severity of frost, its impact on the driver's vision, or safety considerations. For example, frost located in front of the driver's line of sight may have a higher priority because it has a greater impact on driving safety. Each target focal point may have a corresponding target energy value. This value is set based on factors such as the thickness and density of the frost and the required melting speed. Thicker frost or areas requiring rapid removal may be assigned a higher target energy value. The laser is intelligently controlled according to the aforementioned defrosting priorities and target energy values. The laser first aims at the highest priority target focal point and emits laser light at the corresponding target energy value for defrosting. After defrosting one point, the laser moves to the next target focal point according to the priority list and repeats the process. During defrosting, the temperature change and defrosting effect of the frost area are monitored in real time. If the defrosting effect at a certain point is found to be poor, or if the temperature sensor detects an anomaly, the laser power can be dynamically adjusted or the target energy value can be reallocated.
[0090] In this way, laser defrosting can efficiently treat multiple frosted areas, ensuring maximum defrosting effect within a limited time while guaranteeing driving safety. This intelligent approach not only improves defrosting efficiency but also reduces driver distraction, enhancing the overall driving experience.
[0091] Furthermore, the method also includes: for each target focal point, determining whether the target focal point falls within the set field of view; if so, determining the defrosting priority of the target focal point as the first priority; if not, determining the defrosting priority of the target focal point as the second priority.
[0092] The first priority is higher than the second priority.
[0093] For each target focal point, it will determine whether that point is within a preset field of view. This field of view can be set based on the driver's normal line of sight, the vehicle's safe driving requirements, or other relevant factors.
[0094] If the target focal point falls within the designated field of vision, then the defrosting priority for that point will be set to first priority. This means that these points are crucial to the driver's visibility and safe driving, and therefore require priority defrosting.
[0095] If the target focal point is not within the designated field of view, then the defrosting priority for that point will be set to second priority. Although these points also require defrosting, they are not the most urgent and can be defrosted after the first priority points have been dealt with.
[0096] By using this field-of-view-based prioritization method, the laser can more intelligently allocate the defrosting sequence, prioritizing the frosted areas that have the greatest impact on the driver's visibility and safe driving. This method not only improves defrosting efficiency and safety but also better adapts to different driving environments and weather conditions.
[0097] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0098] Based on the same inventive concept, this application also provides a vehicle defrosting device for implementing the vehicle defrosting method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations of one or more vehicle defrosting device embodiments provided below can be found in the limitations of the vehicle defrosting method described above, and will not be repeated here.
[0099] In one exemplary embodiment, such as Figure 4 As shown, a vehicle defrosting device is provided, comprising:
[0100] Module 11 is used to acquire images of the vehicle windows;
[0101] The recognition module 12 is used to determine the frost thickness and location information of the frost area when the frost area is detected in the window image.
[0102] The focus determination module 13 is used to determine the target focus point of the laser based on the location information of the frosted area;
[0103] The energy adjustment module 14 is used to determine the target energy value of the laser based on the current ambient temperature and the thickness of the frost in the frosting area;
[0104] The defrosting module 15 is used to control the laser to defrost the frosted area according to the target focal point and the target energy value.
[0105] In one embodiment, the laser includes a laser generating assembly and a focusing adjustment lens group; the defrosting module includes:
[0106] The first submodule is used to determine the target position of the focusing adjustment lens group between the laser generating component and the car window based on the target focal point; wherein, when the focusing adjustment lens group is in the target position, the laser beam emitted by the laser generating component falls on the target focal point after being adjusted by the focusing adjustment lens group;
[0107] The second submodule is used to control the laser generating component to emit a laser beam at a target energy value to defrost the frosted area when the focusing adjustment lens group is placed in the target position.
[0108] In one embodiment, the focusing adjustment lens group includes a convex lens for adjusting the laser beam position on the z-axis, a first reflecting lens for adjusting the laser beam position on the x-axis, and a second reflecting lens for adjusting the laser beam position on the y-axis.
[0109] In one embodiment, the first submodule is further configured to: adjust the position of the focusing adjustment lens group between the laser generating component and the car window according to the target focusing point, and identify whether the laser beam is located in the frosting area during the adjustment process;
[0110] If so, the position of the focusing adjustment lens group will be determined as the target position.
[0111] In one embodiment, if there are multiple target focal points, the defrosting module is further configured to: control the laser to perform defrosting on the frosted area according to the defrosting priority of each target focal point and the target energy value corresponding to each target focal point.
[0112] In one embodiment, the device further includes a priority processing module for: determining, for each target focal point, whether the target focal point falls within a set field of view;
[0113] If so, then the defrosting priority for that target focal point is determined as the first priority;
[0114] If not, then the defrosting priority for that target focus point is determined to be the second priority;
[0115] The first priority is higher than the second priority.
[0116] Each module in the aforementioned vehicle defrosting device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0117] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 5 As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data related to a vehicle window defrosting method. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a vehicle defrosting method.
[0118] Those skilled in the art will understand that Figure 5The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0119] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0120] Get images of the car windows;
[0121] When a frost-covered area is detected in the car window image, the thickness of the frost and the location information of the frost-covered area are determined.
[0122] Based on the location information of the frosted area, determine the target focal point of the laser;
[0123] The target energy value of the laser is determined based on the current ambient temperature and the thickness of the frost in the frosted area.
[0124] Based on the target focal point and target energy value, the laser is controlled to defrost the frosted area.
[0125] In one embodiment, the laser includes a laser generating component and a focusing adjustment lens assembly; when the processor executes the computer program, it further performs the following steps: determining a target position of the focusing adjustment lens assembly between the laser generating component and the vehicle window based on a target focal point; wherein, when the focusing adjustment lens assembly is in the target position, the laser beam emitted by the laser generating component is adjusted by the focusing adjustment lens assembly and falls on the target focal point; when the focusing adjustment lens assembly is placed in the target position, controlling the laser generating component to emit a laser beam with a target energy value for defrosting the frosted area.
[0126] In one embodiment, the focusing adjustment lens assembly includes a convex lens for adjusting the laser beam position on the z-axis, a first reflecting lens for adjusting the laser beam position on the x-axis, and a second reflecting lens for adjusting the laser beam position on the y-axis.
[0127] In one embodiment, when the processor executes the computer program, it further performs the following steps: adjusting the position of the focusing adjustment lens group between the laser generating component and the window according to the target focal point, and identifying whether the laser beam is located in the frosting area during the adjustment process; if so, determining the position of the focusing adjustment lens group as the target position.
[0128] In one embodiment, when the processor executes the computer program, it also performs the following steps: controlling the laser to perform defrosting on the frosted area according to the defrosting priority of each target focal point and the target energy value corresponding to each target focal point.
[0129] In one embodiment, when the processor executes the computer program, it further performs the following steps: for each target focal point, it determines whether the target focal point falls within a set field of view; if so, it determines that the defrosting priority of the target focal point is the first priority; if not, it determines that the defrosting priority of the target focal point is the second priority; wherein, the first priority is higher than the second priority.
[0130] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0131] Get images of the car windows;
[0132] When a frost-covered area is detected in the car window image, the thickness of the frost and the location information of the frost-covered area are determined.
[0133] Based on the location information of the frosted area, determine the target focal point of the laser;
[0134] The target energy value of the laser is determined based on the current ambient temperature and the thickness of the frost in the frosted area.
[0135] Based on the target focal point and target energy value, the laser is controlled to defrost the frosted area.
[0136] In one embodiment, the laser includes a laser generating component and a focusing adjustment lens assembly; when the computer program is executed by the processor, it further performs the following steps: determining a target position of the focusing adjustment lens assembly between the laser generating component and the vehicle window based on a target focal point; wherein, when the focusing adjustment lens assembly is in the target position, the laser beam emitted by the laser generating component is adjusted by the focusing adjustment lens assembly and falls on the target focal point; with the focusing adjustment lens assembly in the target position, controlling the laser generating component to emit a laser beam with a target energy value for defrosting the frosted area.
[0137] In one embodiment, the focusing adjustment lens assembly includes a convex lens for adjusting the laser beam position on the z-axis, a first reflecting lens for adjusting the laser beam position on the x-axis, and a second reflecting lens for adjusting the laser beam position on the y-axis.
[0138] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: adjusting the position of the focusing adjustment lens group between the laser generating component and the window according to the target focal point, and identifying whether the laser beam is located in the frosting area during the adjustment process; if so, determining the position of the focusing adjustment lens group as the target position.
[0139] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: controlling the laser to perform defrosting treatment on the frosted area according to the defrosting priority of each target focal point and the target energy value corresponding to each target focal point.
[0140] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: for each target focal point, it determines whether the target focal point falls within a set field of view; if so, it determines that the defrosting priority of the target focal point is the first priority; if not, it determines that the defrosting priority of the target focal point is the second priority; wherein, the first priority is higher than the second priority.
[0141] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0142] Get images of the car windows;
[0143] When a frost-covered area is detected in the car window image, the thickness of the frost and the location information of the frost-covered area are determined.
[0144] Based on the location information of the frosted area, determine the target focal point of the laser;
[0145] The target energy value of the laser is determined based on the current ambient temperature and the thickness of the frost in the frosted area.
[0146] Based on the target focal point and target energy value, the laser is controlled to defrost the frosted area.
[0147] In one embodiment, the laser includes a laser generating component and a focusing adjustment lens assembly; when the computer program is executed by the processor, it further performs the following steps: determining a target position of the focusing adjustment lens assembly between the laser generating component and the vehicle window based on a target focal point; wherein, when the focusing adjustment lens assembly is in the target position, the laser beam emitted by the laser generating component is adjusted by the focusing adjustment lens assembly and falls on the target focal point; with the focusing adjustment lens assembly in the target position, controlling the laser generating component to emit a laser beam with a target energy value for defrosting the frosted area.
[0148] In one embodiment, the focusing adjustment lens assembly includes a convex lens for adjusting the laser beam position on the z-axis, a first reflecting lens for adjusting the laser beam position on the x-axis, and a second reflecting lens for adjusting the laser beam position on the y-axis.
[0149] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: adjusting the position of the focusing adjustment lens group between the laser generating component and the window according to the target focal point, and identifying whether the laser beam is located in the frosting area during the adjustment process; if so, determining the position of the focusing adjustment lens group as the target position.
[0150] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: controlling the laser to perform defrosting treatment on the frosted area according to the defrosting priority of each target focal point and the target energy value corresponding to each target focal point.
[0151] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: for each target focal point, it determines whether the target focal point falls within a set field of view; if so, it determines that the defrosting priority of the target focal point is the first priority; if not, it determines that the defrosting priority of the target focal point is the second priority; wherein, the first priority is higher than the second priority.
[0152] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0153] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0154] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for defrosting car windows, characterized in that, The method includes: Get an image of the car window; When a frosted area is detected in the window image, the thickness of the frosted area and the location information of the frosted area are determined. Based on the location information of the frosted area, determine the target focal point of the laser; The current ambient temperature is acquired in real time; wherein, the current ambient temperature affects the hardness and thickness of the frost, thereby affecting the energy value required for laser defrosting; The target energy value of the laser is determined based on the current ambient temperature and the thickness of the frost in the frosted area; wherein each target focal point has a corresponding target energy value, which is set based on the thickness and density of the frost and the melting rate; If there are multiple target focal points, the laser is controlled to defrost the frosted area according to the defrosting priority of each target focal point and the target energy value corresponding to each target focal point; wherein, the defrosting priority of different target focal points is determined at least based on the impact on the driver's line of sight; The method further includes: For each target focal point, it is determined whether the target focal point falls within the set field of vision range; wherein, the field of vision range is set based at least on the driver's normal line of sight and the vehicle's safe driving requirements; If so, then the defrosting priority for that target focal point is determined as the first priority; If not, the defrosting priority of the target focal point is determined to be the second priority; wherein, the first priority is higher than the second priority.
2. The method according to claim 1, characterized in that, The laser includes a laser generating component and a focusing adjustment lens group; controlling the laser to defrost the frosted area according to the target focal point and the target energy value includes: Based on the target focal point, the target position of the focusing adjustment lens group between the laser generating component and the vehicle window is determined; wherein, when the focusing adjustment lens group is at the target position, the laser beam emitted by the laser generating component falls on the target focal point after being adjusted by the focusing adjustment lens group; With the focusing adjustment lens group placed at the target position, the laser generating component is controlled to emit a laser beam at the target energy value to defrost the frosted area.
3. The method according to claim 2, characterized in that, The focusing adjustment lens group includes a convex lens for adjusting the laser beam position on the z-axis, a first reflecting lens for adjusting the laser beam position on the x-axis, and a second reflecting lens for adjusting the laser beam position on the y-axis.
4. The method according to claim 2, characterized in that, Determining the target position of the focusing adjustment lens group between the laser generating component and the vehicle window based on the target focal point includes: Based on the target focal point, the position of the focusing adjustment lens group between the laser generating component and the car window is adjusted, and during the adjustment process, it is identified whether the laser beam is located within the frosting area; If so, the position of the focusing adjustment lens group is determined as the target position.
5. The method according to any one of claims 1-4, characterized in that, The location information of the frosted area includes the boundary coordinates of the frosted area and the size of the frosted area, and the target focal point includes the center or key location of the frosted area.
6. The method according to claim 1, characterized in that, The method further includes: During the defrosting process, the temperature change of the frosted area and the defrosting effect are monitored in real time. If the temperature sensor detects an anomaly, the power of the laser is dynamically adjusted or the target energy value corresponding to each target focus point is redistributed.
7. A car window defrosting device, characterized in that, The device includes: The acquisition module is used to acquire images of the vehicle windows; The recognition module is used to determine the frost thickness and location information of the frost area when the frost area is detected in the window image. The focus determination module is used to determine the target focus point of the laser based on the location information of the frosted area; An energy adjustment module is used to acquire the current ambient temperature in real time and determine the target energy value of the laser based on the current ambient temperature and the frost thickness of the frosting area. The current ambient temperature affects the hardness and thickness of the frost, thereby affecting the energy value required for laser defrosting. Each target focus point has a corresponding target energy value, which is set based on the thickness and density of the frost and the melting rate. The defrosting module is used to control the laser to defrost the frosted area according to the defrosting priority of each target focal point and the target energy value corresponding to each target focal point if there are multiple target focal points; wherein, the defrosting priority of different target focal points is determined at least based on the impact on the driver's line of sight; The priority processing module is used to determine whether each target focal point falls within a set field of view; wherein the field of view is set based at least on the driver's normal line of sight and the vehicle's safe driving requirements; if yes, the defrosting priority of the target focal point is determined to be the first priority; if no, the defrosting priority of the target focal point is determined to be the second priority; wherein the first priority is higher than the second priority.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Vehicle windshield control method and device, electronic equipment and vehicle
CN117901809A
Aircraft has defrosting device for defrosting aerodynamic surfaces of aircraft, where defrosting device has ice detection unit arranged at fuselage of aircraft
DE102011102804A1
Defrost device on the rear window
KR2019980035526U