Calibration apparatus, method, electronic device and computer readable medium

By using the light-emitting devices in the polarization light source module to emit polarized light in a time-division manner and generate calibration coefficients, the driving signal is adjusted to eliminate the problem of inconsistent light intensity, thereby improving the accuracy of three-dimensional recognition of polarized light.

CN122192205APending Publication Date: 2026-06-12BEIJING JIIOV TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING JIIOV TECH CO LTD
Filing Date
2025-09-26
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

In existing technologies, individual differences in light-emitting devices, aging, and ambient light interference can lead to inconsistent luminous intensity of light polarized at different angles, which severely reduces the accuracy of three-dimensional recognition based on polarized light.

Method used

The light-emitting devices in the polarization light source module emit polarized light with different polarization angles in a time-division manner, and the detection device acquires the detection signal, generates calibration coefficients, and adjusts the driving signal to make the light emission intensity of polarized light with different polarization angles consistent.

🎯Benefits of technology

Dynamically eliminating or reducing differences in luminous intensity caused by individual differences in light-emitting devices, aging, and ambient light interference improves the consistency of luminous intensity of light polarized at different angles, thereby improving the accuracy of 3D recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122192205A_ABST
    Figure CN122192205A_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a calibration device, method, electronic device and computer readable medium. An embodiment of the method comprises: controlling at least one light emitting device in a polarized light source module to emit polarized light of different polarization angles in time division, and performing the following calibration coefficient determination step: obtaining, from at least one detection device in the polarized light source module, detection signals corresponding to the polarized light of different polarization angles; generating, according to the detection signals, calibration coefficients corresponding to the polarized light of different polarization angles; when the at least one light emitting device is controlled again to emit polarized light of different polarization angles in time division, calibrating a driving signal of the light emitting device based on the calibration coefficients, so as to make the light emitting intensities of the polarized light of different polarization angles consistent. The embodiment improves the consistency of the light emitting intensities of polarized light of different angles, and further helps to improve the accuracy of three-dimensional recognition based on polarized light.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, specifically to calibration devices, methods, electronic devices, and computer-readable media. Background Technology

[0002] In recent years, 3D recognition technology based on polarized light has gradually emerged. This technology uses polarized light sources at different angles to enable the imaging module to obtain illumination images corresponding to the polarized light sources at different angles. By analyzing the differences in these images, it can distinguish whether the subject being photographed is a living person.

[0003] In existing technologies, a fixed-size driving signal is typically used to drive light-emitting devices to emit light with different angles of polarization. However, the light-emitting devices themselves may have individual differences, aging, temperature effects, and ambient light interference, resulting in inconsistent luminous intensities of light with different angles of polarization, which severely reduces the accuracy of 3D recognition based on polarized light. Summary of the Invention

[0004] This application provides calibration devices, methods, electronic devices, and computer-readable media that improve the consistency of luminescence intensity of polarized light at different angles, thereby helping to improve the accuracy of polarized light-based 3D recognition.

[0005] In a first aspect, embodiments of this application provide a calibration device, comprising: a polarization light source module, including at least one light-emitting device and at least one detection device, wherein the at least one light-emitting device is used to emit polarized light with at least two different polarization angles in a time-division manner, and the at least one detection device is used to acquire detection signals corresponding to the polarized light with different polarization angles, the detection signals being used to characterize the luminous intensity of the polarized light; and a calibration module, electrically connected to the polarization light source module, used to generate calibration coefficients corresponding to the polarized light with different polarization angles based on the detection signals, and to calibrate the driving signals of the light-emitting devices based on the calibration coefficients when the at least one light-emitting device emits polarized light with different polarization angles again in a time-division manner, so as to make the luminous intensity of the polarized light with different polarization angles consistent.

[0006] Secondly, embodiments of this application provide a calibration method, which includes: controlling at least one light-emitting device in the polarization light source module to emit polarized light with different polarization angles in a time-division manner, and performing the following calibration coefficient determination steps: acquiring detection signals corresponding to the polarized light with different polarization angles from at least one detection device in the polarization light source module; generating calibration coefficients corresponding to the polarized light with different polarization angles based on the detection signals; and calibrating the driving signals of the light-emitting devices based on the calibration coefficients when the at least one light-emitting device is controlled to emit polarized light with different polarization angles in a time-division manner again, so as to make the luminous intensity of the polarized light with different polarization angles consistent.

[0007] Thirdly, embodiments of this application provide an electronic device, including: one or more processors; and a storage device having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in the second aspect.

[0008] Fourthly, embodiments of this application provide a computer-readable medium having a computer program stored thereon that, when executed by a processor, implements the method described in the second aspect.

[0009] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method described in the second aspect.

[0010] The calibration apparatus, method, electronic device, and computer-readable medium provided in this application first emit polarized light with different polarization angles at least one light-emitting device in a polarization light source module in a time-division manner, and then perform the following calibration coefficient determination steps: acquiring detection signals corresponding to polarized light with different polarization angles from at least one detection device in the polarization light source module; generating calibration coefficients corresponding to polarized light with different polarization angles based on the detection signals. When the light-emitting device is controlled to emit polarized light with different polarization angles again in a time-division manner, the driving signal of the light-emitting device is calibrated based on the calibration coefficients to ensure that the luminous intensity of polarized light with different polarization angles is consistent. Therefore, the calibration apparatus can dynamically eliminate or reduce the differences in luminous intensity of polarized light with different angles caused by individual differences in light-emitting devices, aging, temperature effects, ambient light interference, etc., improving the consistency of luminous intensity of polarized light with different angles, and thus helping to improve the accuracy of three-dimensional recognition based on polarized light. Attached Figure Description

[0011] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:

[0012] Figure 1 This is a schematic diagram of the structure of one embodiment of the calibration device of this application;

[0013] Figure 2 This is a schematic diagram of the polarization light source module in the calibration device of this application;

[0014] Figure 3 This is a flowchart of one embodiment of the calibration method of this application;

[0015] Figure 4 This is a schematic diagram of the structure of one embodiment of the calibration device of this application;

[0016] Figure 5 This is a schematic diagram of the structure of an electronic device used to implement the embodiments of this application. Detailed Implementation

[0017] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings.

[0018] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0019] It should be noted that all actions involving the acquisition of signals, information, or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where the application is located, and with the authorization granted by the owner of the relevant device.

[0020] In recent years, 3D recognition technology based on polarized light has gradually emerged. This technology uses polarized light sources at different angles to enable the imaging module to obtain illumination images corresponding to these polarized light sources. By analyzing the differences in these images, it can distinguish whether the subject is alive. However, when controlling the emission of polarized light at different angles, a fixed-magnitude driving signal is typically used to drive the light-emitting device. However, the light-emitting device itself may have individual differences, aging, temperature effects, etc., resulting in inconsistent luminous intensities of polarized light at different angles, which seriously reduces the accuracy of polarized light-based 3D recognition. This application provides a calibration device and calibration method that can make the luminous intensities of polarized light at different angles consistent, thereby helping to improve the accuracy of polarized light-based 3D recognition.

[0021] Please see Figure 1 The diagram shows a structural schematic of one embodiment of the calibration device according to this application.

[0022] like Figure 1 As shown, the calibration device 100 in this embodiment includes a polarization light source module 10 and a calibration module 20. The polarization light source module 10 is an integrated optical component capable of emitting polarized light with at least two different polarization angles in a time-division multiplexing manner. In practice, the calibration module 20 can be implemented by a microcontroller unit or an application-specific integrated circuit (ASIC). Specifically, it can be a hardware entity containing a processor, memory, and input / output interfaces, used to perform logical operations, numerical calculations, and control algorithms, etc.

[0023] In this embodiment, see Figure 2The schematic diagram of the polarization light source module shown illustrates that the polarization light source module 10 includes at least one light-emitting device 101. The light-emitting device 101 is an optical element used to generate and emit polarized light. The at least one light-emitting device 101 can be used to emit polarized light with at least two different polarization angles in a time-division multiplexing manner; this polarized light is typically linearly polarized light. In practice, the light-emitting device 101 may include, but is not limited to, a VCSEL (Vertical Cavity Surface Emitting Laser).

[0024] As an example, the aforementioned light-emitting device 101 can emit two types of polarized light with different polarization angles in a time-division manner. The angle between the polarization angles of the two types of polarized light can be between 60 degrees and 120 degrees. This allows for a larger difference between two images acquired under polarized light with different polarization angles. When the object under test is a real three-dimensional object such as a human face, the greater the difference between the two images, the more significant the three-dimensional biological features in the difference image, thus enabling a more accurate distinction between living organisms and attacking materials.

[0025] In this embodiment, see Figure 2 The schematic diagram of the polarization light source module shown illustrates that the polarization light source module 10 also includes at least one detection device 102. This at least one detection device 102 can be used to acquire detection signals of polarized light corresponding to the different polarization angles described above. This detection signal can be used to characterize the luminous intensity of the polarized light. The detection signal can be an electrical signal, specifically a current value, voltage value, etc.; or it can be a light intensity signal, specifically a light intensity value. In practice, the detection device 102 may include, but is not limited to, a photodiode. A photodiode is a semiconductor device that converts light signals into electrical signals, and the magnitude of its output electrical signal is proportional to the intensity of the received light signal.

[0026] In this embodiment, the calibration module 20 can be electrically connected to the polarization light source module 10. It is used to generate calibration coefficients corresponding to polarized light at different polarization angles based on the detection signal, and to calibrate the driving signal of the light-emitting device based on the calibration coefficients when the at least one light-emitting device emits polarized light at different polarization angles again in a time-division multiplexing manner, so that the luminous intensity of the polarized light at different polarization angles is consistent. Consistent luminous intensity of polarized light at different polarization angles can mean that the polarized light at different polarization angles is identical, or that the difference in luminous intensity of the polarized light at different polarization angles is within a preset range.

[0027] Optionally, the polarization light source module 10 includes only one light-emitting device 101. This light-emitting device 101 includes multiple light-emitting units. Different light-emitting units in the light-emitting device 101 are used to emit polarized light with different polarization angles. For example, the light-emitting device 101 may include a first light-emitting unit and a second light-emitting unit, totaling two light-emitting units. The first light-emitting unit can emit 0-degree polarized light, and the second light-emitting unit can emit 90-degree polarized light. Each light-emitting unit is provided with a first electrode, such as a negative electrode. Multiple light-emitting units share the same second electrode, such as a positive electrode. By integrating multiple light-emitting units onto a single light-emitting device, a high degree of miniaturization and compactness of the light source is achieved, making it suitable for consumer electronic devices with stringent space and power consumption requirements, such as smartphones.

[0028] Optionally, the polarization light source module 10 may include multiple light-emitting devices 101, with different light-emitting devices 101 used to emit polarized light with different polarization angles. For example, the polarization light source module 10 includes two light-emitting devices: a first light-emitting device and a second light-emitting device. The first light-emitting device can emit light with 0 degrees polarization, and the second light-emitting device can emit light with 90 degrees polarization. By employing multiple independent light-emitting devices, extremely high design flexibility and layout freedom are achieved. In addition, each light-emitting device can be procured, tested, assembled, and replaced as a standard part, reducing the cost and complexity of later maintenance.

[0029] Optionally, the polarization light source module 10 may include a plurality of detection devices 102, each of which corresponds one-to-one with a plurality of light-emitting devices 101 or a plurality of light-emitting units in a single light-emitting device 101. Each detection device 102 can be used to acquire a detection signal when the light-emitting device or light-emitting unit corresponding to that detection device emits polarized light.

[0030] Optionally, the polarization light source module 10 includes only one detection device 102, which is shared by the multiple light-emitting devices 101 or light-emitting units. The detection device 102 can detect the luminous intensity of each light-emitting device 101 when it emits polarized light to obtain a detection signal. By setting only one detection device in the polarization light source module, the cost of the polarization light source module is reduced, and physical space is saved.

[0031] Optionally, see Figure 2 The polarization light source module 10 further includes an optical diffusion element 103 disposed on the light emission path of at least one of the light-emitting devices. The at least one detection device 102 can be used to receive light emitted by the at least one light-emitting device 101 and reflected by the optical diffusion element 103. Each light-emitting device 101 and the detection device 102 can be placed below the optical diffusion element 103.

[0032] The optical diffuser element 103 refers to an optical component capable of scattering incident light, thereby altering its light distribution. In practice, the optical diffuser element 103 can be a diffuser plate or a light homogenizer. Its working principle involves using internal or surface microstructures, such as microlens arrays, surface micro-roughness structures, or doped scattering particles, to cause light refraction, reflection, and diffraction, thereby converting a collimated or concentrated beam of light into a uniformly distributed light field over a larger solid angle. The optical diffuser element 103 can completely cover the light emission ports of all light-emitting devices. As the light beam emitted from the light-emitting device 101 passes through the optical diffuser element 103, a portion of the light energy changes direction on the inner surface or within the diffuser element; this portion of the light can constitute the light received by the detection device.

[0033] The optical diffuser element 103 is crucial for eye safety. If the optical diffuser element 103 detaches, the reflected light signal received by the detection device 102 will be drastically weakened. The calibration module can instantly detect the anomaly and immediately cut off the drive signal to prevent high-power-density polarized light from directly irradiating the human eye and causing eye damage.

[0034] Optionally, the bottom layer of the optical diffusion element 103 may include a light-reflecting component. The light-reflecting component does not coincide with the main light-emitting path of each light-emitting device 101, and is used to reflect a portion of the light emitted by each light-emitting device 101 to the detection device 102. The main light-emitting path is the beam path with the most concentrated light energy, typically a direction perpendicular to the light-emitting plane of the light-emitting device, or within a preset angle range from the direction perpendicular to the light-emitting plane. The aforementioned portion of the light includes lower-energy residual light outside the main light-emitting path.

[0035] The bottom layer of the optical diffusion element 103 can refer to the lower surface of the optical diffusion element 103. The light reflecting component can refer to a structure with high reflectivity, such as a mirror formed by coating, or an attached metal foil, whose function is specular reflection or high-efficiency diffuse reflection.

[0036] By setting a light-reflecting component at the bottom of the optical diffusion element, the active utilization and guidance of light energy is realized, directly and effectively enhancing the intensity of the light signal received by the detection device 102. By placing the reflective component at a position that does not coincide with the main light-emitting path of the light-emitting device 101, obstruction or interference with the main light-emitting path is avoided, thus achieving light signal enhancement without affecting the main light-emitting path.

[0037] Optionally, when the polarization light source module 10 includes a light-emitting device 101 and a detection device 102, the center of the light reflection window is located at the midpoint of the line connecting the two intersection points of the first center line and the second center line at the bottom layer of the optical diffusion element. The first center line is a straight line passing through the center of the light-emitting device 101 and perpendicular to the plane containing the optical diffusion element 103, and the second center line is a straight line passing through the center of the detection device 102 and perpendicular to the plane containing the optical diffusion element 103. Through precise design of the light reflection window's position, it can be ensured that the detection device can receive sufficiently intense reflected light, improving the accuracy and reliability of luminous intensity detection.

[0038] The calibration device provided in the above embodiments of this application, through time-division emission of the polarization light source module and real-time monitoring by the detection device, enables the calibration module to accurately calculate the differences in luminous intensity of light with different polarizations and generate calibration coefficients. During the calibration phase, the calibration module adjusts the driving signal according to the calibration coefficients, ensuring that the intensity of subsequently emitted polarized light is consistent. Through the above settings, the calibration device can dynamically eliminate or reduce the differences in luminous intensity of light with different angles of polarization caused by factors such as individual differences in light-emitting devices, aging, temperature effects, and ambient light interference, thereby improving the consistency of luminous intensity of light with different angles of polarization and thus helping to improve the accuracy of three-dimensional recognition based on polarization light.

[0039] Please refer to Figure 3 This document illustrates a flow 300 of an embodiment of the calibration method according to this application. The calibration method can be applied to electronic devices. These electronic devices may include, but are not limited to, smartphones, tablets, e-book readers, laptops, in-vehicle computers, handheld computers, desktop computers, set-top boxes, smart TVs, wearable devices, smart locks, etc. The aforementioned electronic devices are equipped with a polarization light source module according to any of the above embodiments. The calibration method includes the following steps:

[0040] Step 301: Control at least one light-emitting device in the polarization light source module to emit polarized light with different polarization angles in a time-division manner, and perform the following calibration coefficient determination steps: acquire detection signals corresponding to polarized light with different polarization angles from at least one detection device in the polarization light source module; generate calibration coefficients corresponding to polarized light with different polarization angles based on the detection signals.

[0041] In this embodiment, driving signals can be sent sequentially to the relevant light-emitting devices or light-emitting units in the polarization light source module according to a preset timing sequence, so as to realize the time-division emission of polarized light with different polarization angles.

[0042] As an example, assume the polarization light source module includes two light-emitting devices: a first light-emitting device and a second light-emitting device. The first light-emitting device emits 0-degree polarized light, and the second light-emitting device emits 90-degree polarized light. First, a first driving signal is sent to the first light-emitting device at a first moment to initiate the emission of 0-degree polarized light. Then, a second driving signal is sent to the first light-emitting device at a second moment to stop the emission of 0-degree polarized light. Next, a first driving signal is sent to the second light-emitting device at a third moment to initiate the emission of 90-degree polarized light. Finally, a second driving signal is sent to the second light-emitting device at a fourth moment to stop the emission of 90-degree polarized light. The second and third moments can be the same, or the second moment can be earlier than the third moment, to ensure that the two light-emitting devices do not emit light simultaneously.

[0043] In this embodiment, during the process of controlling at least one light-emitting device in the polarization light source module to emit polarized light with different polarization angles in a time-division manner, the following calibration coefficient determination steps can be performed simultaneously: acquiring detection signals corresponding to polarized light with different polarization angles from at least one detection device in the polarization light source module; and generating calibration coefficients corresponding to polarized light with different polarization angles based on the detection signals.

[0044] Specifically, during the emission phase of polarized light at each polarization angle, one or more detection signals corresponding to that polarization angle can be synchronously read from the corresponding detection device. If multiple detection signals are read, the average value of the read detection signals can be used as the final detection signal for the polarized light at that polarization angle. The detection signal corresponding to any polarization angle can be used as a reference, and the detection signals for each of the remaining polarization angles can be compared with this reference; the ratio of these two values ​​can be used as the calibration coefficient for the polarized light at that polarization angle.

[0045] As an example, it is necessary to control the emission of polarized light at n different polarization angles in a time-division manner. In the emission stage of the first polarization angle, a detection signal corresponding to that polarization angle can be acquired, denoted as S1. In the emission stage of the second polarization angle, a detection signal corresponding to that polarization angle can be acquired, denoted as S2. And so on, in the emission stage of the nth polarization angle, a detection signal corresponding to that polarization angle can be acquired, denoted as Sn. Any one of the detection signals [S1, S2, ..., Sn] can be used as a reference. For example, select the detection signal with the most stable expected or measured value as the reference, compare each of the remaining detection signals with this reference, and determine the calibration coefficient of the polarized light at the corresponding polarization angle based on the comparison result.

[0046] It should be noted that the operation of generating calibration coefficients for polarized light corresponding to different polarization angles based on the detection signals can be performed asynchronously with the steps of controlling the emission of polarized light and acquiring detection signals, and does not need to be performed after all detection signals are acquired, so as to save the time consumed in the calibration coefficient determination step.

[0047] In some optional implementations of this embodiment, a reference polarized light from polarized light with different polarization angles can be selected, and other polarized light besides the reference polarized light can be used as the polarized light to be calibrated. Then, for each polarized light to be calibrated, the ratio of the detection signal corresponding to the reference polarized light to the reference polarized light can be used as a reference to determine the calibration coefficient corresponding to the polarized light to be calibrated.

[0048] In this approach, the first polarized light emitted from polarized light at different polarization angles can be designated as the reference polarized light, further reducing the time required for determining the calibration coefficient. Continuing the example above, the detection signal corresponding to the reference polarized light is S1. Using S1 as a reference, the calibration coefficient corresponding to the second polarization angle is: K2 = S2 / S1; the calibration coefficient corresponding to the third polarization angle is: K3 = S3 / S1; and so on, the calibration coefficient corresponding to the nth polarization angle is: Kn = Sn / S1.

[0049] The above method allows for convenient and quick calculation of accurate calibration coefficients, ensuring high precision, high speed, and low cost in the calibration process.

[0050] Step 302: When at least one light-emitting device is controlled to emit polarized light with different polarization angles in a time-division manner again, the driving signal of the light-emitting device is calibrated based on the calibration coefficient so that the luminous intensity of polarized light with different polarization angles is consistent.

[0051] In this embodiment, step 301 can be completed before the electronic device leaves the factory, so that the luminous intensity of the polarized light emitted by the polarization light source module at different angles is consistent when the electronic device leaves the factory. The calibration coefficients can be recorded in the memory of the electronic device before leaving the factory.

[0052] During the use of electronic devices, users can use pre-stored calibration coefficients to calibrate the light-emitting devices. Specifically, when controlling at least one light-emitting device to emit polarized light with different polarization angles again, for each polarization angle, the default driving current is multiplied by the calibration coefficient corresponding to that polarization angle to obtain a new driving signal, which is then sent to the light-emitting device responsible for emitting the polarized light with that polarization angle. In this way, the luminous intensity of polarized light with different polarization angles can be made consistent. Consistent luminous intensity of polarized light with different polarization angles can mean that the polarized light with different polarization angles is identical, or that the difference in luminous intensity between the polarized light with different polarization angles is within a preset range.

[0053] In some optional implementations of this embodiment, after step 302 is executed, the above calibration coefficient determination step can continue to be executed to update the calibration coefficients of polarized light corresponding to the different polarization angles.

[0054] It is understandable that the inconsistent luminous intensity of polarized light with different polarization angles can be caused by factors including, but not limited to, initial manufacturing tolerances, temperature variations, and device aging. The calibration coefficients determined before the electronic device leaves the factory can only eliminate luminous intensity differences caused by initial manufacturing tolerances, and cannot eliminate luminous intensity differences caused by factors such as temperature variations and device aging during user operation. Therefore, during user operation, each time at least one of the aforementioned light-emitting devices emits polarized light with different polarization angles at different times, a calibration coefficient determination step can be performed. This involves acquiring detection signals corresponding to polarized light with different polarization angles from at least one detection device in the polarization light source module; and generating calibration coefficients corresponding to polarized light with different polarization angles based on the detection signals. This allows for continuous updating of the calibration coefficients, ensuring the stable performance of the polarization light source module throughout its entire lifespan.

[0055] The method provided in the above embodiments of this application firstly emits polarized light with different polarization angles in a time-division multiplexing manner using at least one light-emitting device in a polarization light source module, and performs the following calibration coefficient determination steps: acquiring detection signals corresponding to polarized light with different polarization angles from at least one detection device in the polarization light source module; generating calibration coefficients corresponding to polarized light with different polarization angles based on the detection signals. When the light-emitting device is controlled to emit polarized light with different polarization angles in a time-division multiplexing manner again, the driving signal of the light-emitting device is calibrated based on the calibration coefficients to ensure that the luminous intensity of polarized light with different polarization angles is consistent. Therefore, the calibration device can dynamically eliminate or reduce the differences in luminous intensity of polarized light with different angles caused by individual differences in light-emitting devices, aging, temperature effects, ambient light interference, etc., improving the consistency of luminous intensity of polarized light with different angles, thereby helping to improve the accuracy of three-dimensional recognition based on polarized light.

[0056] Further reference Figure 4 As an implementation of the methods shown in the above figures, this application provides an embodiment of a calibration device, which is similar to... Figure 1 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.

[0057] like Figure 4 As shown, the calibration device 400 of this embodiment includes: a control unit 401, used to control at least one light-emitting device in the polarization light source module to emit polarized light with different polarization angles in a time-division manner, and to perform the following calibration coefficient determination steps: acquiring detection signals corresponding to the polarized light with different polarization angles from at least one detection device in the polarization light source module; generating calibration coefficients corresponding to the polarized light with different polarization angles based on the detection signals; and a calibration unit 402, used to calibrate the driving signal of the light-emitting device based on the calibration coefficients when the at least one light-emitting device is controlled to emit polarized light with different polarization angles in a time-division manner again, so as to make the luminous intensity of the polarized light with different polarization angles consistent.

[0058] In some optional implementations of this embodiment, the apparatus further includes an update unit for: continuing to execute the calibration coefficient determination step to update the calibration coefficients of the polarized light corresponding to the different polarization angles.

[0059] In some optional implementations of this embodiment, the control unit 401 is further configured to: select a reference polarized light among the polarized lights with different polarization angles, and use other polarized lights besides the reference polarized light as polarized lights to be calibrated; for each polarized light to be calibrated, using the detection signal corresponding to the reference polarized light as a reference, determine the ratio of the detection signal corresponding to the polarized light to be calibrated to the reference as the calibration coefficient corresponding to the polarized light to be calibrated.

[0060] In some optional implementations of this embodiment, the control unit 401 is further configured to: determine the polarized light emitted first among the polarized lights with different polarization angles as the reference polarized light.

[0061] The apparatus provided in the above embodiments of this application first emits polarized light with different polarization angles in a time-division multiplexing manner through at least one light-emitting device in a polarization light source module, and performs the following calibration coefficient determination steps: acquiring detection signals corresponding to polarized light with different polarization angles from at least one detection device in the polarization light source module; generating calibration coefficients corresponding to polarized light with different polarization angles based on the detection signals. When the light-emitting device is controlled to emit polarized light with different polarization angles in a time-division multiplexing manner again, the driving signal of the light-emitting device is calibrated based on the calibration coefficients to make the luminous intensity of polarized light with different polarization angles consistent. Thus, the calibration apparatus can dynamically eliminate or reduce the differences in luminous intensity of polarized light with different angles caused by individual differences of light-emitting devices, aging, temperature effects, ambient light interference, etc., improve the consistency of luminous intensity of polarized light with different angles, and thus help improve the accuracy of three-dimensional recognition based on polarized light.

[0062] This application also provides an electronic device, including one or more processors and a storage device storing one or more programs thereon, which, when executed by one or more processors, cause one or more processors to implement the above-described calibration method.

[0063] The following is for reference. Figure 5 It shows a schematic diagram of the structure of an electronic device used to implement some embodiments of this application. Figure 5 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this application.

[0064] like Figure 5 As shown, the electronic device 500 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the electronic device 500. The processing unit 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0065] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 508 including, for example, disks, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5An electronic device 500 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively. Figure 5 Each box shown can represent a device or multiple devices as needed.

[0066] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described calibration method.

[0067] In particular, according to some embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, some embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 509, or installed from storage device 508, or installed from ROM 502. When the computer program is executed by processing device 501, it performs the functions defined in the methods of some embodiments of this application.

[0068] This application also provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the above-described calibration method.

[0069] It should be noted that the computer-readable medium described in some embodiments of this application may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In some embodiments of this application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In some embodiments of this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0070] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol, such as HTTP (Hypertext Transfer Protocol), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0071] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently without being assembled into the electronic device. The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: control at least one light-emitting device in the polarization light source module to emit polarized light with different polarization angles in a time-division multiplexing manner, and perform the following calibration coefficient determination steps: acquiring detection signals corresponding to polarized light with different polarization angles from at least one detection device in the polarization light source module; generating calibration coefficients corresponding to polarized light with different polarization angles based on the detection signals; and calibrating the driving signals of the light-emitting devices based on the calibration coefficients when controlling at least one light-emitting device to emit polarized light with different polarization angles again in a time-division multiplexing manner, so that the luminous intensity of polarized light with different polarization angles is consistent.

[0072] Computer program code for performing operations of some embodiments of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++; and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network, or it can be connected to an external computer (e.g., via the Internet using an Internet service provider), including local area networks (LANs) or wide area networks (WANs).

[0073] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0074] The units described in some embodiments of this application can be implemented in software or hardware. The described units can also be housed in a processor; for example, a processor may be described as including a first determining unit, a second determining unit, a selecting unit, and a third determining unit. The names of these units do not necessarily limit the specific unit itself.

[0075] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0076] The above description is merely a selection of preferred embodiments of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the embodiments of this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described inventive concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features with similar functions disclosed in the embodiments of this application.

Claims

1. A calibration device, characterized in that, include: A polarization light source module includes at least one light-emitting device and at least one detection device. The at least one light-emitting device is used to emit polarized light with at least two different polarization angles in a time-division manner. The at least one detection device is used to acquire detection signals corresponding to the polarized light with the different polarization angles. The detection signals are used to characterize the luminous intensity of the polarized light. The calibration module, electrically connected to the polarization light source module, is used to generate calibration coefficients corresponding to the different polarization angles of polarized light based on the detection signal, and to calibrate the driving signal of the light-emitting device based on the calibration coefficients when the at least one light-emitting device emits the polarized light at different polarization angles again in a time-division manner, so as to make the luminous intensity of the polarized light at different polarization angles consistent.

2. The calibration device according to claim 1, characterized in that, The polarization light source module includes a light-emitting device, which includes multiple light-emitting units. Different light-emitting units are used to emit polarized light with different polarization angles. Each of the multiple light-emitting units is provided with a first electrode, and the multiple light-emitting units share the same second electrode.

3. The calibration device according to claim 1, characterized in that, The polarization light source module includes multiple light-emitting devices, and different light-emitting devices are used to emit polarized light with different polarization angles.

4. The calibration apparatus according to claim 2 or 3, characterized in that, The polarization light source module includes multiple detection devices, each of which corresponds to one of the multiple light-emitting devices or light-emitting units. Each of the multiple detection devices is used to acquire a detection signal when the light-emitting device or light-emitting unit corresponding to the detection device emits polarized light.

5. The calibration apparatus according to claim 2 or 3, characterized in that, The polarization light source module includes a detection device, and the multiple light-emitting devices or light-emitting units share the detection device.

6. The calibration apparatus according to claim 1, characterized in that, The polarization light source module also includes an optical diffusion element disposed on the light emission path of the at least one light-emitting device; the at least one detection device is used to receive the light emitted by the at least one light-emitting device and reflected by the optical diffusion element.

7. The calibration apparatus according to claim 6, characterized in that, The bottom layer of the optical diffusion element is provided with a light reflecting component. The light reflecting component does not coincide with the main light emission path of each of the at least one light-emitting device. The light reflecting component is used to reflect part of the light emitted by the at least one light-emitting device to the detection device.

8. The calibration apparatus according to claim 7, characterized in that, In the case where the polarization light source module includes a light-emitting device and a detection device, the center of the light reflection window is located at the midpoint of the line connecting the two intersection points of the first center line and the second center line on the bottom layer of the optical diffusion element. The first center line is a straight line passing through the center of the light-emitting device and perpendicular to the plane where the optical diffusion element is located, and the second center line is a straight line passing through the center of the detection device and perpendicular to the plane where the optical diffusion element is located.

9. A calibration method, characterized in that, Applied to an electronic device, the electronic device being provided with a polarizing light source module as described in any one of claims 1-8; the method includes: The system controls at least one light-emitting device in the polarization light source module to emit polarized light with different polarization angles in a time-division manner, and performs the following calibration coefficient determination steps: acquiring detection signals corresponding to the polarized light with different polarization angles from at least one detection device in the polarization light source module; generating calibration coefficients corresponding to the polarized light with different polarization angles based on the detection signals; When the at least one light-emitting device is controlled to emit polarized light with different polarization angles in a time-division manner again, the driving signal of the light-emitting device is calibrated based on the calibration coefficient so that the luminous intensity of the polarized light with different polarization angles is consistent.

10. The method according to claim 9, characterized in that, After calibrating the driving signal of the light-emitting device based on the calibration coefficient when the at least one light-emitting device is controlled to emit polarized light with different polarization angles in a time-division manner again, the method further includes: Continue with the calibration coefficient determination step to update the calibration coefficients corresponding to the different polarization angles of the polarized light.

11. The method according to claim 9, characterized in that, The step of generating calibration coefficients corresponding to the different polarization angles of polarized light based on the detected signal includes: Select a reference polarized light from the polarized light with different polarization angles, and use other polarized light besides the reference polarized light as the polarized light to be calibrated; For each polarized light to be calibrated, the ratio of the detection signal corresponding to the reference polarized light to the reference polarized light is determined as the calibration coefficient corresponding to the polarized light to be calibrated.

12. The method according to claim 11, characterized in that, The selection of reference polarized light from the polarized light at different polarization angles includes: The polarized light emitted first among the polarized lights with different polarization angles is determined as the reference polarized light.

13. An electronic device, characterized in that, include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the method as described in any one of claims 9-12.

14. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 9-12.

15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 9-12.