Correction method, correction device, electronic device, and head-mounted display device
By acquiring user eye information and image features to correct the projection parameters of the head-mounted display device, the optical adaptation deviation problem is solved, ensuring that the user's two eyes are aligned and improving the user experience.
Patent Information
- Application Number
- CN202510604215.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-12
- Publication Date
- 2026-11-20
AI Technical Summary
Existing head-mounted display devices suffer from optical adaptation deviations in terms of initial user compatibility, leading to binocular parallax imbalance, causing discomfort symptoms such as visual fatigue and dizziness, and reducing user experience and satisfaction.
The system acquires the user's eye information through the image sensor to determine if it is the first time using the device. It projects and detects images of the left and right eyes, and corrects the projection parameters of the display device based on the image features to ensure binocular image merging.
It enables precise calibration of the projection parameters of the display device based on individual user differences, avoiding visual fatigue and dizziness, and improving the user experience.
Smart Images

Figure CN123142518A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of head-mounted device technology, and more particularly to a calibration method, calibration device, electronic device, and head-mounted display device. Background Technology
[0002] With the rapid development of Virtual Reality (VR), Augmented Reality (AR), and Mixed Reality (MR) technologies, smart devices such as head-mounted displays have been gradually applied in consumer electronics, education, and healthcare. These devices provide users with an immersive interactive experience by integrating visual, auditory, and tactile feedback. However, existing devices have significant problems with initial compatibility: due to individual differences in users' head anatomy (such as interpupillary distance and facial contours) and the assembly tolerances of device optical components (such as lenses and displays), the image projection optical path under default configuration may not accurately match the retinal areas of the user's eyes. This optical compatibility deviation can lead to binocular disparity conflict, resulting in visual fatigue, dizziness, and other discomfort symptoms, severely reducing user experience and device satisfaction. Summary of the Invention
[0003] In view of the above situation, it is necessary to provide a calibration method, calibration device, electronic device, and head-mounted display device to improve the user experience.
[0004] In a first aspect, embodiments of this application provide a correction method applied to a head-mounted display device, the head-mounted display device including an image-capturing element and a display element, the correction method comprising: The image sensor acquires the user's eye information; Based on the eye information and historical user information, it is determined whether the user is a first-time user; The preset detection image is projected onto the user's left and right eyes through the display device; The image acquisition device acquires a first image of the left target and a second image of the right target using the same image acquisition parameters. The first image includes the detection image projected onto the left target, and the second image includes the detection image projected onto the right target. Based on the first image and the second image, the projection parameters of the display for the user's left and right eyes are corrected.
[0005] In the correction method of the above embodiment, firstly, the user's eye information is acquired through the image acquisition device; secondly, based on the eye information and historical user information, it is determined that the user is a first-time user; next, a preset detection image is projected onto the user's left and right eyes through the display device; then, a first image of the left eye and a first image of the right eye are acquired through the image acquisition device with the same image acquisition parameters, the first image including the detection image projected onto the left eye and the second image including the detection image projected onto the right eye; finally, based on the first and second images, the projection parameters of the display device onto the user's left and right eyes are corrected. In this way, the correction device can accurately identify the user, determine whether the user is a first-time user, and then, based on the user's individual differences, correct the projection parameters of the display device, ensuring that the user's two eyes are aligned when using the head-mounted display device, avoiding visual fatigue, dizziness, and other discomfort, and improving the user experience.
[0006] In some embodiments of this application, the step of "correcting the projection parameters of the display for the user's left and right eyes based on the first image and the second image" includes: Extract the first feature from the first image and the second feature from the second image; Determine the deviation value between the first feature and the second feature; Based on the deviation value and the preset deviation range, the projection parameters of the display for the user's left and right eyes are corrected.
[0007] In some embodiments of this application, the step of "correcting the projection parameters of the display for the user's left and right eyes based on the first image and the second image" includes: Extract the first feature from the first image and the second feature from the second image; Determine a first difference value between the first feature and a preset standard feature, and determine a second difference value between the second feature and the standard feature; Based on the first difference value, the second difference value, and a preset deviation range, the projection parameters of the display device onto the user's left and right eyes are corrected.
[0008] In some embodiments of this application, the step of "determining whether the user is a first-time user based on the eye information and historical user information" includes: Based on the eye information, extract the user's pupil features; The user's pupil features are matched and compared with the pupil features of the historical user information; If no matching pupil feature is found in the historical user information, the user is determined to be a first-time user.
[0009] In some embodiments of this application, prior to the step of "projecting a preset detection image onto the user's left and right eyes via the display device," the correction method further includes: The detected image is preprocessed to obtain the preprocessed detected image.
[0010] In some embodiments of this application, the step of "projecting a preset detection image onto the user's left and right eyes via the display device" includes: Based on the eye information, the position of the user's left eye and right eye are determined; Based on the left and right eye positions, the projection position of the display is adjusted to project the detected image onto the user's left and right eyes.
[0011] In some embodiments of this application, after the step of "correcting the projection parameters of the display for the user's left and right eyes based on the first image and the second image", the correction method further includes: The projection parameters of the display device and the eye information of the user are stored after correction.
[0012] Secondly, embodiments of this application also provide a correction device applied to a head-mounted display device, the head-mounted display device including a display element and an image capturing element, the correction device comprising: The image acquisition module is used to acquire the user's eye information; The judgment module is used to determine whether the user is a first-time user based on the eye information and historical user information; A display module is used to project a preset detection image onto the user's left and right eyes, and an image acquisition module acquires a first image of the left eye and a second image of the right eye using the same image acquisition parameters. The first image includes the detection image projected onto the left eye, and the second image includes the detection image projected onto the right eye. A correction module is used to correct the projection parameters of the display for the user's left and right eyes based on the first image and the second image.
[0013] Thirdly, embodiments of this application also provide an electronic device, the electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the above-described correction method.
[0014] Fourthly, embodiments of this application also provide a head-mounted display device, which includes the aforementioned electronic device, as well as an image-capturing device and a display device communicatively connected to the electronic device. Attached Figure Description
[0015] Figure 1 This is a schematic diagram of the architecture of a head-mounted display device provided in an embodiment of this application.
[0016] Figure 2 This is a flowchart illustrating steps S10-S60 of the correction method provided in the embodiments of this application.
[0017] Figure 3 This is a flowchart illustrating steps S51-S53 of the correction method provided in the embodiments of this application.
[0018] Figure 4 This is a flowchart illustrating steps S51'-S53' in the correction method provided in the embodiments of this application.
[0019] Figure 5 This is a flowchart illustrating steps S21-S23 of the correction method provided in the embodiments of this application.
[0020] Figure 6 This is a flowchart illustrating steps S31-S32 of the correction method provided in the embodiments of this application.
[0021] Figure 7 This is a schematic diagram of the functional modules of the calibration device provided in the embodiments of this application.
[0022] Explanation of main component symbols: Head-mounted display device 1, electronic device 10, memory 11, processor 12, image acquisition device 20, display device 30, correction device 100, image acquisition module 110, judgment module 120, display module 130, correction module 140. Detailed Implementation
[0023] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0024] In the description of this application, it should be understood that the terms indicating orientation or positional relationship are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, it should be noted that "a plurality of" means two or more, unless otherwise explicitly specified.
[0025] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the term "connection" should be interpreted broadly. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or a connection that allows communication between the two components; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal communication between two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0026] The following will describe some embodiments of this application in detail with reference to the accompanying drawings.
[0027] Please see Figure 1 The correction method provided in this application embodiment is applied to a head-mounted display device 1. The head-mounted display device 1 includes an electronic device 10, an image sensor 20, and a display device 30, wherein the electronic device 10 is communicatively connected to the image sensor 20 and the display device 30, respectively. Exemplarily, the head-mounted display device 1 can be AR glasses, the image sensor 20 can be a camera, a camera, etc., and the display device 30 can be a display screen.
[0028] In some embodiments of this application, the electronic device 10 is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0029] Specifically, the electronic device 10 is used to: acquire the user's eye information through the image acquisition device 20; determine whether the user is a first-time user based on the eye information and historical user information; project a preset detection image onto the user's left and right eyes through the display device 30; acquire a first image of the left eye and a first image of the right eye through the image acquisition device 20 with the same image acquisition parameters, the first image including the detection image projected onto the left eye and the second image including the detection image projected onto the right eye; and correct the projection parameters of the display device 30 onto the user's left and right eyes based on the first and second images.
[0030] In some embodiments of this application, the electronic device 10 can be communicatively connected to devices such as desktop computers, laptops, handheld computers, and cloud servers.
[0031] In some embodiments of this application, the electronic device 10 can interact with the user through a keyboard, mouse, remote control, touchpad, or voice control device.
[0032] In some embodiments of this application, the electronic device 10 may further include network devices and / or client devices. These network devices include, but are not limited to, a single network server, a server group consisting of multiple network servers, and a cloud server based on cloud computing, consisting of a large number of hosts or network servers.
[0033] In some embodiments of this application, the network where the electronic device 10 is located includes, but is not limited to, the Internet, wide area network, metropolitan area network, local area network, virtual private network (VPN), etc.
[0034] Please see Figure 2 This is a schematic diagram of the steps of a correction method provided in an embodiment of this application.
[0035] The correction method of this application embodiment is applied to a head-mounted display device 1, for example... Figure 1 The electronic device 10 in the process includes the following steps.
[0036] S10, acquires the user's eye information through the image sensor 20.
[0037] Specifically, by acquiring the user's eye information, basic data is provided for subsequent user recognition and projection correction.
[0038] In some embodiments of this application, eye information includes pupil features, interocular distance, etc., and pupil features include pupil size, shape, position, and iris texture, etc.
[0039] S20 determines whether a user is a first-time user based on eye information and historical user information.
[0040] Specifically, by acquiring the user's eye information and comparing it with historical user information, if no matching data is found in the historical user information, it is determined that the user is using the device for the first time, and the following steps are continued; if matching data is found in the historical user information, it is determined that the user is not using the device for the first time, and the display device 30 projects the image to the user's eyes according to the projection parameters in the historical user information.
[0041] S30: The preset detection image is projected onto the user's left and right eyes via the display 30.
[0042] Specifically, after determining that the user is using the device for the first time, the display unit 30 projects a preset detection image onto the user's left and right eyes, so as to provide basic data for the image acquisition unit 20 to subsequently acquire the user's binocular image information.
[0043] In some embodiments of this application, the detection image can be a digital image, a dot matrix image, a color image, etc. In this embodiment, the detection image is an image with five dot matrix features, one of which is a center dot matrix feature located at the center of the image, and the other four are edge dot matrix features arranged around the center dot matrix feature, forming a rectangle. After the display device 30 projects the detection image with five dot matrix features onto the user's left and right eyes, the head-mounted display device 1 prompts the user to look at the center dot matrix feature, aligning the user's line of sight with the center of the detection image, thereby reducing errors caused by user deviation and concentrating the user's gaze within the image acquisition range of the image acquisition device 20. This facilitates subsequent accurate detection and correction of the projection position and angle of the display device 30, and clarifies the gaze prompting and correction operation process, improving the user experience. The head-mounted display device 1 can prompt the user to look at the center dot matrix feature through voice, screen display, vibration, etc.
[0044] Furthermore, the number of display elements 30 can be one or two. When there is only one display element 30, the image of a single display element 30 is divided into two parts by optical elements and projected into the user's binoculars respectively. By using a single display element 30, the operating cost of the head-mounted display device 1 is reduced, and space utilization is improved. The optical elements can be beam splitters, polarizers, etc. When there are two display elements 30, each display element 30 directly projects the detected image into the corresponding left or right eye, reducing visual bias and thus improving the accuracy of subsequent corrections.
[0045] S40, the image acquisition unit 20 acquires a first image of the left target and a second image of the right target with the same image acquisition parameters. The first image includes a detection image projected onto the left target and the second image includes a detection image projected onto the right target.
[0046] Specifically, the image acquisition unit 20 acquires the first image of the left target and the second image of the right target with the same image acquisition parameters, so as to facilitate the subsequent correction of the projection parameters of the display unit 30 based on the first image and the second image.
[0047] Among them, the image acquisition parameters refer to the image acquisition angle, image acquisition range, image acquisition frame rate, etc., to ensure that the acquired first image and second image have the same angle, size, color, etc., so as to facilitate the subsequent correction of the projection parameters of the display device based on the first image and the second image.
[0048] In this embodiment, two image-capturing elements 20 are used. Each image-capturing element 20 acquires a first image for the left eye and a second image for the right eye, respectively. Both image-capturing elements 20 acquire image information using the same image-capturing parameters. This separate acquisition of left and right eye images by two image-capturing elements 20 better simulates the user's binocular visual mechanism, ensuring accurate acquisition of left and right eye images and facilitating precise correction of projection deviations of the display element 30. Furthermore, by using the same image-capturing parameters for both image-capturing elements 20, their viewpoints and field of view remain stable and fixed during image acquisition, preventing changes due to user head movement. This ensures that the image areas and viewing angles of the first and second images are identical, facilitating subsequent accurate comparison of the first and second images and aiding in precise correction of the projection parameters of the display element 30.
[0049] S50, based on the first and second images, corrects the projection parameters of the display 30 for the user's left and right eyes.
[0050] Specifically, by comparing the acquired first image and the second image, the deviation of the projection parameters is determined, and then the projection parameters of the display device 30 are corrected to ensure that the left and right eyes merge, thereby reducing the user's visual fatigue and discomfort and improving the user experience.
[0051] The projection parameters include the projection angle and projection position of the display device 30.
[0052] In this way, by performing the above steps, users can be accurately identified, it can be determined whether the user is a first-time user, and then the projection parameters of the display device 30 can be corrected based on the individual differences of the user, so as to ensure that the user's eyes are aligned when using the head-mounted display device 1, avoid visual fatigue, dizziness and other discomfort, and improve the user experience.
[0053] Please see Figure 1 and Figure 3 In some embodiments, step S50 specifically includes the following steps.
[0054] S51, extract the first feature of the first image and the second feature of the second image.
[0055] Specifically, the first image and the second image are acquired by the image acquisition device 20 with the same image acquisition parameters. Therefore, the first image and the second image are the same in that the image area and the image viewing angle are the same. The difference between the first image and the second image is that the projection position and projection angle of the detection images projected onto the user's left and right eyes are different. By extracting the first feature of the first image and the second feature of the second image, it is convenient to provide basic data for the subsequent correction of the projection position and projection angle of the display device 30.
[0056] In this embodiment, the detection image is the detection image with five point features as described above. The first feature is the five point features in the first image, and the second feature is the five point features in the second image.
[0057] S52, determine the deviation value between the first feature and the second feature.
[0058] Specifically, the angular and positional deviations between the first and second features are determined by comparing the first and second features.
[0059] In this embodiment, the same two-dimensional coordinate system can be established in the first image and the second image to obtain the position and angle of the first feature and the second feature in the two-dimensional coordinate system. Taking either the first feature or the second feature as a reference, the deviation between the other feature and the reference is obtained, and then the deviation value between the first feature and the second feature is determined.
[0060] S53, based on the deviation value and the preset deviation range, corrects the projection parameters of the display for the user's left and right eyes.
[0061] Specifically, the deviation value is compared with a preset deviation range. If the deviation value is within the preset range, the projection position and projection angle of the display element 30 are determined to be appropriate, and there is no need to correct the projection position and projection angle of the display element 30. If the deviation value is not within the preset range, the deviation between the first feature and the second feature is determined to be too large, and the projection position offset and projection angle offset of the display element 30 are determined. Then, the projection position and projection angle of the display element 30 are corrected to ensure binocular image convergence for the user.
[0062] The display unit 30 can be moved by a mechanical adjustment device connected to it to precisely adjust the projection position and projection angle of the display unit 30. The mechanical adjustment device can be a microelectromechanical system driver, a piezoelectric ceramic driver, etc. The projection position and projection angle of the display unit 30 can also be precisely adjusted by adjusting the light parameters and image output parameters of the display unit 30.
[0063] Thus, by executing the above steps S51-S53, by extracting the first feature of the first image and the second feature of the second image, comparing the first feature and the second feature, and then correcting the display device 30 based on the deviation value between the first feature and the second feature, the user's binocular images are aligned, thus improving the user's experience.
[0064] Please see Figure 1 and Figure 4 In some embodiments, step S50 specifically includes the following steps.
[0065] S51' Extract the first feature of the first image and the second feature of the second image.
[0066] Specifically, as described in step S51' above, by extracting the first feature of the first image and the second feature of the second image, it is convenient to provide basic data for the subsequent correction of the projection position and projection angle of the display device 30.
[0067] S52', determine the first difference value between the first feature and the preset standard feature, and determine the second difference value between the second feature and the standard feature.
[0068] Specifically, a first difference value between the first feature and the standard feature is determined by comparing the first feature and the second feature with the standard feature, and a second difference value between the second feature and the standard feature is determined. Both the first and second difference values include angular deviation and positional deviation.
[0069] The aforementioned preset features refer to a first feature or a second feature located at a preset position in the first or second image at a preset angle. In this embodiment, the same two-dimensional coordinate system can be established in the first and second images to obtain the position and angle of the first and second features in the two-dimensional coordinate system. Using a standard feature as a reference, the deviation between the first and second features and the standard feature is obtained, thereby determining a first difference value between the first feature and the standard feature, and a second difference value between the second feature and the standard feature.
[0070] S53', based on the first difference value, the second difference value and the preset deviation range, corrects the projection parameters of the display for the user's left and right eyes.
[0071] Specifically, the first difference value and the second difference value are compared with a preset deviation range. If the first difference value and / or the second difference value are within the preset deviation range, the projection position and projection angle of the display device 30 are determined to be appropriate, and there is no need to correct the projection position and projection angle of the display device 30. If the deviation value is not within the preset deviation range, it is determined that the deviation between the first feature and / or the second feature and the standard feature is too large. Then, the projection position offset and projection angle offset of the display device 30 projected onto the left eye and / or the right eye are determined, and the projection position and projection angle of the display device 30 are corrected to ensure binocular image merging for the user.
[0072] It is understood that the calibration method of the display element 30 in step S53' is the same as that in step S53. It can be calibrated by a mechanical adjustment device or by adjusting the light parameters, image output parameters and other parameters of the display element 30.
[0073] Thus, by performing the above steps S51'-S53', by extracting the first feature of the first image and the second feature of the second image, and comparing the first feature and the second feature with the standard feature respectively, the display device 30 is corrected based on the first difference value between the first feature and the standard feature and the second difference value between the second feature and the standard feature, thereby ensuring binocular image merging for the user and improving the user experience.
[0074] Please see Figure 1 and Figure 5 In some embodiments, step S20 includes the following steps.
[0075] Step S21: Extract the user's pupil features based on eye information.
[0076] Specifically, key pupil features are extracted from eye information for subsequent user identification, thereby improving the accuracy and reliability of user recognition. These pupil features include pupil size, shape, position, and iris texture.
[0077] Step S22: Match and compare the user's pupil features with the pupil features of historical user information.
[0078] Specifically, the extracted pupil features of the user are compared one by one with several sets of pupil features stored in historical user information, and their similarity is calculated. If the similarity is greater than a preset similarity value, it is determined that the user's pupil features have a matching pupil feature; if the similarity is less than the preset similarity value, it is determined that the user's pupil features do not have a matching pupil feature. For example, the preset similarity value can be 60%, 70%, 80%, 90%, 100%, etc.
[0079] Step S23: If there is no matching pupil feature in the historical user information, then the user is determined to be a first-time user.
[0080] Specifically, if the similarity in the comparison result of step S22 is lower than the preset similarity value, it is determined that the user is using the product for the first time, and the user is then prompted to continue to step S30.
[0081] Thus, by executing steps S21-S23 above, the user's pupil features are extracted from the eye information, and the user's pupil features are matched and compared with the pupil features in the historical user information. Based on the matching similarity between the user's pupil features and the pupil features in the historical user information, it is possible to accurately determine whether the user is a first-time user, which makes it easier to determine whether to execute step S30.
[0082] Please see Figure 1 and Figure 2 In some embodiments, before step S30, the correction method further includes the following steps.
[0083] Step S20': Preprocess the detection image to obtain the preprocessed detection image.
[0084] Specifically, by preprocessing the detection image, such as performing image enhancement, noise removal, and edge sharpening, the clarity and contrast of the detection image are improved, thereby effectively improving the image quality of the preprocessed detection image. This ensures that the display device 30 projects a high-quality detection image to the user's eyes, ensuring the accuracy of subsequent image information acquisition.
[0085] Please see Figure 1 and Figure 6 In some embodiments, step S30 includes the following steps.
[0086] Step S31: Determine the position of the user's left eye and right eye based on the eye information.
[0087] Specifically, by analyzing the user's eye information, the position of the user's left eye and right eye is determined, providing basic data for the subsequent projection operation of the display device 30.
[0088] Step S32: Based on the left and right eye positions, adjust the projection position of the display 30 to project the detected image onto the user's left and right eyes.
[0089] Specifically, based on the left and right eye positions determined in step S31, the projection position of the display 30 is adjusted so that the display 30 accurately projects the detection image onto the user's binoculars, avoiding the detection image from shifting out of the user's binoculars.
[0090] Thus, by performing the above steps S31 and S32, the user's left and right eye positions are determined based on the user's eye information. Based on the left and right eye positions, the projection position of the display 30 is initially adjusted to ensure that the display 30 can project the detection image onto the user's eyes, simplifying the subsequent correction steps and improving the overall correction efficiency.
[0091] Please see Figure 1 and Figure 2 In some embodiments, after step S50, the correction method further includes the following step S60.
[0092] Step S60: Store the calibrated projection parameters of the display 30 and the user's eye information.
[0093] Specifically, after the display device 30 completes the calibration, the projection parameters of the calibrated display device 30 and the user's eye information are ensured to facilitate quick matching and adjustment during subsequent use, reducing the waiting time and operational complexity for the user when using it again.
[0094] Please see Figure 7 This is a schematic diagram of the functional modules of a calibration device 100 provided in an embodiment of this application.
[0095] In some embodiments, based on the same concept as the correction method described above, this application also provides a correction device 100, which can be used to perform the correction method described above. For ease of explanation, the schematic diagram of the composition of the correction device 100 embodiment only shows the parts related to the embodiments of this application. Those skilled in the art will understand that the illustrated structure does not constitute a limitation on the correction device 100, and may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.
[0096] Specifically, the correction device 100 provided in this application embodiment includes an image acquisition module 110, a judgment module 120, a display module 130, and a correction module 140.
[0097] The image acquisition module 110 is used to acquire the user's eye information.
[0098] The judgment module 120 is used to determine whether a user is a first-time user based on eye information and historical user information.
[0099] The display module 130 is used to project a preset detection image onto the user's left and right eyes, and the image acquisition module 110 acquires a first image of the left eye and a second image of the right eye with the same image acquisition parameters. The first image includes the detection image projected onto the left eye, and the second image includes the detection image projected onto the right eye.
[0100] The correction module 140 is used to correct the projection parameters of the display 30 to the user's left and right eyes based on the first and second images.
[0101] In use, the correction device 100 of this application embodiment first acquires the user's eye information through the image acquisition device 20; secondly, based on the eye information and historical user information, it determines whether the user is a first-time user; next, it projects a preset detection image onto the user's left and right eyes through the display device 30; then, the image acquisition device 20 acquires a first image of the left eye and a first image of the right eye using the same image acquisition parameters, the first image including the detection image projected onto the left eye and the second image including the detection image projected onto the right eye; finally, based on the first and second images, it corrects the projection parameters of the display device 30 onto the user's left and right eyes. Thus, the correction device 100 can accurately identify the user, determine whether the user is a first-time user, and then, based on the user's individual differences, correct the projection parameters of the display device 30, ensuring that the user's two eyes are aligned when using the head-mounted display device 1, avoiding visual fatigue, dizziness, and other discomfort, and improving the user experience.
[0102] Combination Figure 1 As shown, in some embodiments of this application, the electronic device 10 includes, but is not limited to, a memory 11, a processor 12, and a computer program stored in the memory 11 and executable on the processor 12, such as a calibration program, which implements the calibration method as described in the above embodiments when executed by the processor 12.
[0103] Figure 1 Only the electronic device 10 with memory 11 and processor 12 is shown. It will be understood by those skilled in the art that... Figure 1 The structure shown does not constitute a limitation on the electronic device 10, and may include fewer or more components than shown, or combine certain components, or have different component arrangements.
[0104] The memory 11 in the electronic device 10 stores multiple computer-readable instructions to implement a correction method. The processor 12 can execute multiple instructions to achieve the following: acquiring the user's eye information through the image sensor 20; determining whether the user is a first-time user based on the eye information and historical user information; projecting a preset detection image onto the user's left and right eyes through the display device 30; acquiring a first image of the left eye and a first image of the right eye through the image sensor 20 with the same image acquisition parameters, the first image containing the detection image projected onto the left eye and the second image containing the detection image projected onto the right eye; and correcting the projection parameters of the display device 30 onto the user's left and right eyes based on the first and second images.
[0105] Specifically, the processor 12's implementation method for the above instructions can be found in [reference needed]. Figure 2The descriptions of the relevant steps in the corresponding embodiments are not repeated here.
[0106] Those skilled in the art will understand that the schematic diagram is merely an example of the electronic device 10 and does not constitute a limitation on the electronic device 10. The electronic device 10 can be a bus topology or a star topology. The electronic device 10 may also include more or fewer other hardware or software than shown in the diagram, or different component arrangements. For example, the electronic device 10 may also include input / output devices, network access devices, etc.
[0107] It should be noted that electronic device 10 is only an example. Other existing or future electronic products that are suitable for this application should also be included within the scope of protection of this application and are incorporated herein by reference.
[0108] The memory 11 includes at least one type of computer-readable storage medium, which can be non-volatile or volatile. Computer-readable storage media include flash memory, portable hard drives, multimedia cards, card-type memory 11 (e.g., SD memory 11, DX memory 11, etc.), magnetic memory 11, magnetic disks, optical disks, etc. In some embodiments, the memory 11 can be an internal storage unit of the electronic device 10, such as the portable hard drive of the electronic device 10. In other embodiments, the memory 11 can also be an external storage device of the electronic device 10, such as a plug-in portable hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the electronic device 10. The memory 11 can be used not only to store application software and various types of data installed on the electronic device 10, such as the code of a calibration program, but also to temporarily store data that has been output or will be output.
[0109] In some embodiments, the processor 12 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits packaged with the same or different functions. This includes one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 12 is the control unit of the electronic device 10, connecting various components of the electronic device 10 via various interfaces and lines. It executes programs or modules stored in the memory 11 (e.g., executing a calibration program) and calls data stored in the memory 11 to perform various functions and process data for the electronic device 10.
[0110] The processor 12 executes the operating system of the electronic device 10 and various installed applications. The processor 12 executes the applications to implement the steps in each of the above-described calibration method embodiments.
[0111] For example, a computer program may be divided into one or more modules / units, one or more of which are stored in memory 11 and executed by processor 12 to complete this application. One or more modules / units may be a series of computer-readable instruction segments capable of performing a specific function, which describe the execution process of the computer program in electronic device 10.
[0112] The integrated unit implemented as a software functional module described above can be stored in a computer-readable storage medium. The software functional module stored in the storage medium includes several instructions to cause a computer device (which may be a personal computer, computer equipment, or network device, etc.) or processor 12 to execute a portion of a correction method according to various embodiments of this application.
[0113] If the modules / units integrated in the electronic device 10 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware devices. The computer program can be stored in a computer-readable storage medium, and when executed by the processor 12, it can implement the steps of the various method embodiments described above.
[0114] Computer programs include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. Computer-readable media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory 11, read-only memory 11 (ROM), random access memory 11, and other memory 11, etc.
[0115] Furthermore, the computer-readable storage medium may primarily include a stored program area and a stored data area, wherein the stored program area may store the operating system, an application program required for at least one function, etc.; and the stored data area may store data created based on the use of blockchain nodes, etc.
[0116] The bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, in... Figure 1 The symbol is represented by only one arrow, but this does not mean that there is only one bus or one type of bus. The bus is configured to implement communication between memory 11 and at least one processor 12, etc.
[0117] This application also provides a computer-readable storage medium (not shown), which stores computer-readable instructions that are executed by a processor 12 in an electronic device 10 to implement a correction method of any of the above embodiments.
[0118] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.
[0119] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0120] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional modules.
[0121] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices described in the specification may also be implemented by a single unit or device through software or hardware. Terms such as "first," "second," etc., are used to indicate names and do not indicate any specific order.
[0122] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this application without departing from the spirit and scope of the technical solutions of this application.
Claims
1. A calibration method, characterized in that, The method is applied to a head-mounted display device, which includes an image-capturing element and a display element, and the calibration method includes: The image sensor acquires the user's eye information; Based on the eye information and historical user information, it is determined whether the user is a first-time user; The preset detection image is projected onto the user's left and right eyes through the display device; The image acquisition device acquires a first image of the left target and a second image of the right target using the same image acquisition parameters. The first image includes the detection image projected onto the left target, and the second image includes the detection image projected onto the right target. Based on the first image and the second image, the projection parameters of the display for the user's left and right eyes are corrected.
2. The correction method as described in claim 1, characterized in that, The step of "correcting the projection parameters of the display for the user's left and right eyes based on the first image and the second image" includes: Extract the first feature from the first image and the second feature from the second image; Determine the deviation value between the first feature and the second feature; Based on the deviation value and the preset deviation range, the projection parameters of the display for the user's left and right eyes are corrected.
3. The correction method as described in claim 1, characterized in that, The step of "correcting the projection parameters of the display for the user's left and right eyes based on the first image and the second image" includes: Extract the first feature from the first image and the second feature from the second image; Determine a first difference value between the first feature and a preset standard feature, and determine a second difference value between the second feature and the standard feature; Based on the first difference value, the second difference value, and a preset deviation range, the projection parameters of the display device onto the user's left and right eyes are corrected.
4. The correction method as described in claim 1, characterized in that, The step of "determining whether the user is a first-time user based on the eye information and historical user information" includes: Based on the eye information, extract the user's pupil features; The user's pupil features are matched and compared with the pupil features of the historical user information; If no matching pupil feature is found in the historical user information, the user is determined to be a first-time user.
5. The correction method as described in claim 1, characterized in that, Before the step of "projecting a preset detection image onto the user's left and right eyes via the display device", the correction method further includes: The detected image is preprocessed to obtain the preprocessed detected image.
6. The correction method as described in claim 1, characterized in that, The step of "projecting a preset detection image onto the user's left and right eyes via the display device" includes: Based on the eye information, the position of the user's left eye and right eye are determined; Based on the left and right eye positions, the projection position of the display is adjusted to project the detected image onto the user's left and right eyes.
7. The correction method as described in claim 1, characterized in that, Following the step of "correcting the projection parameters of the display device for the user's left and right eyes based on the first image and the second image", the correction method further includes: The projection parameters of the display device and the eye information of the user are stored after correction.
8. A calibration device, characterized in that, Applied to a head-mounted display device, the head-mounted display device including a display element and an image capturing element, the correction device includes: The image acquisition module is used to acquire the user's eye information; The judgment module is used to determine whether the user is a first-time user based on the eye information and historical user information; A display module is used to project a preset detection image onto the user's left and right eyes, and an image acquisition module acquires a first image of the left eye and a second image of the right eye using the same image acquisition parameters. The first image includes the detection image projected onto the left eye, and the second image includes the detection image projected onto the right eye. A correction module is used to correct the projection parameters of the display for the user's left and right eyes based on the first image and the second image.
9. An electronic device, characterized in that, The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the correction method as described in any one of claims 1 to 7.
10. A head-mounted display device, characterized in that, It includes the electronic device as described in claim 9, and an image capturing device and a display device communicatively connected to the electronic device.
