Double-handle positioning method and head-mounted display device
By adjusting the lighting flashing parameters of the dual-handle LED lights, identifying and locating the second handle, and then restoring the flashing rules of the first handle to locate the first handle, the accuracy and low efficiency of dual-handle positioning tracking in VR and AR applications are solved. question.
Patent Information
- Application Number
- CN202310904836.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-21
- Publication Date
- 2025-01-21
AI Technical Summary
In VR and AR application scenarios, the positioning tracking of dual handles cannot be distinguished from left and right handles, resulting in low positioning accuracy and efficiency.
By adjusting the light flashing parameters of the LED light of the first handle in the dual handles, different flashing rules are used to identify and locate the second handle, and then the flashing rules of the first handle are restored to locate the first handle.
It realizes the rapid identification and positioning of dual handles, improves the accuracy and efficiency of positioning, and avoids the problem of indistinguishability between the left and right handles.
Smart Images

Figure CN119339048A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of virtual reality technology, and in particular to a dual-handle positioning method and a head-mounted display device. Background Art
[0002] VR (Virtual Reality) helmets and industrial AR (Augmented Reality) glasses display applications are widely used in various industries. For example, in education and training, fire drills, virtual driving, and real estate projects. While bringing users an immersive visual feast, natural and smooth interaction is the most important manifestation of user satisfaction in user experience. Head control and handle control are indispensable interaction methods.
[0003] At present, there are two types of positioning and tracking for dual handles in VR and AR devices: 3DOF (3 Degrees of Freedom) and 6DOF (6 Degrees of Freedom). Among them, 6DOF is the current mainstream control interaction method, so the application scenario of this solution is mainly the positioning and tracking of dual handles in 6DOF. In the current VR and AR application scenario interaction, when the user is interacting with the virtual reality environment, the handle IMU (Inertial Measurement Unit) and the flashing light spot of the light ring are used to locate and track the dual handles. There will be a situation where the left and right handles cannot be distinguished, which will lead to low accuracy and efficiency in the positioning of the dual handles. Summary of the invention
[0004] The present application provides a dual-handle positioning method and a head-mounted display device, which are used to quickly locate the positions of the left and right handles in the dual handles, thereby improving the accuracy and efficiency of the dual-handle positioning.
[0005] In a first aspect, an embodiment of the present application provides a dual-handle positioning method, the method comprising:
[0006] When it is determined that the two handles meet the light flashing rule change condition, the current light flashing rule of the first handle is changed from the first flashing rule to the second flashing rule, wherein the light flashing parameters adjusted by the first flashing rule and the second flashing rule are the same, but the adjustment values of the light flashing parameters are different;
[0007] Using the second flashing rule to adjust the light flashing parameters of the LED light in the first handle, wherein the light flashing parameters include light brightness and / or light flashing cycle;
[0008] Positioning a second handle of the dual handles to obtain a position of the second handle, wherein a current light flashing rule of the second handle is the first flashing rule, and a first light flashing cycle in the first flashing rule is the same as a shooting cycle of a camera in a head display device;
[0009] The current light flashing rule of the first handle is replaced with the first flashing rule, and after the light flashing parameters of the LED light in the first handle are adjusted using the first flashing rule, the first handle is positioned to obtain the position of the first handle.
[0010] A second aspect of the present application provides a VR device, including a processor and a memory, wherein the processor and the memory are connected via a bus;
[0011] The memory stores a computer program, and the processor is configured to perform the following operations based on the computer program:
[0012] When it is determined that the two handles meet the light flashing rule change condition, the current light flashing rule of the first handle is changed from the first flashing rule to the second flashing rule, wherein the light flashing parameters adjusted by the first flashing rule and the second flashing rule are the same, but the adjustment values of the light flashing parameters are different;
[0013] Using the second flashing rule to adjust the light flashing parameters of the LED light in the first handle, wherein the light flashing parameters include light brightness and / or light flashing cycle;
[0014] Positioning a second handle of the dual handles to obtain a position of the second handle, wherein a current light flashing rule of the second handle is the first flashing rule, and a first light flashing cycle in the first flashing rule is the same as a shooting cycle of a camera in a head display device;
[0015] The current light flashing rule of the first handle is replaced with the first flashing rule, and after the light flashing parameters of the LED light in the first handle are adjusted using the first flashing rule, the first handle is positioned to obtain the position of the first handle.
[0016] According to a third aspect provided by an embodiment of the present invention, a computer storage medium is provided, wherein the computer storage medium stores a computer program, and the computer program is used to execute the method as described in the first aspect.
[0017] In the above embodiment of the present application, when it is determined that the two handles meet the light flashing rule change conditions, the light flashing parameters of the LED light in the first handle of the two handles are adjusted, and the light flashing rule of the second handle is kept unchanged. Since the flashing rules of the two handles are different, the second handle can be identified and located, and then the light flashing mechanism of the first handle is restored to the first flashing rule, and the position of the first handle can be located. Therefore, in the embodiment of the present application, the left and right handles can be quickly identified and located, and the left and right handles will not be indistinguishable, thereby improving the accuracy and efficiency of the positioning of the left and right handles. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0019] Figure 1 A schematic diagram showing a dual handle facing away from a head-mounted display device provided in an embodiment of the present application is exemplified;
[0020] Figure 2 A schematic diagram showing, by way of example, a dual handle provided in an embodiment of the present application entering the camera field of view of a head-mounted display device;
[0021] Figure 3 The schematic diagram exemplarily shows the flow chart of the positioning method of the double handles provided in the embodiment of the present application;
[0022] Figure 4 The schematic diagram of the structure of the head-mounted display device provided in the embodiment of the present application is exemplarily shown;
[0023] Figure 5 The schematic diagram exemplarily shows the flow chart of the positioning method of the double handles provided in the embodiment of the present application;
[0024] Figure 6 One of the schematic diagrams for determining the flashing cycle of the double handles provided in the embodiment of the present application is exemplarily shown;
[0025] Figure 7 The second schematic diagram of the flashing cycle of the double handle provided in the embodiment of the present application is exemplarily shown;
[0026] Figure 8 The third schematic diagram of the flashing cycle of the double handle provided in the embodiment of the present application is exemplarily shown;
[0027] Fig. 9 The second flowchart of the dual-handle positioning method provided in the embodiment of the present application is exemplarily shown;
[0028] Fig.10 A schematic diagram of a double-handle positioning device provided in an embodiment of the present application is exemplarily shown. DETAILED DESCRIPTION
[0029] In order to make the purpose, implementation mode and advantages of the present application clearer, the exemplary implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0030] Based on the exemplary embodiments described in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the claims attached to this application. In addition, although the disclosure in this application is introduced according to one or several exemplary examples, it should be understood that each aspect of the disclosure can also constitute a complete implementation method separately.
[0031] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0032] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover but not exclude inclusion, for example, a product or device comprising a series of components is not necessarily limited to those components clearly listed, but may include other components not clearly listed or inherent to these products or devices.
[0033] The term "module" as used in this application refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or combination of hardware and / or software code that is capable of performing the functions associated with that element.
[0034] The idea of the embodiments of the present application is summarized below.
[0035] In the existing technology, in the current VR and AR application scene interaction, when the user is interacting with the virtual reality environment, the left and right handles cannot be quickly distinguished when the handle IMU (Inertial Measurement Unit) and the flashing light spot of the light ring are used to locate and track the two handles. There are mainly two situations:
[0036] Case 1: If Figure 1 As shown, when the back of the light ring of the double handles is opposite to the front of the head display device, there will be interference of the same light spot in the double handles. Distinguishing the light spots will undoubtedly increase the calculation amount of the algorithm. In this environment, it will cause inaccurate positioning of the double handles and low efficiency.
[0037] Case 2: If Figure 2 As shown in the figure, the two handles enter the camera field of view from both sides of the camera field of view of the head display device at the same time, which is equivalent to the two handles suddenly entering the camera field of view. This situation is equivalent to a process from scratch, without positioning and tracking information, and it is impossible to distinguish the left and right handles at this time, so it will cause inaccurate positioning of the two handles and low efficiency.
[0038] In order to solve the problem of inaccurate and inefficient positioning of dual handles caused by the inability to distinguish between the left and right handles in the prior art. The embodiment of the present application provides a dual handle positioning method. When it is determined that the dual handles meet the light flashing rule replacement conditions, the light flashing parameters of the LED light in the first handle of the dual handles are adjusted, and the light flashing rule of the second handle is kept unchanged. The handle of the second handle can be directly located, and then the light flashing mechanism of the first handle is restored to the first flashing mechanism, and the position of the first handle can be located. Therefore, in the embodiment of the present application, the left and right handles can be quickly identified and positioned, and the left and right handles will not be unable to be distinguished, thereby improving the accuracy and efficiency of the positioning of the left and right handles.
[0039] The positioning method of the double handles in the present application is described in detail below with reference to the accompanying drawings.
[0040] like Figure 3 , which is a schematic diagram of an application scenario of a dual-handle positioning method, wherein the application scenario includes a head display device 301, a first handle 302, and a second handle 303.
[0041] In a possible application scenario, when the head display device 301 determines that the first handle 302 and the second handle 303 meet the light flashing rule replacement condition, the current light flashing rule of the first handle 302 is changed from the first flashing rule to the second flashing rule, wherein the light flashing parameters adjusted by the first flashing rule and the second flashing rule are the same, but the adjustment values of the light flashing parameters are different; the head display device 301 uses the second flashing rule to adjust the light flashing parameters of the LED light in the first handle 302, wherein the light flashing parameters include light brightness and / or light flashing cycle; the head display device 301 locates the second handle 303 in the double handles to obtain the position of the second handle; then the head display device 301 replaces the current light flashing rule of the first handle 302 with the first flashing rule, and after adjusting the light flashing parameters of the LED light in the first handle 302 using the first flashing rule, locates the first handle 102 to obtain the position of the first handle 302.
[0042] in, Figure 3 The head display device 301 and the first handle 302 and the second handle 303 in the double handle can exchange information through wireless communication.
[0043] Exemplarily, the head display device 301 can access the network through cellular mobile communication technology to communicate with the first handle 302 and the second handle 303 in the dual handles, wherein the cellular mobile communication technology, for example, includes the fifth generation mobile communication (5th Generation Mobile Networks, 5G) technology.
[0044] Optionally, the head display device 301 can access the network through short-range wireless communication to communicate with the first handle 302 and the second handle 303 in the dual handles, wherein the short-range wireless communication method, for example, includes Wireless Fidelity (Wi-Fi) technology.
[0045] Among them, the description in this application only details a single head display device 301, a single first handle 302, and a single second handle 303, but those skilled in the art should understand that the head display device 301, the first handle 302, and the second handle 303 shown are intended to represent the operation of the head display device 301, the first handle 302, and the second handle 303 involved in the technical solution of this application. It does not imply that there is a limitation on the number, type, or position of the head display device 301, the first handle 302, and the second handle 303. It should be noted that if additional modules are added to the illustrated environment or individual modules are removed therefrom, the underlying concept of the exemplary embodiment of this application will not be changed.
[0046] It should be noted that the dual handle positioning proposed in this application is not only applicable to Figure 3 The application scenario shown is also applicable to any positioning device with double handles.
[0047] The following describes the dual-handle positioning method of the exemplary embodiment of the present application in combination with the application scenarios described above and with reference to the accompanying drawings. It should be noted that the above application scenarios are only shown to facilitate understanding of the methods and principles of the present application, and the implementation methods of the present application are not limited in this regard.
[0048] Before introducing the positioning method of the dual handles in the embodiment of the present application, the head display device in the present application is first introduced. Figure 4 The head display device 400 includes a main chip 401 and a micro control unit 402, wherein a first interface 4011 of the main chip 401 is connected to a second interface 4021 of the micro control unit 402, and a third interface 4012 of the main chip 401 is connected to a fourth interface 4022 of the micro control unit, wherein:
[0049] When the main chip 401 determines that the two handles meet the light flashing rule change condition, it sends a high-level signal to the micro control unit 402 through the first interface 4011, and sends a low-level signal to the micro control unit 402 through the third interface. The micro control unit 402 changes the current light flashing rule of the first handle from the first flashing rule to the second flashing rule based on the high-level signal received by the second interface, and uses the second flashing rule to send a light flashing parameter adjustment instruction to the first handle, so that the first handle adjusts its own light flashing parameters according to the light flashing parameter adjustment instruction. Since the low-level signal is received through the fourth interface, and the current light flashing rule of the second handle is already the first flashing rule, the light flashing rule of the second handle is not adjusted. Then the second handle of the two handles is located to obtain the position of the second handle.
[0050] After determining the position of the second handle, the main chip 401 sends a low-level signal to the microcontroller unit 402 through the first interface 4011, and sends a low-level signal to the microcontroller unit 402 through the third interface. After receiving the low-level signal through the second interface and the fourth interface, the microcontroller unit 402 replaces the current light flashing rule of the first handle with the first flashing rule, and uses the first flashing rule to send a light flashing parameter adjustment instruction to the first handle, so that the first handle adjusts the light flashing parameters of its own LED light, and then the microcontroller unit locates the first handle to obtain the position of the first handle. The current light flashing rule of the second handle is already the first flashing rule, so the light flashing rule of the second handle is not adjusted.
[0051] Each interface in the embodiment of the present application may be a GPIO (GeneraI-purpose input / output), but the embodiment of the present application does not limit the type of interface, and the specific interface type may be set according to actual conditions.
[0052] like Figure 5 FIG. 1 is a flow chart of a dual-handle positioning method, which may include the following steps:
[0053] Step 501: when it is determined that the two handles meet the light flashing rule change condition, the current light flashing rule of the first handle is changed from the first flashing rule to the second flashing rule, wherein the light flashing parameters adjusted by the first flashing rule and the second flashing rule are the same, but the adjustment values of the light flashing parameters are different;
[0054] In the embodiment of the present application, the first handle can be a left handle or a right handle, and can be specifically set according to actual conditions. The implementation of the present application does not limit the first handle and the second handle.
[0055] The conditions for changing the light flashing rules implemented in this application include:
[0056] Condition 1: The back of the light ring of the first handle of the dual handles is opposite to the front of the head display device, and the back of the light ring of the second handle of the dual handles is opposite to the front of the head display device. Figure 1 The situation shown.
[0057] Condition 2: Both handles enter the camera's field of view from both sides of the camera's field of view. Figure 2 The situation shown.
[0058] If the double handles in the embodiment of the present application meet any one of the above-mentioned light flashing rule changing conditions, it is determined that the double handles meet the light flashing rules; otherwise, it is determined that the double handles do not meet the light flashing rules, that is, the left and right handles in the double handles can be identified at present, and there is no need to change the light flashing rules of the handles to realize the positioning of the double handles.
[0059] Step 502: using the second flashing rule to adjust the light flashing parameters of the LED light in the first handle, wherein the light flashing parameters include light brightness and / or light flashing cycle;
[0060] The light flashing cycle in the embodiment of the present application includes the light on time and the light off time in one cycle. The second flashing rule in the embodiment of the present application includes a second brightness adjustment rule and / or a second light flashing cycle adjustment rule; in one embodiment, step 502 can be specifically implemented as the following three situations:
[0061] Case 1: If the second flashing rule is the second brightness adjustment rule, the light brightness of the LED light in the first handle is adjusted based on the second brightness adjustment rule.
[0062] Case 2: If the second flashing rule is a second light flashing cycle adjustment rule, the light flashing cycle of the LED light in the first handle is adjusted based on the second light flashing cycle adjustment rule.
[0063] Case three: If the first lighting rule is the second brightness adjustment rule and the second light flashing cycle adjustment rule, the light brightness of the LED light in the first handle is adjusted based on the second brightness adjustment rule, and the light flashing cycle of the LED light in the first handle is adjusted based on the second light flashing cycle adjustment rule.
[0064] Step 503: positioning the second handle of the dual handles to obtain the position of the second handle, wherein the current light flashing rule of the second handle is the first flashing rule, and the first light flashing cycle in the first flashing rule is the same as the shooting cycle of the camera in the head display device;
[0065] In the embodiment of the present application, the method for positioning the second handle can use the handle IMU and the flashing light spot of the light ring to position the second handle. This method belongs to the method in the prior art, and the embodiment of the present application will not be repeated here. In addition, the specific positioning method of the first handle and the second handle in the embodiment of the present application is not limited here, and the specific positioning method can be set according to the actual situation.
[0066] Step 504: Replace the current light flashing rule of the first handle with the first flashing rule, and adjust the light flashing parameters of the LED light in the first handle using the first flashing rule, then locate the first handle to obtain the position of the first handle.
[0067] The first flashing rule in the embodiment of the present application includes a first brightness adjustment rule and a first light flashing cycle adjustment rule.
[0068] In one embodiment, step 504 may be specifically implemented as follows:
[0069] If the light flashing parameters adjusted by the first handle using the second flashing rule include light brightness, the light brightness of the LED light in the first handle is adjusted based on the first brightness adjustment rule; and / or, if the light flashing parameters adjusted by the first handle using the second flashing rule include light flashing cycle, the light flashing cycle of the LED light in the first handle is adjusted based on the first light flashing cycle adjustment rule.
[0070] Among them, the first brightness adjustment rule in the embodiment of the present application includes setting the light brightness to the first specified brightness, and the second brightness adjustment rule includes setting the light brightness to the second specified brightness or turning off the light, and the first specified brightness is different from the second specified brightness. And the first light flashing cycle adjustment rule is to set the light flashing cycle to the first specified cycle, and the second light flashing cycle is to set the light flashing cycle to the second specified cycle, and the first specified cycle is different from the second specified cycle.
[0071] like Figure 6 As shown in FIG. 1 , when the light flashing rule of the first handle is the first flashing rule, and the light flashing rule of the second handle is the second flashing rule, the light flashing cycle of the first handle, the light flashing cycle of the second handle, and the shooting cycle of the camera are all the same. If the light flashing cycle of the first handle is increased using the second flashing rule, as shown in FIG. Figure 7 As shown, the flashing cycle of the light in the first handle is increased, and the flashing cycle of the light in the second handle and the camera shooting cycle remain unchanged. Figure 7 As can be seen from the figure, when the camera is shooting, only the LED light of the second handle is flashing, so the light spot captured can be directly obtained as the light spot in the second handle, and the position of the second handle can be directly located. Since the position of the second handle is known, the flashing mechanism of the first handle can be restored to directly obtain the position of the first handle. Figure 8 As shown, it is a schematic diagram of the cycle after the flashing mechanism of the first handle is restored. Figure 8 As can be seen from the figure, the camera can capture both the first handle and the second handle. Since the second handle has been identified before, it is possible to directly determine which handle is the second handle from the two handles and then locate the second handle. Thus, the positions of the two handles are obtained.
[0072] Similarly, if the flashing cycle of the light of the first handle is reduced, the shooting cycle of the camera is still the same as the flashing cycle of the light of the second handle, so the camera can only shoot the second handle, so the position of the second handle can be identified and located, and then the flashing rule of the light of the first handle is restored to the flashing rule of the first light. Then the position of the first handle can be identified and located.
[0073] In the embodiment of the present application, when the light brightness of the first handle and the second handle are different, the size of the obtained light spot is different. For example, if the light brightness of the first handle is less than the light brightness of the second handle, the size of the light spot of the first handle is larger than the size of the light spot of the second handle. The position of the second handle can be directly determined by the light spot with a larger size. Since the light spot size of the first handle is smaller, it may cause inaccurate positioning, so it is necessary to restore the light brightness of the first handle to the original brightness, and then locate the first handle. Or when the LED light of the first handle is turned off, the handle light spot image captured by the camera can only be that of the second handle, so the position of the second handle can be directly located, and then the LED light of the first handle is turned on, and the second handle can be located at this time. Therefore, the position of the two handles can be directly located.
[0074] To further improve the accuracy, in one embodiment, the difference between the first specified brightness and the second specified brightness is greater than a specified threshold value to ensure that the light spots corresponding to the two handles are different.
[0075] The dual-handle positioning method in the embodiment of the present application can be completed within 1 to 3 frames. According to the visual inertia characteristics of the human eye, that is, when a light pulse stimulates the human eye, the establishment and disappearance of vision require a certain process, that is, there is a certain inertia. After the light source disappears, the image of the scene will remain in the vision for a period of time, which is called visual persistence or visual inertia, generally in 0.05 to 0.2s. If the camera frame rate is 25Hz, one frame takes 40ms, and the time range of 1-3 frames is 40ms to 120ms. Therefore, the distinction process will not be noticed by the user, achieving high user experience and natural interaction.
[0076] In order to further connect the method in this application, the positioning method of the dual handle in this application is introduced in combination with the usage scenario. Fig. 9 FIG. 1 is a flow chart of the dual-handle positioning method in the present application, which may include the following steps:
[0077] Step 901: Determine whether the two handles meet the light flashing rule change condition, if yes, execute step 902, if no, end; wherein the light flashing rule change condition includes: the back of the light ring of the first handle of the two handles is opposite to the front of the head display device, and the back of the light ring of the second handle of the two handles is opposite to the front of the head display device; or the two handles enter the field of view of the camera from both sides of the field of view of the camera;
[0078] Step 902: changing the current light flashing rule of the first handle from the first flashing rule to the second flashing rule, wherein the light flashing parameters adjusted by the first flashing rule and the second flashing rule are the same, but the adjustment values of the light flashing parameters are different;
[0079] Step 903: using the second flashing rule to adjust the light flashing parameters of the LED light in the first handle, wherein the light flashing parameters include light brightness and / or light flashing cycle;
[0080] Step 904: positioning the second handle of the dual handles to obtain the position of the second handle, wherein the current light flashing rule of the second handle is the first flashing rule, and the first light flashing cycle in the first flashing rule is the same as the shooting cycle of the camera in the head display device;
[0081] Step 905: replacing the current light flashing rule of the first handle with the first flashing rule;
[0082] Step 906: After adjusting the light flashing parameters of the LED light in the first handle by using the first flashing rule, the first handle is positioned to obtain the position of the first handle.
[0083] Based on the same inventive concept, the double-handle positioning method disclosed above can also be implemented by a double-handle positioning device. The effect of the double-handle positioning device is similar to that of the above method, and will not be described in detail here.
[0084] Fig.10 It is a schematic structural diagram of a dual-handle positioning device according to an embodiment of the present disclosure.
[0085] like Fig.10 As shown, the dual-handle positioning device 1000 of the present disclosure may include a flickering rule updating module 1010 , a light flickering parameter adjusting module 1020 , a positioning module 1030 and a flickering rule restoring module 1040 .
[0086] The flashing rule updating module 1010 is used to change the current flashing rule of the first handle from the first flashing rule to the second flashing rule when it is determined that the two handles meet the light flashing rule change condition, wherein the light flashing parameters adjusted by the first flashing rule and the second flashing rule are the same, but the adjustment values of the light flashing parameters are different;
[0087] A light flicker parameter adjustment module 1020, configured to adjust the light flicker parameters of the LED light in the first handle using the second flicker rule, wherein the light flicker parameters include light brightness and / or light flicker period;
[0088] a positioning module 1030, configured to locate the second handle of the dual handles to obtain a position of the second handle, wherein a current light flashing rule of the second handle is the first flashing rule, and a first light flashing cycle in the first flashing rule is the same as a shooting cycle of a camera in a head display device;
[0089] The flashing rule recovery module 1040 is used to replace the current light flashing rule of the first handle with the first flashing rule, and after adjusting the light flashing parameters of the LED light in the first handle using the first flashing rule, locate the first handle to obtain the position of the first handle.
[0090] In one embodiment, the first flashing rule includes a first brightness adjustment rule and a first light flashing cycle adjustment rule;
[0091] The flicker rule recovery module 1040 is specifically used for:
[0092] If the light flashing parameter adjusted by the first handle using the second flashing rule includes light brightness, then adjusting the light brightness of the LED light in the first handle based on the first brightness adjustment rule; and / or,
[0093] If the light flashing parameters adjusted by the first handle using the second flashing rule include a light flashing cycle, the light flashing cycle of the LED light in the first handle is adjusted based on the first light flashing cycle adjustment rule.
[0094] In one embodiment, the second flashing rule includes a second brightness adjustment rule and / or a second light flashing cycle adjustment rule;
[0095] The light flicker parameter adjustment module 1020 is specifically used for:
[0096] If the second flashing rule is the second brightness adjustment rule, then adjusting the light brightness of the LED light in the first handle based on the second brightness adjustment rule; or,
[0097] If the second flashing rule is a second light flashing cycle adjustment rule, the light flashing cycle of the LED light in the first handle is adjusted based on the second light flashing cycle adjustment rule; or,
[0098] If the first lighting rule is a second brightness adjustment rule and a second light flashing cycle adjustment rule, the light brightness of the LED light in the first handle is adjusted based on the second brightness adjustment rule, and the light flashing cycle of the LED light in the first handle is adjusted based on the second light flashing cycle adjustment rule.
[0099] In one embodiment, the first brightness adjustment rule includes setting the light brightness to a first specified brightness, and the second brightness adjustment rule includes setting the light brightness to a second specified brightness or turning off the light, and the first specified brightness is different from the second specified brightness;
[0100] The first light flashing cycle adjustment rule is to set the light flashing cycle to a first designated cycle, and the second light flashing cycle is to set the light flashing cycle to a second designated cycle, and the first designated cycle is different from the second designated cycle.
[0101] In one embodiment, the light flashing rule changing conditions include:
[0102] The back of the light ring of the first handle of the dual handles is opposite to the front of the head display device, and the back of the light ring of the second handle of the dual handles is opposite to the front of the head display device; or,
[0103] The double handles both enter the camera's field of view from both sides of the camera's field of view.
[0104] In some possible implementations, various aspects of a dual-handle positioning method provided by the present invention may also be implemented in the form of a program product, which includes program code. When the program product runs on a computer device, the program code is used to enable the computer device to execute the steps of the various exemplary dual-handle positioning methods according to the present invention described above in this specification.
[0105] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A double handle positioning method, characterized in that: The method comprises: When it is determined that the two handles meet the light flashing rule change condition, the current light flashing rule of the first handle is changed from the first flashing rule to the second flashing rule, wherein the light flashing parameters adjusted by the first flashing rule and the second flashing rule are the same, but the adjustment values of the light flashing parameters are different; Using the second flashing rule to adjust the light flashing parameters of the LED light in the first handle, wherein the light flashing parameters include light brightness and / or light flashing cycle; Positioning a second handle of the dual handles to obtain a position of the second handle, wherein a current light flashing rule of the second handle is the first flashing rule, and a first light flashing cycle in the first flashing rule is the same as a shooting cycle of a camera in a head display device; The current light flashing rule of the first handle is replaced with the first flashing rule, and after the light flashing parameters of the LED light in the first handle are adjusted using the first flashing rule, the first handle is positioned to obtain the position of the first handle.
2. The method according to claim 1, characterized in that The first flashing rule includes a first brightness adjustment rule and a first light flashing cycle adjustment rule; The step of adjusting the light flashing parameters of the LED light in the first handle by using the first flashing rule includes: If the light flashing parameter adjusted by the first handle using the second flashing rule includes light brightness, then adjusting the light brightness of the LED light in the first handle based on the first brightness adjustment rule; and / or, If the light flashing parameters adjusted by the first handle using the second flashing rule include a light flashing cycle, the light flashing cycle of the LED light in the first handle is adjusted based on the first light flashing cycle adjustment rule.
3. The method according to claim 1, characterized in that The second flashing rule includes a second brightness adjustment rule and / or a second light flashing cycle adjustment rule; The step of adjusting the light flashing parameters of the LED light in the first handle by using the preset second flashing rule includes: If the second flashing rule is the second brightness adjustment rule, then adjusting the light brightness of the LED light in the first handle based on the second brightness adjustment rule; or, If the second flashing rule is a second light flashing cycle adjustment rule, the light flashing cycle of the LED light in the first handle is adjusted based on the second light flashing cycle adjustment rule; or, If the first lighting rule is a second brightness adjustment rule and a second light flashing cycle adjustment rule, the light brightness of the LED light in the first handle is adjusted based on the second brightness adjustment rule, and the light flashing cycle of the LED light in the first handle is adjusted based on the second light flashing cycle adjustment rule.
4. The method according to claim 2 or 3, characterized in that: The first brightness adjustment rule includes setting the light brightness to a first specified brightness, and the second brightness adjustment rule includes setting the light brightness to a second specified brightness or turning off the light, and the first specified brightness is different from the second specified brightness; The first light flashing cycle adjustment rule is to set the light flashing cycle to a first designated cycle, and the second light flashing cycle is to set the light flashing cycle to a second designated cycle, and the first designated cycle is different from the second designated cycle.
5. The method according to claim 1, characterized in that The light flashing rule change conditions include: The back of the light ring of the first handle of the dual handles is opposite to the front of the head display device, and the back of the light ring of the second handle of the dual handles is opposite to the front of the head display device; or, The double handles both enter the camera's field of view from both sides of the camera's field of view.
6. A head mounted display device, characterized in that: comprising a processor and a memory, wherein the processor and the memory are connected via a bus; The memory stores a computer program, and the processor is configured to perform the following operations based on the computer program: When it is determined that the two handles meet the light flashing rule change condition, the current light flashing rule of the first handle is changed from the first flashing rule to the second flashing rule, wherein the light flashing parameters adjusted by the first flashing rule and the second flashing rule are the same, but the adjustment values of the light flashing parameters are different; Using the second flashing rule to adjust the light flashing parameters of the LED light in the first handle, wherein the light flashing parameters include light brightness and / or light flashing cycle; Positioning a second handle of the dual handles to obtain a position of the second handle, wherein a current light flashing rule of the second handle is the first flashing rule, and a first light flashing cycle in the first flashing rule is the same as a shooting cycle of a camera in a head display device; The current light flashing rule of the first handle is replaced with the first flashing rule, and after the light flashing parameters of the LED light in the first handle are adjusted using the first flashing rule, the first handle is positioned to obtain the position of the first handle.
7. The head mounted display device according to claim 6, wherein: The first flashing rule includes a first brightness adjustment rule and a first light flashing cycle adjustment rule; The processor executes the step of adjusting the light flashing parameter of the LED light in the first handle by using the first flashing rule, and is specifically configured as follows: If the light flashing parameter adjusted by the first handle using the second flashing rule includes light brightness, then adjusting the light brightness of the LED light in the first handle based on the first brightness adjustment rule; and / or, If the light flashing parameters adjusted by the first handle using the second flashing rule include a light flashing cycle, the light flashing cycle of the LED light in the first handle is adjusted based on the first light flashing cycle adjustment rule.
8. The head mounted display device according to claim 6, wherein: The second flashing rule includes a second brightness adjustment rule and / or a second light flashing cycle adjustment rule; The processor executes the step of adjusting the light flashing parameters of the LED light in the first handle by using the preset second flashing rule, and is specifically configured as follows: If the second flashing rule is the second brightness adjustment rule, then adjusting the light brightness of the LED light in the first handle based on the second brightness adjustment rule; or, If the second flashing rule is a second light flashing cycle adjustment rule, adjusting the light flashing cycle of the LED light in the first handle based on the second light flashing cycle adjustment rule; or, If the first lighting rule is a second brightness adjustment rule and a second light flashing cycle adjustment rule, the light brightness of the LED light in the first handle is adjusted based on the second brightness adjustment rule, and the light flashing cycle of the LED light in the first handle is adjusted based on the second light flashing cycle adjustment rule.
9. The head display device according to claim 7 or 8, characterized in that: The first brightness adjustment rule includes setting the light brightness to a first specified brightness, and the second brightness adjustment rule includes setting the light brightness to a second specified brightness or turning off the light, and the first specified brightness is different from the second specified brightness; The first light flashing cycle adjustment rule is to set the light flashing cycle to a first designated cycle, and the second light flashing cycle is to set the light flashing cycle to a second designated cycle, and the first designated cycle is different from the second designated cycle.
10. The head mounted display device according to claim 6, wherein: The light flashing rule change conditions include: The back of the light ring of the first handle of the dual handles is opposite to the front of the head display device, and the back of the light ring of the second handle of the dual handles is opposite to the front of the head display device; or, The double handles both enter the camera's field of view from both sides of the camera's field of view.