Polarization road camera control method, system, device and computer storage medium

By obtaining the current time point and mapping relationship, adjusting the polarization angle of the polarizing mirror, the problem of poor high reflection elimination effect of the window caused by fixed polarization angle is solved, and efficient and accurate identification of information in the window is achieved.

CN114241428BActive Publication Date: 2025-08-26ZHEJIANG UNIVIEW TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010940532.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-09
Publication Date
2025-08-26
Estimated Expiration
2040-09-09

AI Technical Summary

Technical Problem

When existing road cameras deal with the high reflection phenomenon of the car window, the polarization angle of the polarization mirror is fixed, resulting in poor elimination effect, affecting the recognition efficiency and accuracy of information in the car window.

Method used

By obtaining the current time point, adjusting the polarization angle of the polarizing mirror according to the mapping relationship between the time point and the polarization angle, dynamic adjustment is achieved to optimize and eliminate the high reflective effect of the car window, and continuously optimize the mapping relationship through the self-correction mechanism.

Benefits of technology

The high reflection removal effect of the car window is improved to ensure accurate identification of information in the car window, especially the recognition of facial features and gestures of drivers or passengers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114241428B_ABST
    Figure CN114241428B_ABST
Patent Text Reader

Abstract

The present invention discloses a polarization road camera control method, system, device, and computer storage medium. The polarization road camera control method includes the following steps: obtaining a current time point; obtaining a target polarization angle corresponding to the current time point based on a mapping relationship; adjusting the polarization angle of the polarizer of the polarization road camera to the target polarization angle, and capturing an image. The present invention also discloses a polarization road camera control device and computer storage medium. By obtaining the current time point and adjusting the polarization angle of the polarizer of the polarization road camera based on the time point, the polarization angle can be continuously adjusted over time, improving the effectiveness of eliminating high-reflection on vehicle windows. Furthermore, through self-correction of the mapping relationship between the time point and the polarization angle, the high-reflection elimination effect of the polarization angle obtained based on the mapping relationship is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of road cameras, and in particular to a polarization road camera control method, system, device and computer storage medium. Background Art

[0002] Road cameras are widely used in traffic surveillance systems. These cameras are typically installed at entrances and exits of roads and buildings to record vehicle traffic, count traffic, measure speeds, and collect evidence of red light violations. Images captured by road cameras must clearly reflect the information within vehicle windows. However, high reflectivity is common in all current road traffic scenarios. This high reflectivity, coupled with the information within the vehicle windows, can obscure the information captured by the road camera. This phenomenon severely impacts the efficiency and accuracy of vehicle window recognition in road traffic applications, such as facial recognition and gesture recognition.

[0003] Existing road cameras usually install a polarizing filter between the rear end of the lens and the sensor to eliminate high glare from car windows. However, the polarization angle of the polarizing filter is usually set to a fixed value, which can only eliminate light with a fixed polarization angle, resulting in poor elimination of high glare from car windows.

[0004] The above content is only used to assist in understanding the technical solution of the present invention and does not constitute an admission that the above content is prior art. Summary of the Invention

[0005] The main purpose of the present invention is to provide a polarization road camera control method, device and computer storage medium, which aims to adjust the polarization angle of the polarizer of the polarization road camera according to the time point to improve the effect of eliminating high reflection on the car window.

[0006] To achieve the above object, the present invention provides a polarization road camera control method, which includes the following steps:

[0007] Get the current time point;

[0008] Obtaining the target polarization angle corresponding to the current time point according to the mapping relationship;

[0009] The polarization angle of the polarizer of the polarization road camera is adjusted to the target polarization angle, and an image is collected.

[0010] Optionally, before the step of obtaining the current time point, the polarization road camera control method further includes:

[0011] Acquire vehicle images captured at each preset time point when the polarizer is at each preset polarization angle;

[0012] Acquire a target vehicle image at each preset polarization angle corresponding to each preset time point, wherein a high-reflective image parameter of a vehicle window area in the target vehicle image is minimum, the image parameter including at least one of brightness and grayscale;

[0013] The polarization angle of the polarizer of the target vehicle image with the minimum high-reflection image parameter in the vehicle window area is used as the optimal high-reflection elimination polarization angle corresponding to the preset time point;

[0014] The mapping relationship between the optimal high-reflection reduction polarization angle and the time point is generated according to the preset time point corresponding to the target vehicle image and the optimal high-reflection reduction polarization angle corresponding to the preset time point.

[0015] Optionally, the step of generating the mapping relationship between the optimal high-reflection reduction polarization angle and the time point according to the preset time point corresponding to the target vehicle image and the optimal high-reflection reduction polarization angle corresponding to the preset time point includes:

[0016] The optimal anti-high-reflection polarization angle of the target vehicle image collected at each preset time point and the corresponding time point are used as coordinate points in a preset coordinate system, where the dependent variable coordinate axis of the preset coordinate system is the polarization angle and the independent variable coordinate axis is the time point;

[0017] An initial high-reflection reduction polarization curve is fitted according to the plurality of coordinate points, wherein the mapping relationship includes the initial high-reflection reduction polarization curve.

[0018] Optionally, after the step of generating the mapping relationship between the optimal high-reflection reduction polarization angle and the time point based on the preset time point corresponding to the target vehicle image and the optimal high-reflection reduction polarization angle corresponding to the preset time point, the polarization road camera control method further includes:

[0019] The mapping relationship is self-corrected within a preset time period, including:

[0020] Acquire vehicle images captured at each preset time point when the polarizer is at each preset polarization angle;

[0021] Obtaining a target vehicle image from the vehicle images corresponding to each preset time point, and using a polarization angle corresponding to the target vehicle image as an optimal high-reflection-reduction polarization angle corresponding to the preset time point;

[0022] If the difference between the optimal high-reflection reduction polarization angle corresponding to the preset time point obtained during self-correction and the optimal high-reflection reduction polarization angle corresponding to the time point in the mapping relationship is greater than the preset difference, the optimal high-reflection reduction polarization angle corresponding to the preset time point in the mapping relationship is replaced with the optimal high-reflection reduction polarization angle corresponding to the preset time point during self-correction to correct the mapping relationship.

[0023] Optionally, after the steps of obtaining a target vehicle image from the vehicle images corresponding to each preset time point and using the polarization angle corresponding to the target vehicle image as the optimal high-reflection reduction polarization angle corresponding to the preset time point, the method further includes:

[0024] If the difference between the optimal high-reflection reduction polarization angle corresponding to the preset time point obtained during self-calibration and the optimal high-reflection reduction polarization angle corresponding to the time point in the mapping relationship is less than or equal to the preset difference, the optimal high-reflection reduction polarization angle corresponding to the preset time point in the mapping relationship is maintained unchanged.

[0025] Optionally, after the step of self-correcting the mapping relationship within a preset time period, the method further includes:

[0026] After the preset time period ends, the step of obtaining the target polarization angle corresponding to the current time point according to the mapping relationship is performed according to the revised mapping relationship.

[0027] Optionally, when a preset condition is met, the step of self-correcting the mapping relationship within a preset time period is performed;

[0028] The preset condition includes at least one of the following:

[0029] The current time point reaches the correction time point corresponding to the correction period of the mapping relationship;

[0030] The current season changes.

[0031] In addition, to achieve the above-mentioned object, the present invention further provides a control system for a polarization road camera, the control system for the polarization road camera comprising:

[0032] Polarized road cameras;

[0033] A polarizing filter, which is arranged on the imaging light path of the polarized road camera;

[0034] A driving module connected to the polarizer;

[0035] A controller is connected to the driving module and the polarization road camera, and is used to execute the steps of any one of the polarization road camera control methods described above.

[0036] In addition, to achieve the above-mentioned objectives, the present invention further provides a control device for a polarized road camera, the control device for a polarized road camera comprising: a memory, a processor, and a control program for a polarized road camera stored in the memory and executable on the processor. When the control program for a polarized road camera is executed by the processor, the steps of any one of the polarized road camera control methods described above are implemented.

[0037] In addition, to achieve the above-mentioned object, the present invention further provides a computer storage medium, on which a control program for a polarization road camera is stored. When the control program for the polarization road camera is executed by a processor, the steps of any one of the polarization road camera control methods described above are implemented.

[0038] The polarization road camera control method, device, and computer storage medium proposed in embodiments of the present invention acquire a current time point, obtain a target polarization angle corresponding to the current time point based on a mapping relationship, adjust the polarization angle of the polarization filter of the polarization road camera to the target polarization angle, and capture an image. By acquiring the current time point and adjusting the polarization angle of the polarization filter of the polarization road camera based on the time point, the present invention allows the polarization angle to be continuously adjusted over time, improving the effectiveness of eliminating high-reflection effects on vehicle windows. Furthermore, through self-correction of the mapping relationship between the time point and the polarization angle, the high-reflection elimination effect of the polarization angle obtained based on the mapping relationship is further improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention;

[0040] Figure 2 A schematic flow chart of an embodiment of a polarization road camera control method of the present invention;

[0041] Figure 3 A schematic flow chart of another embodiment of a polarization road camera control method according to the present invention;

[0042] Figure 4 Schematic diagram of a flow chart of another embodiment of a polarization road camera control method of the present invention;

[0043] Figure 5 A schematic structural diagram of a polarization road camera according to the present invention;

[0044] Figure 6 Schematic diagram of the components of the polarization road camera of the present invention;

[0045] Figure 7 It is a schematic diagram of the overall implementation process of the present invention.

[0046] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0047] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0048] An embodiment of the present invention provides a solution. By obtaining the current time point and adjusting the polarization angle of the polarizer of the road camera according to the time point, the polarization angle can be continuously adjusted over time, thereby improving the effect of eliminating high reflections on the vehicle windows. Through self-correction of the mapping relationship between the time point and the polarization angle, the high reflection elimination effect of the polarization angle obtained according to the mapping relationship is even better.

[0049] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.

[0050] The terminal in the embodiment of the present invention is a control device for a polarization road camera.

[0051] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU, a communication bus 1002, a memory 1003, and a network interface 1004. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The network interface 1004 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1003 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1003 may optionally be a storage device independent of the aforementioned processor 1001. Optionally, the terminal may also include a camera.

[0052] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation to the terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0053] like Figure 1 As shown, the memory 1003 as a computer storage medium may include a network communication module and a control program of a polarization road camera.

[0054] exist Figure 1In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and communicate data with the backend server; and the processor 1001 can be used to call the polarization road camera control program stored in the memory 1003 and execute the polarization road camera control method of each embodiment below.

[0055] Reference Figure 2 In one embodiment, the polarization road camera control method includes the following steps:

[0056] Step S10, obtaining the current time point;

[0057] Step S20, obtaining the target polarization angle corresponding to the current time point according to the mapping relationship;

[0058] In this embodiment, the direction of sunlight varies at different times of the day, and the vehicle windows reflect polarized light. This polarization direction also varies depending on the direction of the sunlight. If the polarization angle of the polarization filter of the polarized road camera is fixed, the polarization filter's filtering effect will be poor if the polarization direction of the polarized light differs significantly from the polarization angle of the filter, making the problem of high glare on the vehicle windows more pronounced.

[0059] Optionally, a mapping relationship between time points and polarization angles can be pre-set, or a mapping relationship between time periods and polarization angles can be pre-set. In this way, when used in practice, a polarization road camera can obtain the current time point and, based on the mapping relationship, determine the target polarization angle corresponding to the current time point. Optionally, the mapping relationship can include a functional relationship between the time point and the polarization angle, a curve showing the relationship between the time point and the polarization angle, and the like.

[0060] Optionally, when determining the mapping relationship, the filtering effect of the polarizer at various polarization angles at various time points can be tested, and the polarization angle with the best filtering effect can be used as the polarization angle corresponding to that time point, thereby obtaining the mapping relationship. The filtering effect can be determined based on the brightness and grayscale of the image captured by the polarization road camera, or manually detected by a tester.

[0061] Step S30: adjusting the polarization angle of the polarizer of the polarized road camera to the target polarization angle, and capturing an image.

[0062] In this embodiment, after obtaining the target polarization angle corresponding to the current time point, the polarization angle of the polarization filter of the polarized road camera is adjusted to the target polarization angle. At this time, there will be no high reflection in the image captured by the polarized road camera, and accurate and efficient recognition of information inside the vehicle window can be achieved. Among them, the information inside the vehicle window includes facial features, gestures, etc. of the driver or passenger, and it can be determined whether the driver or passenger has violated relevant traffic regulations.

[0063] Alternatively, as Figure 5 As shown, Figure 5 A structural diagram of a polarization road camera. Figure 5 The polarization road camera in the system includes at least a sensor, a lens, and a polarizer. The sensor is a photosensitive element used to form an image based on the received light. The lens and polarizer are both located in the light path. The polarizer can be located in front of, in the middle of, or between the lens and the sensor. As long as the light passes through the polarizer before hitting the sensor, it will be sufficient.

[0064] Optionally, the polarization angle of the polarizer generally ranges from 0° to 180°. When adjusting the polarization angle of the polarizer, the polarizer can be driven to rotate by a driving device such as a motor.

[0065] Alternatively, as Figure 6 As shown, Figure 6 This is a schematic diagram of the components of a polarization road camera. Figure 6 In this embodiment, the polarization road camera 10 includes at least an imaging module 100, a polarization module 200, and a clock module 300. The polarization module 200 includes a driver module 210 and a polarizer 220. The clock module 300 is used to obtain the current time point, and the driver module 210 is used to adjust the polarizer 220 according to the target polarization angle corresponding to the current time point. The imaging module is used to capture images. In this embodiment, only the driver module 210 and the clock module 300 are required to improve the effectiveness of eliminating high-glare on vehicle windows and reduce costs.

[0066] In the technical solution disclosed in this embodiment, by obtaining the current time point, the polarization angle of the polarizer of the polarization road camera is adjusted accordingly, so that the polarization angle can be continuously adjusted over time, thereby improving the effect of eliminating high reflection on the car window.

[0067] In another embodiment, Figure 3 As shown in the above Figure 2 Based on the embodiment shown, before step S10, the following steps are further included:

[0068] Step S40, acquiring vehicle images captured at each preset time point when the polarizer is at each preset polarization angle;

[0069] In this embodiment, during the process of acquiring the mapping relationship, multiple preset time points throughout the day and multiple preset polarization angles within the range of polarization angles achievable by the polarizer are first determined. At each preset time point, a vehicle image is captured when the polarizer is at each preset polarization angle. That is, each time point corresponds to multiple preset polarization angles, and each preset polarization angle corresponding to each time point corresponds to at least one vehicle image. For example, each hour between 8:00 and 17:00 can be considered a preset time point, and each 10° interval between 0° and 180° can be considered a first preset polarization angle. The clock module of the polarization road camera can be used to determine the current time point. At 8:00, the polarization angle of the polarizer of the polarization road camera can be sequentially adjusted to each preset polarization angle. At each time the polarizer is adjusted to each preset polarization angle, the imaging module captures at least one vehicle image. At 9:00, the polarization angle of the polarizer of the polarization road camera is again sequentially adjusted to each preset polarization angle. At each time the polarizer is adjusted to each preset polarization angle, the imaging module captures at least one vehicle image. It should be noted that at the same preset time point, the polarization angle of the polarizer of the polarization road camera is adjusted to multiple preset polarization angles in succession and vehicle images are captured in sequence. The multiple vehicle images captured in succession can all be used as images captured at the preset time point.

[0070] Step S50, acquiring a target vehicle image at each preset polarization angle corresponding to each preset time point, wherein a high-reflective image parameter of a vehicle window area in the target vehicle image is minimum, the image parameter including at least one of brightness and grayscale;

[0071] In this embodiment, for a single preset time point, a target vehicle image is determined from among the multiple vehicle images corresponding to that single preset time point. The target image can be determined manually by a tester, with the image that best eliminates reflections being used as the target image. Alternatively, the target image can be determined automatically by the terminal device. Automatic determination of the target image by the terminal device can be based on image parameters such as brightness and grayscale, as well as various image algorithms. Image parameters such as brightness and grayscale can be used. Optionally, for a single preset time point, the image parameters of the window area in the target vehicle image are smaller than those of the window areas of other vehicle images other than the target vehicle image, or the grayscale of the window area in the target vehicle image is smaller than the grayscale of the window areas of other vehicle images other than the target vehicle image.

[0072] Alternatively, if the image parameter is brightness, when the terminal device automatically determines the target image, since reflections are primarily concentrated in the vehicle windows, the window region in the vehicle image can be identified and the brightness value of the window region can be obtained. The vehicle image with the smallest brightness value among the multiple vehicle images is then used as the target vehicle image. The brightness value can be the total brightness value of the window region or the average brightness of the window region.

[0073] Step S60, taking the polarization angle of the polarizer of the target vehicle image with the minimum high-reflection image parameter in the vehicle window area as the optimal high-reflection elimination polarization angle corresponding to the preset time point;

[0074] Step S70: Generate the mapping relationship between the optimal high-reflection reduction polarization angle and the time point according to the preset time point corresponding to the target vehicle image and the optimal high-reflection reduction polarization angle corresponding to the preset time point.

[0075] In this embodiment, after determining the target vehicle image with the minimum high-reflection image parameters in the vehicle window area at a single preset time point, the polarization angle of the polarizer used when capturing the target vehicle image is obtained, and this polarization angle is used as the optimal high-reflection reduction polarization angle at that preset time point. The preset time point is then associated with this optimal high-reflection reduction polarization angle. By associating each preset time point with the optimal high-reflection reduction polarization angle corresponding to the target vehicle image at that preset time point, multiple sets of associations between preset time points and optimal high-reflection reduction polarization angles are obtained.

[0076] Optionally, the association between multiple sets of preset time points and the optimal high-reflection reduction polarization angle is directly used as a mapping relationship to obtain the optimal high-reflection reduction polarization angle associated with the preset time point closest to the current time point, and this optimal high-reflection reduction polarization angle is used as the target polarization angle corresponding to the current time point.

[0077] Optionally, a mapping relationship is generated based on the association relationship between multiple sets of preset time points and the optimal high-reflection reduction polarization angle. For example, a rectangular coordinate system is established with the time point as the independent variable coordinate axis and the polarization angle as the dependent variable coordinate axis. The coordinate points of each set of association relationships in the rectangular coordinate system are determined based on the preset time points and the optimal high-reflection reduction polarization angle in each set of association relationships. In this way, multiple coordinate points can be obtained based on the multiple sets of association relationships. An initial high-reflection reduction polarization curve is fitted based on the multiple coordinate points to obtain a smooth initial high-reflection reduction polarization curve. The mapping relationship may include the initial high-reflection reduction polarization curve.

[0078] Optionally, the association between multiple sets of preset time points and optimal high-reflection reduction polarization angles can be directly used as a mapping relationship. The optimal high-reflection reduction polarization angle associated with the preset time point closest to the current time point is obtained, and this optimal high-reflection reduction polarization angle is used as the target polarization angle corresponding to the current time point. When a curve is used as the mapping relationship, the coordinate point on the curve whose independent variable coordinate axis is the current time point can be obtained, and the dependent variable coordinate axis of this coordinate point can be used as the target polarization angle.

[0079] In the technical solution disclosed in this embodiment, vehicle images captured when the polarizer is at each preset polarization angle at each preset time point are obtained, and then the target vehicle image at each preset time point is determined, and the preset polarization angle corresponding to the target vehicle image is used as the optimal anti-high-reflection polarization angle at the preset time point, thereby achieving the purpose of determining the mapping relationship between the time point and the optimal anti-high-reflection polarization angle.

[0080] In yet another embodiment, Figure 4 As shown, in Figure 3 Based on the embodiment shown, after step S70, the following steps are further included:

[0081] Step S80, self-correcting the mapping relationship within a preset time period;

[0082] Step S80 includes:

[0083] Step S81, acquiring vehicle images captured at each preset time point when the polarizer is at each preset polarization angle;

[0084] Step S82, obtaining a target vehicle image from the vehicle images corresponding to each preset time point, and using the polarization angle corresponding to the target vehicle image as the optimal high-reflection-reduction polarization angle corresponding to the preset time point;

[0085] In this embodiment, after the mapping relationship is generated, the mapping relationship may be self-calibrated, and the self-calibration process lasts for a preset time period.

[0086] Optionally, if it is detected that the preset conditions are met, the mapping relationship can be self-calibrated, and the step of self-calibrating the mapping relationship within the preset time period can be performed. At this time, the step of obtaining the vehicle images captured when the polarizer is at each preset polarization angle at each preset time point, and obtaining the target vehicle image from the multiple vehicle images at each preset time point, and using the polarization angle corresponding to the target vehicle image as the optimal high-reflection polarization angle corresponding to the preset time point can be re-executed. This step is the same as obtaining the vehicle images captured when the polarizer is at each preset polarization angle at each preset time point. Figure 3 The relevant steps in the illustrated embodiment are similar and will not be described again here.

[0087] Optionally, the preset conditions include at least one of the following: the current time point reaches a correction time point corresponding to a correction period of the mapping relationship; the current season changes; an initial high-reflection elimination polarization curve is fitted, i.e., after the initial high-reflection elimination polarization curve is established, the initial high-reflection elimination polarization curve is first self-calibrated. The current time point reaching a correction time point corresponding to the correction period of the mapping relationship indicates that the self-calibration of the mapping relationship can be performed periodically, for example, the mapping relationship can be self-calibrated every three months. Since the solar altitude angle continuously changes over time, which also affects the polarization direction of polarized light, the self-calibration of the mapping relationship can be performed according to seasonal changes. If, after adjusting the polarization angle of the polarizer of the polarized road camera to the target polarization angle, the brightness value of the vehicle window area in the captured image is greater than a brightness threshold, it indicates that the current high-reflection elimination effect of the vehicle window is poor, and the mapping relationship can be re-self-calibrated.

[0088] Step S83: If the difference between the optimal high-reflection reduction polarization angle corresponding to the preset time point obtained during self-calibration and the optimal high-reflection reduction polarization angle corresponding to the time point in the mapping relationship is greater than the preset difference, the optimal high-reflection reduction polarization angle corresponding to the preset time point in the mapping relationship is replaced with the optimal high-reflection reduction polarization angle corresponding to the preset time point during self-calibration to correct the mapping relationship.

[0089] In this embodiment, after reacquiring the optimal high-reflection reduction polarization angle corresponding to the target vehicle image at each preset time point, the optimal high-reflection reduction polarization angle corresponding to that preset time point in the mapping relationship can be directly replaced with the optimal high-reflection reduction polarization angle corresponding to that preset time point reacquired during self-calibration to correct the mapping relationship. Alternatively, the mapping relationship can be re-established based on the reacquired optimal high-reflection reduction polarization angle corresponding to each preset time point. When correcting the mapping relationship, if the mapping relationship includes a high-reflection reduction polarization curve, the high-reflection reduction polarization curve needs to be refitted to obtain the self-calibrated mapping relationship.

[0090] Optionally, after reacquiring the optimal high-reflection elimination polarization angle corresponding to each preset time point, the angle difference between the optimal high-reflection elimination polarization angle corresponding to the preset time point obtained during self-calibration and the optimal high-reflection elimination polarization angle corresponding to the time point in the mapping relationship may be obtained for each preset time point. If the angle difference is greater than the preset difference, it indicates that the reflection elimination effect of the current mapping relationship is significantly different from the optimal effect. It is determined that the optimal high-reflection elimination polarization angle corresponding to the preset time point obtained during self-calibration is significantly different from the optimal high-reflection elimination polarization angle corresponding to the time point in the mapping relationship. Therefore, the optimal high-reflection elimination polarization angle corresponding to the preset time point in the mapping relationship may be replaced with the optimal high-reflection elimination polarization angle corresponding to the preset time point during self-calibration, thereby correcting the mapping relationship. If the difference is less than or equal to the preset difference, the step of replacing the optimal high-reflection elimination polarization angle corresponding to the preset time point in the initial high-reflection elimination polarization curve with the optimal high-reflection elimination polarization angle corresponding to the preset time point during self-calibration is not performed, and the optimal high-reflection elimination polarization angle corresponding to the preset time point in the mapping relationship is maintained unchanged.

[0091] Optionally, after the preset time period of the continuous self-correction mapping relationship ends, it indicates that the self-correction process is ended. The corrected mapping relationship at this time is the final mapping relationship of this self-correction process, and this mapping relationship is used for a period of time thereafter. That is, before the next self-correction process starts, the target polarization angle corresponding to the current time point is obtained according to the mapping relationship, and the polarization angle of the polarization filter of the polarized road camera is adjusted to the target polarization angle, and the image is collected.

[0092] In the technical solution disclosed in this embodiment, by self-correcting the mapping relationship within a preset time period, the target polarization angle determined according to the self-corrected mapping relationship is more accurate, thereby improving the effect of eliminating high reflection on the vehicle window.

[0093] In another embodiment, the implementation idea of ​​this solution is as follows:

[0094] Step 1: Establish the initial curve of the optimal angle for polarization-reduction high reflection on the current road;

[0095] Using a clock module, polarization module, and imaging module, combined with an image processing algorithm, the system obtains vehicle window information at various polarization angles during various time periods. The optimal polarization-induced hyperglare reduction angle for each time period is then determined, and a time-dependent polarization-induced hyperglare reduction angle curve is established, recorded as the initial polarization-induced hyperglare reduction angle curve. To analyze and obtain the optimal polarization-induced hyperglare reduction angle for each time period, vehicle window information for vehicles with the same characteristics at different times and polarization angles is collected. An image algorithm is then used to obtain the optimal hyperglare reduction angle information corresponding to each time period. This discrete time-dependent optimal hyperglare reduction angle information is then fitted into the initial polarization-induced hyperglare reduction angle curve for the current road.

[0096] Step 2: Self-calibration of high reflection elimination curve;

[0097] After the initial curve is determined, the theoretical optimal anti-reflection angle at the current data collection time point is determined using the curve; the effects of the windows rotated to different angles of the polarizer at the same time are compared. If the effects of the windows at different polarization angles are basically the same, no correction is performed; if there are differences in the effects of the windows at different polarization angles at the same time, the actual optimal anti-reflection angle is obtained, the theoretical optimal anti-reflection angle is compared with the actual optimal anti-reflection angle, and the difference is calculated. If it is greater than the threshold, the initial curve is corrected until it is less than the threshold, at which point the initial curve is no longer corrected.

[0098] Step 3: Data collection based on the self-corrected anti-hyperreflection curve; using the self-corrected polarization anti-hyperreflection curve, the optimal polarization anti-hyperreflection angle for each time period is obtained, and image collection is performed.

[0099] The specific implementation plan is as follows:

[0100] like Figure 7 As shown, the clock module can be used to determine the current data collection time point as t, and the polarization module can be used to obtain vehicle window images with the polarizer adjusted to various angles from 8 a.m. to 5 p.m. (no specific time period is specified, and correction can also be performed at other time periods); data collection is performed every hour (the data collection frequency can be adjusted according to the frequency of passing vehicles), and the collection time is recorded as T{t=1,...T}=T{t=8,...,17}; the polarizer angle in each time period changes from 0 to 180 degrees at intervals of 10 degrees, and the polarizer angle is recorded as The optimal high-reflection angle at each time period is recorded as The initial function of establishing the optimal high reflection elimination angle and time is:

[0101]

[0102] Use this function to determine the polarization de-reflection angle at the current road time t′: Compare the effects of the polarizer on the windows rotated to different angles at the same time. If the effects of the windows at different polarization angles are basically the same, no correction is performed; if the effects of the windows at different polarization angles are different, the theoretical optimal polarization anti-reflection angle calculated using the initial function at time t' is compared with the actual anti-reflection angle measured by the polarization camera system. The difference between

[0103]

[0104] like The actual optimal de-reflection angle at time t′ is Correct the initial function to

[0105]

[0106] In this embodiment, ζ=10° (can be set according to different accuracy requirements). The threshold is self-calibrated to The optimal polarization anti-hyperreflection angle at time t is calculated using the self-corrected polarization anti-hyperreflection curve, and the polarizer is adjusted to this angle to collect data.

[0107] This solution uses a polarization module, an imaging module, and a clock module, combined with an image processing algorithm and a self-correction method to obtain the optimal polarization angle for eliminating high reflections in the current scene. The angle of the polarizer in the polarization module is adjusted to the optimal polarization angle for eliminating high reflections. The imaging module is then used to collect information inside the vehicle window to eliminate high reflections, making the recognition of information inside the vehicle window more accurate and efficient.

[0108] Compared with existing technologies, this solution can eliminate high glare from vehicle windows by only including a polarization module with a rotatable polarizer, an imaging module, and a clock module. The system can meet the needs of different polarization angles corresponding to different scenarios without the need for a complex system structure, reducing computational difficulty and cost.

[0109] In addition, an embodiment of the present invention further provides a control system for the polarization road camera, including:

[0110] Polarized road cameras;

[0111] A polarizing filter, which is arranged on the imaging light path of the polarized road camera;

[0112] A driving module connected to the polarizer;

[0113] A controller is connected to the driving module and the polarization road camera, and is used to execute the steps of the polarization road camera control method described in the above embodiments.

[0114] In addition, an embodiment of the present invention further provides a control device for a polarized road camera. The control device for the polarized road camera includes: a memory, a processor, and a polarized road camera control program stored in the memory and executable on the processor. When the polarized road camera control program is executed by the processor, the steps of the polarized road camera control method described in the above embodiments are implemented.

[0115] In addition, an embodiment of the present invention further provides a computer storage medium storing a control program for a polarization road camera. When the control program for the polarization road camera is executed by a processor, the steps of the polarization road camera control method described in the above embodiments are implemented.

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

[0117] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0118] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0119] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A polarization road camera control method, characterized in that: The polarization road camera control method comprises the following steps: Get the current time point; Obtaining the target polarization angle corresponding to the current time point according to the mapping relationship; Adjusting the polarization angle of the polarizer of the polarized road camera to the target polarization angle and capturing an image; The polarization road camera control method further includes: Acquire vehicle images captured at each preset time point when the polarizer is at each preset polarization angle; Acquire a target vehicle image at each preset polarization angle corresponding to each preset time point, wherein a high-reflective image parameter of a vehicle window area in the target vehicle image is minimum, the image parameter including at least one of brightness and grayscale; The polarization angle of the polarizer of the target vehicle image with the minimum high-reflection image parameter in the vehicle window area is used as the optimal high-reflection elimination polarization angle corresponding to the preset time point; Generate the mapping relationship between the optimal high-reflection reduction polarization angle and the time point according to the preset time point corresponding to the target vehicle image and the optimal high-reflection reduction polarization angle corresponding to the preset time point; The step of generating the mapping relationship between the optimal high-reflection reduction polarization angle and the time point according to the preset time point corresponding to the target vehicle image and the optimal high-reflection reduction polarization angle corresponding to the preset time point comprises: The optimal anti-high-reflection polarization angle of the target vehicle image collected at each preset time point and the corresponding time point are used as coordinate points in a preset coordinate system, where the dependent variable coordinate axis of the preset coordinate system is the polarization angle and the independent variable coordinate axis is the time point; Fitting an initial high-reflection polarization curve according to the plurality of coordinate points, wherein the mapping relationship includes the initial high-reflection polarization curve; After the step of generating the mapping relationship between the optimal high-reflection reduction polarization angle and the time point based on the preset time point corresponding to the target vehicle image and the optimal high-reflection reduction polarization angle corresponding to the preset time point, the polarization road camera control method further includes: The mapping relationship is self-corrected within a preset time period, including: Acquire vehicle images captured at each preset time point when the polarizer is at each preset polarization angle; Obtaining a target vehicle image from the vehicle images corresponding to each preset time point, and using a polarization angle corresponding to the target vehicle image as an optimal high-reflection-reduction polarization angle corresponding to the preset time point; If the difference between the optimal high-reflection reduction polarization angle corresponding to the preset time point obtained during self-correction and the optimal high-reflection reduction polarization angle corresponding to the time point in the mapping relationship is greater than the preset difference, the optimal high-reflection reduction polarization angle corresponding to the preset time point in the mapping relationship is replaced with the optimal high-reflection reduction polarization angle corresponding to the preset time point during self-correction to correct the mapping relationship.

2. The polarization road camera control method according to claim 1, wherein: After the steps of obtaining a target vehicle image from the vehicle images corresponding to each preset time point and using the polarization angle corresponding to the target vehicle image as the optimal high-reflection reduction polarization angle corresponding to the preset time point, the method further includes: If the difference between the optimal high-reflection reduction polarization angle corresponding to the preset time point obtained during self-calibration and the optimal high-reflection reduction polarization angle corresponding to the time point in the mapping relationship is less than or equal to the preset difference, the optimal high-reflection reduction polarization angle corresponding to the preset time point in the mapping relationship is maintained unchanged.

3. The polarization road camera control method according to claim 1, wherein: After the step of self-correcting the mapping relationship within the preset time period, the method further includes: After the preset time period ends, the step of obtaining the target polarization angle corresponding to the current time point according to the mapping relationship is performed according to the revised mapping relationship.

4. The polarization road camera control method according to claim 1, wherein: When a preset condition is met, executing the step of self-correcting the mapping relationship within a preset time period; The preset condition includes at least one of the following: The current time point reaches the correction time point corresponding to the correction period of the mapping relationship; The current season changes.

5. A control system for a polarization road camera, characterized in that: The control system of the polarization road camera includes: Polarized road cameras; A polarizing filter, which is arranged on the imaging light path of the polarized road camera; A driving module connected to the polarizer; A controller is connected to the driving module and the polarization road camera, and is used to execute the steps of the polarization road camera control method according to any one of claims 1 to 4.

6. A control device for a polarization road camera, characterized in that: The control device of the polarization road camera includes: a memory, a processor, and a control program of the polarization road camera stored in the memory and executable on the processor. When the control program of the polarization road camera is executed by the processor, the steps of the polarization road camera control method according to any one of claims 1 to 4 are implemented.

7. A computer storage medium, characterized in that The computer storage medium stores a control program for a polarization road camera. When the control program for the polarization road camera is executed by a processor, the steps of the polarization road camera control method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Devices having automatically adjustable polarizers and related operating methods

    CN104639814A

  • Image acquisition device, image acquisition method, and terminal equipment

    CN109348093A