Head-mounted display equipment, handle identification method and device thereof and handle equipment
Through the camera collecting and analyzing the handle spot image, the angular information of the polygonal spot is used to identify the target handle device, which solves the problem of head-mounted display devices identifying unequipped handle devices in a multi-machine environment, improves the accuracy of handle recognition and reduces Multiple machine crosstalk.
Patent Information
- Application Number
- CN202310540445.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-15
- Publication Date
- 2024-11-15
AI Technical Summary
Head-mounted display devices can easily identify unequipped handle devices in a multi-machine environment, resulting in multi-machine crosstalk problems and affecting user experience.
The handle spot image is collected through the camera, the effective spot is identified based on the spot shape information, the target handle equipment is determined, and the angular information of the polygonal spot is used to improve the handle recognition accuracy and reduce error recognition.
Effectively identify supporting handle equipment, reduce error recognition of unsuited equipment, improve handle recognition accuracy, and solve multi-machine crosstalk problem.
Smart Images

Figure CN118949437A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of head-mounted display devices, and in particular to a method and device for identifying a handle of a head-mounted display device, a head-mounted display device, and a handle device. Background Art
[0002] As the number of users of head-mounted display devices such as VR (Virtual Reality) devices, AR (Augmented Reality) devices and MR (Mix Reality) devices continues to increase, the head-mounted display devices may misidentify unmatched handle devices. This is particularly evident in a multi-machine environment. For example, in a scenario where multiple people are performing handle activities at the same time indoors (such as an indoor multi-player VR game scenario), the LED lights of multiple handle devices may flash at the same time. The head-mounted display device can easily identify other handle devices that are not paired with it, resulting in multi-machine crosstalk, which greatly affects the user experience.
[0003] Therefore, how to improve the accuracy of handle recognition of head-mounted display devices and solve the problem of multi-machine crosstalk is an issue that needs to be solved urgently. Summary of the invention
[0004] The purpose of the present invention is to provide a handle recognition method and device for a head-mounted display device, a head-mounted display device and a handle device, so as to improve the accuracy of handle recognition of the head-mounted display device and solve the problem of multi-machine crosstalk.
[0005] In order to solve the above technical problems, the present invention provides a handle recognition method for a head mounted display device, comprising:
[0006] Obtain the handle spot image captured by the camera on the head mounted display device;
[0007] If the light spot shape information of the target handle device is angular information, identifying a valid light spot in the handle light spot image according to the angular information; wherein the target handle device is a handle device that is communicatively connected to the head mounted display device, and the valid light spot includes a polygonal light spot;
[0008] The target handle device in the handle light spot image is determined according to the effective light spot.
[0009] In some embodiments, identifying a valid light spot in the handle light spot image according to the angular information includes:
[0010] According to the preset number of corner points in the angular information, the effective angular light spot in the handle light spot image is identified; wherein the effective angular light spot is a polygonal effective light spot, the number of corner points of each effective angular light spot is the preset number of corner points, and the preset number of corner points is a positive integer greater than or equal to 3.
[0011] In some embodiments, after acquiring the handle spot image captured by the camera on the head mounted display device, the method further includes:
[0012] If the light spot shape information is circular information, then based on the circular information, the effective light spot in the handle light spot image is identified, and the step of determining the target handle device in the handle light spot image based on the effective light spot is performed; wherein the effective light spot includes a circular light spot and / or an elliptical light spot.
[0013] In some embodiments, after determining the target handle device in the handle light spot image according to the effective light spot, the method further includes:
[0014] The position information of the target handle device is detected according to the effective light spot.
[0015] In some embodiments, before identifying the effective light spot in the handle light spot image according to the angular information, the method further includes:
[0016] The head mounted display device receives the light spot shape information sent by the target handle device; and / or
[0017] The head mounted display device obtains the light spot shape information according to the obtained identification information of the target handle device.
[0018] In some embodiments, before acquiring the handle spot image captured by the camera on the head mounted display device, the method further includes:
[0019] The head mounted display device generates the light spot shape information according to the acquired light spot configuration instruction and sends a corresponding light spot switching instruction to the target handle device to control the target handle device to switch and light up a light spot of the light spot shape corresponding to the light spot shape information.
[0020] The present invention also provides a handle identification device for a head mounted display device, comprising:
[0021] An image acquisition module, used to obtain a handle light spot image acquired by a camera on a head mounted display device;
[0022] a light spot recognition module, configured to recognize a valid light spot in the handle light spot image according to the angular information if the light spot shape information of the target handle device is angular information; wherein the target handle device is a handle device that is communicatively connected to the head mounted display device, and the valid light spot includes a polygonal light spot;
[0023] A handle determination module is used to determine the target handle device in the handle light spot image according to the effective light spot.
[0024] The present invention also provides a head mounted display device, comprising:
[0025] Memory for storing computer programs;
[0026] A processor is used to implement the steps of the handle recognition method of the head mounted display device as described above when executing the computer program.
[0027] In addition, the present invention also provides a handle device, comprising: a light-emitting component and a light-shielding cover;
[0028] Among them, the shading cover includes a light-transmissive area and an opaque area, and the light-transmissive area includes a polygonal light-transmissive area; the light-emitting component is used to project preset light onto the shading cover in a preset projection direction to form a corresponding light spot through the light-transmissive area of the shading cover in the preset projection direction.
[0029] In some embodiments, the handle device further comprises:
[0030] The cover plate switching component is used to determine a target light shielding cover plate among all the light shielding cover plates according to the acquired light spot switching instruction; and switch the light shielding cover plate in the preset projection direction to the target light shielding cover plate.
[0031] A handle recognition method for a head-mounted display device provided by the present invention comprises: obtaining a handle light spot image collected by a camera on the head-mounted display device; if the light spot shape information of the target handle device is angular information, identifying a valid light spot in the handle light spot image according to the angular information; wherein the target handle device is a handle device connected to the head-mounted display device for communication, and the valid light spot includes a polygonal light spot; determining the target handle device in the handle light spot image according to the valid light spot;
[0032] It can be seen that the present invention utilizes a handle device capable of outputting a polygonal light spot, and identifies the effective light spot corresponding to the target handle device in the handle light spot image according to the angular information of the target handle device, thereby realizing the recognition of the handle device matching the head-mounted display device, reducing the misidentification of unmatched handle devices, improving the accuracy of the handle recognition of the head-mounted display device, and solving the problem of multi-machine crosstalk. In addition, the present invention also provides a handle recognition device for a head-mounted display device, a head-mounted display device, and a handle device, which also have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present invention 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 only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0034] Figure 1 A flowchart of a method for identifying a handle of a head mounted display device provided by an embodiment of the present invention;
[0035] Figure 2 A schematic diagram of a light shielding cover of a handle device provided in an embodiment of the present invention;
[0036] Figure 3 A schematic diagram of a light shielding cover of another handle device provided by an embodiment of the present invention;
[0037] Figure 4 A structural block diagram of a handle identification device for a head mounted display device provided by an embodiment of the present invention;
[0038] Figure 5 A schematic diagram of the structure of a head mounted display device provided by an embodiment of the present invention;
[0039] Figure 6 A schematic structural diagram of a handle device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] Please refer to Figure 1 , Figure 1 A flowchart of a handle identification method for a head mounted display device provided in an embodiment of the present invention.
[0042] Step 101: Obtain a handle spot image captured by a camera on a head mounted display device.
[0043] Among them, the handle light spot image in this embodiment can be an image of the light spot emitted by the handle device and captured by the camera on the head-mounted display device; for example, the light spot formed by the infrared LED lamp installed on the handle device sending light through the light-shielding cover is captured by the 6DOF camera (i.e., 6-degree-of-freedom camera) on the head-mounted display device, and the corresponding black and white image (i.e., the handle light spot image) is output.
[0044] Correspondingly, the specific method for the processor in this embodiment to obtain the handle light spot image captured by the camera on the head-mounted display device can be set by the designer according to practical scenarios and user needs. For example, it can be implemented in the same or similar manner as the method for the head-mounted display device in the prior art to collect and obtain the circular light spot image of the handle device. This embodiment does not impose any restrictions on this.
[0045] It should be noted that the handle recognition method for a head-mounted display device provided in this embodiment can be applied to a head-mounted display device, that is, the processor of the head-mounted display device can execute the method provided in this embodiment to realize the recognition of the handle device paired with itself in the handle spot image; the handle recognition method for a head-mounted display device provided in this embodiment can also be applied to other devices that are connected to the head-mounted display device in communication, such as a server or a user terminal (such as a computer). For example, the processor in a cloud server can execute the method provided in this embodiment, and use the handle spot image sent by the head-mounted display device to realize the recognition of the handle device paired with the head-mounted display device in the handle spot image. This embodiment does not impose any restrictions on this.
[0046] Correspondingly, the specific process of the processor obtaining the handle spot image captured by the camera on the head-mounted display device in this step can be set by the designer according to practical scenarios and user needs. For example, the processor of the head-mounted display device can directly receive the handle spot image captured by the camera; the processor of the server can receive the handle spot image captured by the camera sent by the head-mounted display device. This embodiment does not impose any restrictions on this.
[0047] Step 102: If the light spot shape information of the target handle device is angular information, then identify the valid light spot in the handle light spot image according to the angular information; wherein, the target handle device is a handle device that is communicatively connected to the head-mounted display device, and the valid light spot includes a polygonal light spot.
[0048] It should be noted that the target handle device in this embodiment can be a handle device paired with the head-mounted display device, that is, a handle device used in conjunction with the head-mounted display device, such as one or a pair (two) of handle devices. The light spot shape information in this embodiment can be the shape information of the light spot projected on the handle device; the angular information in this embodiment can be the shape information of the polygonal light spot projected on the handle device, such as the angular information can include the number of corner points of the polygonal light spot (that is, the preset number of corner points), such as the polygonal light spot is a triangular light spot (such as Figure 2 In the case of a light spot projected by a triangular light-transmitting area as shown in FIG, the number of preset corner points may be 3; the polygonal light spot is a quadrangular light spot (such as Figure 3 In the case of a light spot projected by a rectangular light-transmitting area as shown) or a pentagonal light spot, the preset number of corner points can be 4 or 5; the angular information can also include corner point shape information, such as angle information, to further facilitate the identification of corner points of the polygonal light spot, and this embodiment does not impose any restrictions on this.
[0049] It can be understood that the effective light spot in this embodiment can be the light spot area corresponding to the target handle device in the handle light spot image, that is, the area in the handle light spot image corresponding to the light spot lit by the target handle device. In this step, the processor can identify the effective polygonal light spot (that is, the effective angular light spot) in the handle light spot image according to the shape information of the polygon (that is, the angular information) when determining that the light spot shape information of the target handle device is angular information, that is, the shape of the light spot projected on the handle device (that is, the target handle device) used in conjunction with the head-mounted display device is a polygon.
[0050] Correspondingly, the specific method for the processor to identify the effective light spot in the handle light spot image according to the angular information in this step can be set according to practical scenarios and user needs. For example, the processor can identify the effective angular light spot in the handle light spot image according to the preset number of corner points in the angular information; wherein the effective angular light spot is a polygonal effective light spot, and the number of corner points of each effective angular light spot is the preset number of corner points, and the preset number of corner points is a positive integer greater than or equal to 3; for example, the processor can detect the polygonal light spot in the handle light spot image when the light spot shape information of the target handle device is angular information; and determine the polygonal light spot with the preset number of corner points as a valid light spot (i.e., a valid angular light spot). For example, when the preset number of corner points is 3 and the light spot formed by the projection on the target handle device is a triangle, the processor can determine the polygonal light spot (i.e., a triangular light spot) with three corner points (i.e., the intersection of two lines) identified in the handle light spot image as a valid light spot to filter out the light spots with less than 3 and greater than 3 corner points (i.e., invalid light spots). The processor may also identify the effective angular light spot in the handle light spot image according to the preset number of corner points and angle information in the angular information. This embodiment does not impose any limitation on this.
[0051] It should be noted that in this embodiment, the light spot shape information of the target handle device can be assumed to be fixed angular information, that is, the handle device used in conjunction with the head-mounted display device is a handle device that is fixedly projected to form the same polygonal light spot, such as a handle device of the same model that projects a triangular light spot. In this embodiment, the light spot shape information of the target handle device can also be adjustable angular information, such as the handle device used in conjunction with the head-mounted display device can be a handle device that projects various polygonal light spots that can be paired and changed by the user. For example, the user can choose to use a handle device (i.e., the target handle device) that is connected to the head-mounted display device according to their own needs, such as a handle device that projects a triangular light spot and a handle device that projects a quadrilateral light spot; or, the handle device used in conjunction with the head-mounted display device can be adjusted by the user to form a specific shape of the polygonal light spot formed by its projection. In this embodiment, the light spot shape information of the target handle device can also be angular information or circular information, such as a handle device used in conjunction with the head-mounted display device can be switched to a handle device with different light spot shapes (such as polygons and circles), or the light spot formed by a handle device can be switched to different shapes. This embodiment does not impose any limitation on this.
[0052] Correspondingly, in this embodiment, when the light spot shape information of the target handle device can be angular information or circular information, this embodiment can also include after step 101, if the light spot shape information of the target handle device is circular information, then according to the circular information, identifying the effective light spot in the handle light spot image, and entering step 103; wherein the effective light spot includes a circular light spot and / or an elliptical light spot. In other words, when the processor determines that the light spot shape information of the target handle device is circular information, that is, the shape of the light spot projected on the handle device (that is, the target handle device) used in conjunction with the head-mounted display device is circular (or elliptical), it can identify the circular or elliptical effective light spot (that is, the effective circular light spot) in the handle light spot image according to the circular shape information (that is, the circular information), and the effective circular light spot can be a circular light spot or an elliptical light spot.
[0053] Correspondingly, the specific method for the above-mentioned processor to identify the effective light spot in the handle light spot image based on the circular information can be set by the designer. For example, it can be implemented in the same or similar manner as the circular light spot recognition method in the existing handle positioning scheme. This embodiment does not impose any restrictions on this.
[0054] Among them, the method provided in this embodiment may also include a process of acquiring the light spot shape information of the target handle device. For example, before step 101 or step 102, the processor may acquire the light spot shape information of the target handle device so that the processor can use the acquired light spot shape information to identify the effective light spot in the handle light spot image.
[0055] Correspondingly, the specific method for the above-mentioned processor to obtain the light spot shape information of the target handle device can be set by the designer according to practical scenarios and user needs. For example, when the method provided in this embodiment is applied to the server, the processor of the server can directly receive the light spot shape information of the target handle device sent by the head-mounted display device. When the method provided in this embodiment is applied to a head-mounted display device, the processor of the head-mounted display device can receive the light spot shape information sent by the head-mounted display device to the target handle device; that is, the handle device (i.e., the target handle device) that is connected to the head-mounted display device for communication can directly send the shape information of the light spot it projects (i.e., the light spot shape information) to the head-mounted display device; for example, after the shape of the light spot formed by the projection of the target handle device changes, the target handle device can send the changed light spot shape information to the head-mounted display device. The processor of the head-mounted display device can also obtain the light spot shape information based on the identification information of the target handle device; for example, each model of handle device projects a light spot of a fixed shape, and the head-mounted display device can obtain the light spot shape information of the handle device (i.e., the target handle device) based on the model (i.e., identification information) of the handle device paired with it; accordingly, the light spot shape information corresponding to each model of handle device can be pre-set in the head-mounted display device.
[0056] Correspondingly, the processor of the head-mounted display device can also generate light spot shape information according to the acquired light spot configuration instruction and send the corresponding light spot switching instruction to the target handle device to control the target handle device to switch to light up the light spot of the light spot shape corresponding to the light spot shape information; that is, the head-mounted display device can control the light spot formed by the handle device (i.e., the target handle device) connected to it to be switched to different shapes; for example, the user can operate the head-mounted display device to select the light spot shape of the target handle device required for configuration, generate the light spot configuration instruction, so that the head-mounted display device can generate the corresponding light spot shape information and generate the corresponding light spot switching instruction according to the light spot configuration instruction, and control the target handle device to switch and project the light spot of the light spot shape corresponding to the light spot shape information by sending the light spot switching instruction to the target handle device. Correspondingly, the processor of the head-mounted display device can also first send the corresponding light spot switching instruction to the target handle device according to the acquired light spot configuration instruction to control the target handle device to switch to light up the light spot of the light spot shape corresponding to the light spot switching instruction; and then receive the light spot shape information sent by the target handle device after the light spot shape switching is completed. As long as the processor can obtain the light spot shape information of the target handle device, this embodiment does not impose any restrictions on this.
[0057] Step 103: Determine the target handle device in the handle light spot image according to the effective light spot.
[0058] It can be understood that in this step, the processor can determine the target handle device in the handle light spot image, that is, the image area where the target handle device is located, based on the effective light spot in the identified handle light spot image, thereby avoiding the influence of other handle devices other than the target handle device in the handle light spot image on subsequent processing (such as handle positioning), and solving the problem of multi-machine crosstalk.
[0059] Correspondingly, the method provided in this embodiment may also include a positioning process of the target handle device. For example, after step 103, the processor may detect the position information of the target handle device based on the effective light spot in the handle light spot image to realize the detection of the spatial position of the target handle device. Correspondingly, the specific method for the above-mentioned processor to detect the position information of the target handle device based on the effective light spot in the handle light spot image can be set by the designer according to practical scenarios and user needs. For example, it can be implemented in the same or similar manner as the existing handle positioning method using light spots; for example, the processor determines the position information of each target handle device based on the preset number of effective light spots corresponding to each target handle device in the handle light spot image; wherein the preset number of positioning can be a positive integer greater than or equal to 3, that is, the processor can obtain the spatial position of the handle device at this time by identifying 3 or more effective light spots on the handle device.
[0060] It can be understood that the method provided in this embodiment enables the head-mounted display device to distinguish its corresponding target handle device from other handle devices when multiple people are active. Not only can the polygonal light spot be distinguished from the existing circular light spot, but polygonal light spots with different angles can also be distinguished from each other, so as to achieve the purpose of avoiding crosstalk.
[0061] In this embodiment, the embodiment of the present invention identifies the effective light spot corresponding to the target handle device in the handle light spot image according to the angular information of the target handle device, thereby realizing the recognition of the handle device matching the head-mounted display device, reducing the misidentification of unmatched handle devices, improving the accuracy of handle recognition of the head-mounted display device, and solving the problem of multi-machine crosstalk.
[0062] Corresponding to the above method embodiment, an embodiment of the present invention also provides a handle recognition device for a head-mounted display device. The handle recognition device for a head-mounted display device described below and the handle recognition method for a head-mounted display device described above can be referenced to each other.
[0063] Please refer to Figure 4 , Figure 4 This is a structural block diagram of a handle recognition device for a head mounted display device provided by an embodiment of the present invention. The handle recognition device may include:
[0064] An image acquisition module 10 is used to acquire a handle light spot image acquired by a camera on a head mounted display device;
[0065] The light spot recognition module 20 is used to recognize the effective light spot in the handle light spot image according to the angular information if the light spot shape information of the target handle device is angular information; wherein the target handle device is a handle device that is connected to the head mounted display device for communication, and the effective light spot includes a polygonal light spot;
[0066] The handle determination module 30 is used to determine the target handle device in the handle light spot image according to the effective light spot.
[0067] In some embodiments, the light spot recognition module 20 may include:
[0068] The quantity recognition submodule is used to identify the effective angular light spots in the handle light spot image according to the preset number of corner points in the angular information; wherein the effective angular light spots are polygonal effective light spots, and the number of corner points of each effective angular light spot is the preset number of corner points, and the preset number of corner points is a positive integer greater than or equal to 3.
[0069] In some embodiments, the light spot recognition module 20 can also be used to identify the valid light spot in the handle light spot image according to the circular information if the light spot shape information is circular information, and send a start signal to the handle determination module 30; wherein the valid light spot includes a circular light spot and / or an elliptical light spot.
[0070] In some embodiments, the apparatus may further include:
[0071] The positioning module is used to detect the position information of the target handle device based on the effective light spot.
[0072] In some embodiments, when the apparatus is applied to a head mounted display device, it may further include:
[0073] A receiving module, used to receive the light spot shape information sent by the target handle device; and / or
[0074] The matching module is used to obtain the light spot shape information according to the obtained identification information of the target handle device.
[0075] In some embodiments, when the apparatus is applied to a head mounted display device, it may further include:
[0076] The light spot switching module is used to generate light spot shape information according to the acquired light spot configuration instruction and send the corresponding light spot switching instruction to the target handle device to control the target handle device to switch and light up the light spot of the light spot shape corresponding to the light spot shape information.
[0077] In this embodiment, the embodiment of the present invention uses the light spot recognition module 20 to identify the effective light spot corresponding to the target handle device in the handle light spot image according to the angular information of the target handle device, thereby realizing the recognition of the handle device matching the head-mounted display device, reducing the situation of erroneous recognition of unmatched handle devices, improving the accuracy of handle recognition of the head-mounted display device, and solving the problem of multi-machine crosstalk.
[0078] Corresponding to the above method embodiment, an embodiment of the present invention further provides a head-mounted display device. The head-mounted display device described below and the handle identification method of the head-mounted display device described above can refer to each other.
[0079] Please refer to Figure 5 , Figure 5 A schematic diagram of the structure of a head mounted display device provided by an embodiment of the present invention. The head mounted display device may include:
[0080] A memory D1, for storing computer programs;
[0081] The processor D2 is used to implement the steps of the handle recognition method of the head mounted display device provided in the above method embodiment when executing the computer program.
[0082] Specifically, the head mounted display device provided in this embodiment may be a VR (Virtual Reality) device, an AR (Augmented Reality) device, or an MR (Mix Reality) device, etc.
[0083] Corresponding to the above method embodiment, an embodiment of the present invention further provides a handle device, and a head mounted display device described below and a handle identification method of a handle device described above can be referred to each other.
[0084] Please refer to Figure 6 , Figure 6 This is a schematic diagram of the structure of a handle device provided by an embodiment of the present invention. The handle device may include: a light-emitting component 100 and a light-shielding cover plate 200;
[0085] Among them, the shading cover 200 includes a light-transmissive area and an opaque area, and the light-transmissive area includes a polygonal light-transmissive area; the light-emitting component 100 is used to project preset light onto the shading cover 200 in a preset projection direction to form a corresponding light spot through the light-transmissive area of the shading cover 200 in the preset projection direction.
[0086] Among them, this embodiment does not limit the specific type of the light-emitting component 100 in the handle device. For example, the light-emitting component 100 can be an LED (light-emitting diode), for example, an infrared LED lamp that can project infrared light (i.e., preset light); the light-emitting component 100 can also be other light-emitting devices that can project preset light; as long as the preset light projected by the light-emitting component 100 to the shading cover 200 in the preset projection direction can form a corresponding light spot, such as a polygonal light spot, this embodiment does not impose any restrictions on this.
[0087] Correspondingly, the present embodiment does not limit the specific material of the shading cover 200 in the handle device. For example, when the preset light is infrared light, the light-transmissive area of the shading cover 200 may be an area where the film material can transmit infrared light, such as Figure 2 and Figure 3 The non-light-transmissive area of the shading cover plate 200 may be an area where the film material is not transparent to infrared light, such as Figure 2 and Figure 3 The opaque area in the handle; enables the infrared light emitted by the light-emitting component 100 to pass through the permeable area to form a light spot of a corresponding shape, such as a polygonal light spot corresponding to the polygonal permeable area, thereby changing the shape of the light spot output by the light-emitting component 100, and achieving the effect that the handle device is only recognized by the matching head-mounted display device.
[0088] It should be noted that the present embodiment does not limit the specific number of the light-emitting components 100 and the light-shielding cover 200 in the handle device. For example, when the light emitted by each light-emitting component 100 forms a light spot through the corresponding light-transmitting area, the number of light-emitting components 100 in the present embodiment may be greater than or equal to 3. For example, the handle device may adopt a plurality of light-emitting components 100 (such as LED lights) to form a light ring (such as an LED light ring) to ensure that the handle positioning of the head-mounted display device can identify a sufficient number of effective light spots. Accordingly, when the handle device adopts a light ring composed of light-emitting components 100, the light-shielding cover 200 may be arranged so that each light-emitting component 100 in the light ring is provided with a corresponding light-transmitting area above it, so that each light-emitting component 100 can form a corresponding light spot (such as a polygonal light spot) through the light-shielding cover 200. For example, each light-emitting component 100 in the light ring may form a corresponding light spot through a light-transmitting area in a light-shielding cover 200 corresponding to it above, or each light-emitting component 100 in the light ring may form a corresponding light spot through a light-transmitting area in a light-shielding cover 200 corresponding to it above. This embodiment does not impose any limitation on this.
[0089] In this embodiment, the shading cover 200 in the preset projection direction (such as upward) of each light-emitting component 100 in the handle device can be fixed on the handle device. In this implementation, the shading cover 200 in the preset projection direction of each light-emitting component 100 in the handle device can also be detachably arranged on the handle device, such as the user can disassemble and replace the shading cover 200 installed on the housing of the handle device according to needs to adjust the shape of the light spot formed by the projection of the handle device. This embodiment does not impose any restrictions on this.
[0090] Furthermore, the handle device provided in this embodiment may also include: a cover plate switching component, which is used to determine the target light shielding cover plate 200 among all the light shielding cover plates 200 according to the acquired light spot switching instruction; and switch the light shielding cover plate 200 in the preset projection direction to the target light shielding cover plate 200. In other words, the handle device in this embodiment can automatically switch the light shielding cover plate 200 in the preset projection direction of each light-emitting component 100 through the setting of the cover plate switching component, thereby realizing the automatic switching of the shape of the light spot formed by the projection of the handle device.
[0091] Correspondingly, the handle device may also include a light-transmitting switching component, which is used to determine the target light-transmitting area among all the light-transmitting areas corresponding to each light-emitting component 100 according to the acquired light spot switching instruction; and switch the light-transmitting area of the shading cover plate 200 in the preset projection direction to the target light-transmitting area. In other words, the handle device in this embodiment can automatically switch the light-transmitting area of the shading cover plate 200 in the preset projection direction of each light-emitting component 100 through the setting of the light-transmitting switching component, thereby realizing the automatic switching of the shape of the light spot projected by the handle device. For example, when the handle device adopts a light ring composed of light-emitting components 100, the light-transmitting switching component can rotate the annular light-shielding cover plate 200 sleeved outside the light ring according to the light spot switching instruction, so that each light-emitting component 100 can pass through the target light-transmitting area corresponding to each other on the shading cover plate 200 to project a light spot of a corresponding shape.
[0092] Corresponding to the above method embodiment, an embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium described below and the handle recognition method of a head-mounted display device described above can be referenced to each other.
[0093] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the handle recognition method for a head-mounted display device provided in the above method embodiment are implemented.
[0094] The computer-readable storage medium may specifically be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or other readable storage medium that can store program codes.
[0095] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the device, head-mounted display device, handle device and computer-readable storage medium disclosed in the embodiment, since they correspond to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0096] The above is a detailed introduction to a handle identification method, device, head-mounted display device and handle device for a head-mounted display device provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Claims
1. A handle recognition method for a head mounted display device, characterized in that: include: Obtain the handle spot image captured by the camera on the head mounted display device; If the light spot shape information of the target handle device is angular information, identifying a valid light spot in the handle light spot image according to the angular information; wherein the target handle device is a handle device that is communicatively connected to the head mounted display device, and the valid light spot includes a polygonal light spot; The target handle device in the handle light spot image is determined according to the effective light spot.
2. The handle identification method of a head mounted display device according to claim 1, characterized in that: The step of identifying a valid light spot in the handle light spot image according to the angular information includes: According to the preset number of corner points in the angular information, the effective angular light spot in the handle light spot image is identified; wherein the effective angular light spot is a polygonal effective light spot, the number of corner points of each effective angular light spot is the preset number of corner points, and the preset number of corner points is a positive integer greater than or equal to 3.
3. The handle identification method of a head mounted display device according to claim 1, characterized in that: After obtaining the handle spot image collected by the camera on the head mounted display device, the method further includes: If the light spot shape information is circular information, then based on the circular information, the effective light spot in the handle light spot image is identified, and the step of determining the target handle device in the handle light spot image based on the effective light spot is performed; wherein the effective light spot includes a circular light spot and / or an elliptical light spot.
4. The handle identification method of a head mounted display device according to claim 1, characterized in that: After determining the target handle device in the handle light spot image according to the effective light spot, the method further includes: The position information of the target handle device is detected according to the effective light spot.
5. The handle identification method of a head mounted display device according to claim 1, characterized in that: Before identifying the effective light spot in the handle light spot image according to the angular information, the method further includes: The head mounted display device receives the light spot shape information sent by the target handle device; and / or The head mounted display device obtains the light spot shape information according to the obtained identification information of the target handle device.
6. The handle identification method for a head mounted display device according to any one of claims 1 to 5, characterized in that: Before obtaining the handle spot image collected by the camera on the head mounted display device, the method further includes: The head mounted display device generates the light spot shape information according to the acquired light spot configuration instruction and sends a corresponding light spot switching instruction to the target handle device to control the target handle device to switch and light up a light spot of the light spot shape corresponding to the light spot shape information.
7. A handle recognition device for a head mounted display device, characterized in that: include: An image acquisition module, used to obtain a handle light spot image acquired by a camera on a head mounted display device; a light spot recognition module, configured to recognize a valid light spot in the handle light spot image according to the angular information if the light spot shape information of the target handle device is angular information; wherein the target handle device is a handle device that is communicatively connected to the head mounted display device, and the valid light spot includes a polygonal light spot; A handle determination module is used to determine the target handle device in the handle light spot image according to the effective light spot.
8. A head mounted display device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the handle identification method for a head mounted display device as described in any one of claims 1 to 6 when executing the computer program.
9. A handle device, characterized in that: include: Light-emitting components and light-shielding covers; Wherein, the light-shielding cover plate includes a light-transmitting area and a light-impermeable area, and the light-transmitting area includes a polygonal light-transmitting area; The light emitting component is used to project preset light toward the shading cover plate in a preset projection direction, so as to form a corresponding light spot through the light-transmissive area of the shading cover plate in the preset projection direction.
10. The handle device according to claim 9, characterized in that: Also includes: A cover plate switching component, used for determining a target light shielding cover plate among all the light shielding cover plates according to the acquired light spot switching instruction; The light-shielding cover plate in the preset projection direction is switched to the target light-shielding cover plate.
