Method for displaying real object in head mounted display and head mounted display thereof
By acquiring and overlaying binocular views of real objects around the user, the problem of being unable to observe the real environment when wearing a head-mounted display is solved, allowing users to perceive the three-dimensional spatial position and posture of real objects, facilitating interaction and visual feedback, and improving virtual reality Realistic experience.
Patent Information
- Application Number
- CN201910549634.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2015-08-31
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2036-10-30
AI Technical Summary
Users cannot observe real objects in the real environment around them when wearing a head-mounted display, causing inconvenience.
Provide a method and a head-mounted display to display real objects by obtaining binocular views of real objects around the user and overlaying them with virtual field of view images, including capturing images using a shooting device, detecting real objects, performing viewpoint correction, and Fusion of binocular views of real objects in the virtual field of view.
Users can perceive the three-dimensional spatial position and three-dimensional posture of the surrounding real objects when wearing the head-mounted display, which facilitates interaction with real objects, completes necessary visual feedback, and improves the virtual reality experience.
Smart Images

Figure CN110275619B
Abstract
Description
[0001] This application is a divisional application of an invention patent application with an application date of August 31, 2015, application number "201510549225.7", and invention name "Method for displaying real objects in a head-mounted display and head-mounted display thereof". Technical Field
[0002] The present invention generally relates to the technical field of head-mounted displays, and more particularly, to a method for displaying a real object in a head-mounted display and a head-mounted display for displaying the real object. Background Art
[0003] With the development of electronic technology, head-mounted display (HMD) is becoming an important next-generation display device, and has a wide range of practical applications in many fields such as entertainment, education, and office. When a user wears a head-mounted display, his eyes observe a virtual field of view constructed by the display and optical system of the head-mounted display, and therefore he cannot observe the real objects in the surrounding real environment, which often brings inconvenience to users in practical applications. Summary of the invention
[0004] An exemplary embodiment of the present invention is to provide a method for displaying real objects in a head-mounted display and a head-mounted display thereof, so as to solve the problem that a user cannot observe the real objects in the surrounding real environment when wearing the head-mounted display, which causes inconvenience.
[0005] According to an exemplary embodiment of the present invention, a method for displaying a real object in a head-mounted display is provided, comprising: (A) acquiring a binocular view of a real object located around a user; and (B) presenting a virtual field of view image superimposed with the binocular view of the real object to the user.
[0006] Optionally, when it is determined that real objects around the user need to be presented to the user, step (A) and / or step (B) are performed.
[0007] Optionally, the real object includes at least one of the following: an object close to the user's body, a tagged object, an object specified by the user, an object currently required to be used by an application running on the head-mounted display, and an object required to operate a control.
[0008] Optionally, it is determined that a real object needs to be presented to the user when at least one of the following conditions is met: receiving user input requesting presentation of a real object; determining that the real objects around the user match a preset presentation object; detecting controls that require the use of real objects to perform operations in an application interface displayed in a virtual field of view image; detecting that a body part of the user is approaching a real object; detecting that a body part of the user is moving toward the real object; determining that an application running on the head-mounted display currently needs to use a real object; and determining that a preset time has arrived for interacting with the real objects around the user.
[0009] Optionally, the method also includes: (C) presenting a virtual field of view image without a binocular view superimposed with a real object to the user when at least one of the following conditions is met: receiving user input to terminate the presentation of the real object; determining that the real objects around the user do not match the preset presentation objects; no controls that require the use of real objects to perform operations are detected in the application interface displayed in the virtual field of view image; determining that a body part of the user is far away from the real object; determining that the application running on the head-mounted display does not currently need to use the real object; determining that the user has not performed an operation using the real object during a preset time period; determining that the user is able to perform an operation without viewing the real object.
[0010] Optionally, step (A) includes: capturing images including real objects located around the user through a single shooting device, and obtaining a binocular view of the real objects located around the user based on the captured images.
[0011] Optionally, in step (A), a real object image is detected from the captured image, a real object image of another viewpoint is determined based on the detected real object image, and a binocular view of the real object is obtained based on the detected real object image and the real object image of the other viewpoint.
[0012] Optionally, the step of obtaining a binocular view of the real object based on the detected real object image and the real object image from another viewpoint includes: based on the positional relationship between the single shooting device and the user's binocular eyes, performing viewpoint correction on the detected real object image and the real object image from another viewpoint to obtain a binocular view of the real object.
[0013] Optionally, step (A) includes: capturing images including real objects located around the user through a shooting device, detecting the real object images from the captured images, and obtaining a binocular view of the real object based on the detected real object images, wherein the shooting device includes a depth camera, or the shooting device includes at least two single-viewpoint cameras.
[0014] Optionally, the step of obtaining a binocular view of the real object based on the detected real object image includes: based on the positional relationship between the shooting device and the user's binocular eyes, performing viewpoint correction on the detected real object image to obtain the binocular view of the real object.
[0015] Optionally, when the real object image of the desired display object cannot be detected among the real objects, the shooting angle is expanded to recapture the image including the desired display object, or the user is prompted to turn to the direction where the desired display object is located to recapture the image including the desired display object.
[0016] Optionally, in step (B), a virtual scene image reflecting the virtual scene is acquired, and a virtual field of view image is generated by superimposing a binocular view of a real object with the virtual scene image.
[0017] Optionally, in step (B), when there is occlusion between the virtual object and the real object in the virtual scene image in three-dimensional space, the virtual object is scaled and / or moved.
[0018] Optionally, in step (B), the real object is displayed as at least one of semi-transparency, outlines, or 3D grid lines.
[0019] Optionally, in step (B), the binocular view of the real object is superimposed on the virtual field of view image of the head-mounted display according to one of the following display modes: displaying only the binocular view of the real object without displaying the virtual scene image, displaying only the virtual scene image without displaying the binocular view of the real object, spatially fusing the binocular view of the real object and the virtual scene image, displaying the binocular view of the real object on the virtual scene image in the form of picture-in-picture, and displaying the virtual scene image on the binocular view of the real object in the form of picture-in-picture.
[0020] Optionally, in step (B), real objects superimposed on the virtual field of view image are added and / or deleted according to user operations.
[0021] Optionally, the method further includes: (D) obtaining display items about the IoT device and superimposing the obtained display items on the virtual field of view image, wherein the display items represent at least one of the following items of the IoT device: operation interface, operation status, notification information, and indication information.
[0022] Optionally, display items about the IoT device are obtained by at least one of the following processes: capturing an image of the IoT device located within the user's real field of view, and extracting display items about the IoT device from the captured image of the IoT device; receiving display items about the IoT device from the IoT device located within and / or outside the user's real field of view; sensing the position of the IoT device located outside the user's real field of view relative to the head-mounted display as indication information.
[0023] Optionally, the method further includes: (E) remotely controlling the IoT device to perform corresponding processing according to the user's operation on the displayed item.
[0024] According to another exemplary embodiment of the present invention, a head-mounted display for displaying real objects is provided, comprising: a real object view acquisition device for acquiring a binocular view of real objects located around a user; and a display device for presenting a virtual field of view image superimposed with the binocular view of the real object to the user.
[0025] Optionally, the head-mounted display also includes: a display control device, which determines whether it is necessary to present real objects around the user to the user, wherein, when the display control device determines that it is necessary to present real objects around the user to the user, the real object view acquisition device acquires a binocular view of the real objects located around the user and / or the display device presents a virtual field of view image superimposed with a binocular view of the real objects to the user.
[0026] Optionally, the real object includes at least one of the following: an object close to the user's body, a tagged object, an object specified by the user, an object currently required to be used by an application running on the head-mounted display, and an object required to operate a control.
[0027] Optionally, the display control device determines that a real object needs to be presented to the user when at least one of the following conditions is met: receiving user input requesting presentation of a real object; determining that the real objects around the user match the preset presentation objects; detecting controls that require the use of real objects to perform operations in the application interface displayed in the virtual field of view image; detecting that a body part of the user is approaching a real object; detecting that a body part of the user is moving toward the real object; determining that an application running on the head-mounted display currently needs to use a real object; and determining that a preset time has arrived for interacting with the real objects around the user.
[0028] Optionally, when at least one of the following conditions is met, the display control device determines that it is not necessary to present the real object to the user, and the display device presents a virtual field of view image without a binocular view superimposed with the real object to the user: receiving user input to terminate the presentation of the real object; determining that the real objects around the user do not match the preset presentation objects; no controls that require the use of real objects to perform operations are detected in the application interface displayed in the virtual field of view image; determining that a body part of the user is far away from the real object; determining that an application running on the head-mounted display does not currently need to use the real object; determining that the user has not performed operations using the real object during a preset time period; determining that the user is able to perform operations without viewing the real object.
[0029] Optionally, the head-mounted display also includes: an image capturing device, which captures images including real objects located around the user through a single shooting device; and a binocular view generating device, which obtains a binocular view of the real objects located around the user based on the captured images.
[0030] Optionally, the binocular view generating device detects a real object image from the captured image, determines a real object image of another viewpoint based on the detected real object image, and obtains a binocular view of the real object based on the detected real object image and the real object image of the other viewpoint.
[0031] Optionally, the binocular view generating device performs viewpoint correction on the detected real object image and the real object image of the other viewpoint based on the positional relationship between the single shooting device and the user's binocular eyes to obtain a binocular view of the real object.
[0032] Optionally, the head-mounted display also includes: an image capture device, which captures images including real objects located around the user through a shooting device, wherein the shooting device includes a depth camera, or the shooting device includes at least two single-viewpoint cameras; a binocular view generating device, which detects the real object image from the captured image and obtains a binocular view of the real object based on the detected real object image.
[0033] Optionally, the binocular view generating device performs viewpoint correction on the detected real object image based on the positional relationship between the shooting device and the user's binocular eyes to obtain a binocular view of the real object.
[0034] Optionally, when the binocular view generating device cannot detect the real object image of the desired display object among the real objects, the image capture device expands the shooting angle to recapture the image including the desired display object, or the image capture device prompts the user to turn to the direction where the desired display object is located to recapture the image including the desired display object.
[0035] Optionally, the head mounted display further comprises: a virtual field of view image generating device for generating a virtual field of view image superimposed with a binocular view of a real object.
[0036] Optionally, the head-mounted display also includes: a virtual scene image acquisition device for acquiring a virtual scene image reflecting the virtual scene, wherein the virtual field of view image generation device generates a virtual field of view image superimposed with a binocular view of the real object by superimposing the binocular view of the real object with the virtual scene image.
[0037] Optionally, the virtual field image generating device scales and / or moves the virtual object in the virtual scene image when there is occlusion between the virtual object and the real object in the three-dimensional space.
[0038] Optionally, the virtual field of view image generating device displays the real object as at least one of semi-transparency, outline or 3D grid line.
[0039] Optionally, the virtual field of view image generating device superimposes the binocular view of the real object with the virtual scene image according to one of the following display modes: displaying only the binocular view of the real object without displaying the virtual scene image, displaying only the virtual scene image without displaying the binocular view of the real object, spatially fusing the binocular view of the real object with the virtual scene image, displaying the binocular view of the real object on the virtual scene image in the form of picture-in-picture, and displaying the virtual scene image on the binocular view of the real object in the form of picture-in-picture.
[0040] Optionally, the virtual field of view image generating device adds and / or deletes real objects superimposed on the virtual field of view image according to user operations.
[0041] Optionally, the head-mounted display also includes: a display item acquisition device, which acquires display items about the Internet of Things device and superimposes the acquired display items on the virtual field of view image, wherein the display items represent at least one of the following items of the Internet of Things device: operation interface, operation status, notification information, and indication information.
[0042] Optionally, the display item acquisition device acquires display items about the Internet of Things device by at least one of the following processes: capturing an image of the Internet of Things device located within the user's real field of view, and extracting display items about the Internet of Things device from the captured image of the Internet of Things device; receiving display items about the Internet of Things device from the Internet of Things device located within and / or outside the user's real field of view; sensing the position of the Internet of Things device located outside the user's real field of view relative to the head-mounted display as indication information.
[0043] Optionally, the head mounted display further comprises: a control device for remotely controlling the IoT device to perform corresponding processing according to the user's operation on the displayed items.
[0044] In the method for displaying real objects in a head-mounted display and the head-mounted display thereof according to an exemplary embodiment of the present invention, a virtual field of view image superimposed with a binocular view of real objects around the user can be presented to the user, so that the user can still perceive the actual three-dimensional spatial position, stereoscopic posture, related attributes and other information of the real objects around the user when wearing the head-mounted display, which facilitates the user to interact with the real objects around the user and complete necessary behaviors that require visual image feedback.
[0045] Additionally, embodiments of the present invention can determine when it is necessary to display a binocular view of surrounding real objects to the user; furthermore, can display a binocular view of surrounding real objects to the user in a virtual field of view image in a suitable manner.
[0046] Additional aspects and / or advantages of the present general inventive concept will be set forth in part in the following description and in part will be obvious from the description, or may be learned through practice of the present general inventive concept. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The above and other objects and features of the exemplary embodiments of the present invention will become more apparent through the following description in conjunction with the accompanying drawings which exemplarily illustrate the embodiments, in which:
[0048] Figure 1 A flowchart showing a method for displaying a real object in a head mounted display according to an exemplary embodiment of the present invention;
[0049] Figure 2 A flowchart showing a method for displaying a real object in a head mounted display according to another exemplary embodiment of the present invention;
[0050] Figure 3 A flowchart showing a method for displaying a real object in a head mounted display according to another exemplary embodiment of the present invention;
[0051] Figure 4 A flowchart showing a method for displaying a real object in a head mounted display according to another exemplary embodiment of the present invention;
[0052] Figure 5 A flowchart showing a method of displaying a physical keyboard in a head mounted display according to an exemplary embodiment of the present invention;
[0053] Figure 6 An example of a connection method between a head mounted display and a physical keyboard according to an exemplary embodiment of the present invention is shown;
[0054] Figure 7 An example is shown in which a physical keyboard needs to be presented to a user according to an exemplary embodiment of the present invention;
[0055] Figure 8 An example of prompting a user to turn to the direction where a keyboard is located according to an exemplary embodiment of the present invention is shown;
[0056] Fig. 9 An example of obtaining a binocular view of a keyboard based on a captured image according to an exemplary embodiment of the present invention is shown;
[0057] Fig.10 An example of generating a virtual visual field image with a binocular view superimposed with a keyboard according to an exemplary embodiment of the present invention is shown;
[0058] Fig.11 An example of presenting a virtual field of view image superimposed with a binocular view of food to a user according to an exemplary embodiment of the present invention is shown;
[0059] Fig.12 A flowchart showing a method of displaying food in a head mounted display according to an exemplary embodiment of the present invention;
[0060] Fig.13 shows examples of keys operated according to an exemplary embodiment of the present invention;
[0061] Fig.14 An example of a framing gesture according to an exemplary embodiment of the present invention is shown;
[0062] Fig.15 An example of determining that a user needs to eat by detecting a remote control command input operation according to an exemplary embodiment of the present invention is shown;
[0063] Fig.16 An example of determining an object to be presented to a user by using a virtual mouse according to an exemplary embodiment of the present invention is shown;
[0064] Fig.17 An example of displaying a real object according to an exemplary embodiment of the present invention is shown;
[0065] Fig.18 illustrating deleting a real object superimposed on a virtual field of view image according to an exemplary embodiment of the present invention;
[0066] Fig.19 An example of displaying a binocular view of a real object according to an exemplary embodiment of the present invention is shown;
[0067] Fig. 20 A flowchart showing a method of displaying objects that may collide in a head mounted display according to an exemplary embodiment of the present invention;
[0068] Fig.21 A flowchart showing a method of displaying a display item related to an IoT device in a head mounted display according to an exemplary embodiment of the present invention;
[0069] Fig. 22 An example of presenting a virtual field of view image superimposed with a display item to a user according to an exemplary embodiment of the present invention is shown;
[0070] Fig.23 An example of presenting a virtual field of view image superimposed with an operation interface of a mobile communication terminal to a user according to an exemplary embodiment of the present invention is shown;
[0071] Fig.24 An example of presenting a virtual field of view image superimposed with incoming call information of a mobile communication terminal to a user according to an exemplary embodiment of the present invention is shown;
[0072] Fig.25 An example of presenting a virtual field of view image superimposed with a short message received by a mobile communication terminal to a user according to an exemplary embodiment of the present invention is shown;
[0073] Fig.26 A block diagram showing a head mounted display for displaying a real object according to an exemplary embodiment of the present invention;
[0074] Fig. 27 A block diagram showing a head mounted display for displaying a real object according to another exemplary embodiment of the present invention;
[0075] Fig.28 A block diagram showing a head mounted display for displaying a real object according to another exemplary embodiment of the present invention;
[0076] Fig.29 A block diagram showing a head mounted display for displaying a real object according to another exemplary embodiment of the present invention;
[0077] Fig.30 A block diagram showing a head mounted display for displaying a real object according to another exemplary embodiment of the present invention is shown. DETAILED DESCRIPTION
[0078] Reference will now be made in detail to embodiments of the present invention, examples of which are shown in the accompanying drawings, wherein like reference numerals refer to like parts throughout. The embodiments will be described below with reference to the drawings in order to explain the present invention.
[0079] The following will be combined Figures 1 to 4The method for displaying a real object in a head-mounted display according to an exemplary embodiment of the present invention is described. The method can be implemented by a head-mounted display or by a computer program. For example, the method can be executed by an application for displaying a real object installed in a head-mounted display, or by a functional program implemented in an operating system of the head-mounted display. In addition, as an optional manner, some steps in the method can be completed by a head-mounted display, and other steps can be completed in collaboration with other devices or devices other than the head-mounted display, and the present invention is not limited to this.
[0080] Figure 1 A flowchart showing a method of displaying a real object in a head mounted display according to an exemplary embodiment of the present invention is shown.
[0081] like Figure 1 As shown, in step S10, a binocular view of real objects located around the user is acquired.
[0082] Here, the binocular view refers to the binocular view of the human eyes of a user wearing a head-mounted display. Through the binocular view of the real object, the user's brain can obtain depth information of the real object, and then feel the actual three-dimensional spatial position and stereoscopic posture of the real object. That is, the three-dimensional spatial position and stereoscopic posture of the real object felt by the user through the binocular view of the real object are consistent with the three-dimensional spatial position and stereoscopic posture of the real object observed and felt by the user through human eyes.
[0083] As an example, a real object may be a presentation object that is pre-set based on object attributes or usage scenarios, and may include at least one of the following items: an object close to the user's body, an object with a label, an object specified by the user, an object currently required to be used by an application running on the head-mounted display, and an object required to operate a control.
[0084] As an example, an image including real objects located around a user may be captured by a single camera, and a binocular view of the real objects located around the user may be acquired based on the captured image.
[0085] Here, the single shooting device may be an ordinary shooting device having only one viewing angle. Since the captured image does not have depth information, accordingly, a real object image may be detected from the captured image, and a real object image of another viewpoint may be determined based on the detected real object image, and a binocular view of the real object may be obtained based on the detected real object image and the real object image of the other viewpoint.
[0086] Here, the real object image is an image of the area where the real object is located in the captured image. For example, various existing image recognition methods can be used to detect the real object image from the captured image.
[0087] As an example, based on the positional relationship between the single shooting device and the user's binocular eyes, viewpoint correction may be performed on the detected real object image and the real object image of the other viewpoint to obtain a binocular view of the real object.
[0088] As another example, a binocular view of a real object may be obtained based on a captured stereo image. Specifically, an image including real objects located around the user may be captured by a shooting device, and the real object image may be detected from the captured image, and a binocular view of the real object may be obtained based on the detected real object image, wherein the shooting device includes a depth camera, or the shooting device includes at least two single-view cameras. Here, the at least two single-view cameras may have overlapping viewing angles, so that a stereo image with depth information can be captured by the depth camera, or the at least two single-view cameras.
[0089] As an example, based on the positional relationship between the photographing device and the user's binocular view, the detected image of the real object may be subjected to viewpoint correction to obtain a binocular view of the real object.
[0090] It should be understood that, as an example, the above-mentioned single camera, depth camera or single-viewpoint camera can be a built-in camera of the head-mounted display, or an attached camera installed on the head-mounted display. For example, it can be a camera possessed by other devices (e.g., a smart phone), and the present invention is not limited to this.
[0091] Preferably, when the real object image of the desired display object among the real objects cannot be detected, the photographing angle of view may be expanded to recapture the image including the desired display object.
[0092] Alternatively, when the real object image of the desired display object among the real objects cannot be detected, the user may be prompted to turn to the direction where the desired display object is located to recapture the image including the desired display object. For example, the user may be prompted through an image, text, audio, video, etc. As an example, the user may be prompted to turn to the direction where the desired display object is located to recapture the image including the desired display object based on the pre-stored three-dimensional spatial position of the real object or the three-dimensional spatial position of the real object obtained via the positioning device.
[0093] In step S20, a virtual field of view image superimposed with a binocular view of a real object is presented to the user. In the above manner, the user can see the binocular view of the real object in the virtual field of view image (i.e., augmented virtual reality), feel the actual three-dimensional spatial position and stereoscopic posture of the real object, accurately judge the positional relationship between the real object and itself and the stereoscopic posture of the real object, and complete necessary behaviors that require visual image feedback.
[0094] Here, it should be understood that the virtual field of view image superimposed with the binocular view of the real object can be presented to the user through a display device integrated in the head-mounted display, or can be presented to the user through other display devices external to the head-mounted display, and the present invention is not limited to this.
[0095] As an example, in step S20, a virtual scene image reflecting a virtual scene may be obtained, and a virtual field of view image superimposed with a binocular view of a real object may be generated by superimposing the binocular view of a real object with the virtual scene image. That is, the virtual field of view image presented to the user is a virtual field of view image that spatially fuses the binocular view of a real object and the virtual scene image, so that the user can complete the necessary behavior of interacting with the real object that requires visual image feedback under the virtual scene experience of a normal head-mounted display.
[0096] Here, the virtual scene image is an image reflecting the virtual scene that needs to be presented to the user in the user's virtual field of view corresponding to the application currently running on the head-mounted display. For example, if the application currently running on the head-mounted display is a virtual somatosensory game such as boxing or golf, the virtual scene image is an image reflecting the virtual game scene that needs to be presented to the user in the virtual field of view; if the application currently running on the head-mounted display is an application for watching movies, the virtual scene image is an image reflecting the virtual theater screen scene that needs to be presented to the user in the virtual field of view.
[0097] As an example, the binocular view of a real object may be superimposed on the virtual field of view image of a head-mounted display according to one of the following display methods: displaying only the binocular view of the real object without displaying the virtual scene image, displaying only the virtual scene image without displaying the binocular view of the real object, spatially fusing the binocular view of the real object with the virtual scene image, displaying the binocular view of the real object on the virtual scene image in picture-in-picture format, or displaying the virtual scene image on the binocular view of the real object in picture-in-picture format.
[0098] As an example, the real object may be displayed as at least one of semi-transparency, outlines, or 3D grid lines. For example, when there is occlusion between the virtual object in the virtual scene image and the real object in three-dimensional space, the real object may be displayed as at least one of semi-transparency, outlines, or 3D grid lines to reduce the occlusion of the virtual object in the virtual scene image and reduce the impact on viewing the virtual scene image.
[0099] In addition, as an example, in the case where there is occlusion between the virtual object in the virtual scene image and the real object in the three-dimensional space, the virtual object can also be scaled and / or moved. For example, the virtual object in the virtual scene image that is occluded with the real object in the three-dimensional space can be scaled and / or moved, and in the case of occlusion, all virtual objects in the virtual scene image can be scaled and / or moved. It should be understood that the head-mounted display can automatically determine the occlusion between the virtual object in the virtual scene image and the real object in the three-dimensional space, and scale and / or move the virtual object accordingly. In addition, the virtual object can also be scaled and / or moved according to the user's operation.
[0100] In addition, preferably, real objects superimposed on the virtual field of view image can be added and / or deleted according to the user's operation. That is, the user can superimpose the binocular view of the real object not displayed in the virtual field of view image into the virtual field of view image according to his own needs, and / or delete the redundant binocular view of the real object that does not need to be presented from the virtual field of view image, so as to reduce the impact on the viewing of the virtual scene image.
[0101] Preferably, a virtual field of view image superimposed with a binocular view of a real object may be presented to the user only under appropriate circumstances. Figure 2 A flowchart of a method for displaying a real object in a head mounted display according to another exemplary embodiment of the present invention is shown. Figure 1 In addition to step S10 and step S20 shown, Figure 2 The method for displaying a real object in a head mounted display may further include step S30. Step S10 and step S20 may be implemented with reference to the above specific implementations, and will not be described in detail herein.
[0102] In step S30 , it is determined whether it is necessary to present the real objects around the user to the user, wherein if it is determined that it is necessary to present the real objects around the user to the user, steps S10 and S20 are executed.
[0103] Here, it should be understood that the above steps are not limited to Figure 2 For example, step S10 may be continuously executed to obtain a binocular view of real objects around the user in real time, and step S20 may be executed only when it is determined in step S30 that the real objects around the user need to be presented to the user.
[0104] As an example, when a scenario that requires interaction with real objects around the user is detected, it may be determined that the real objects around the user need to be presented to the user. For example, the scenario that requires interaction with real objects around the user may include at least one of the following: a scenario that requires input operations to be performed with the aid of real objects (e.g., a scenario that requires the use of a keyboard, a mouse, a handle, etc. to perform input operations), a scenario that requires avoiding collisions with real objects (e.g., a scenario that requires avoiding approaching people), and a scenario that requires grabbing real objects with hands (e.g., a scenario that requires eating or drinking water).
[0105] According to an exemplary embodiment of the present invention, the timing for presenting a real object can be determined according to various situations. As an example, when at least one of the following conditions is met, it can be determined that the real objects around the user need to be presented to the user: receiving user input requesting the presentation of a real object; determining that the real objects around the user match the preset presentation object; detecting controls that require the use of real objects to perform operations in the application interface displayed in the virtual field of view image; detecting that a body part of the user is approaching a real object; detecting that a body part of the user is moving toward the real object; determining that an application running on the head-mounted display currently needs to use a real object; and determining that the preset time for interacting with the real objects around the user has arrived.
[0106] Through the above method, it is possible to determine at what moment the user needs to see the real objects around him, that is, the time when the binocular view of the real objects around him needs to be presented to the user, so that the user can timely know the actual three-dimensional spatial position and stereoscopic posture of the real objects around him.
[0107] Preferably, the presentation of the virtual field of view image superimposed with the binocular view of the real object to the user may be terminated under appropriate circumstances. Figure 3 A flowchart of a method for displaying a real object in a head mounted display according to another exemplary embodiment of the present invention is shown. Figure 1 In addition to step S10 and step S20 shown, Figure 3 The method for displaying a real object in a head mounted display may further include steps S40 and S50. Steps S10 and S20 may be implemented with reference to the above specific implementations, and will not be described in detail herein.
[0108] In step S40 , it is determined whether it is necessary to continue presenting the real objects around the user to the user, wherein if it is determined that it is not necessary to continue presenting the real objects around the user to the user, step S50 is executed.
[0109] As an example, when it is detected that the scenario requiring interaction with the real objects around the user ends, it may be determined that there is no need to continue presenting the real objects around the user to the user.
[0110] As an example, when at least one of the following conditions is met, it is determined that there is no need to continue presenting the real objects around the user to the user: receiving user input to terminate the presentation of the real objects; determining that the real objects around the user do not match the preset presentation objects; no controls that require the use of real objects to perform operations are detected in the application interface displayed in the virtual field of view image; determining that a body part of the user is far away from the real object; determining that the application running on the head-mounted display does not currently need to use the real object; determining that the user has not performed an operation using the real object during a preset time period; determining that the user is able to perform an operation without viewing the real object.
[0111] Regarding user input requesting the presentation of a real object and / or terminating the presentation of a real object, as an example, it can be implemented through at least one of the following items: touch screen operation, physical button operation, remote control command input operation, voice control operation, gesture action, head movement, body movement, line of sight movement, touch action, and holding action.
[0112] The preset presentation object may be an object that needs to be presented that is set by default in the head mounted display, or an object that needs to be presented that is set by the user according to his / her own needs. For example, the preset presentation object may be food, tableware, the user's hand, an object with a specific label, a person, etc.
[0113] In step S50 , a virtual field of view image without a binocular view superimposed with a real object is presented to the user.
[0114] Through the above method, a virtual field of view image of a binocular view without superimposed real objects can be presented to the user (i.e., only a virtual scene image is presented to the user) without presenting real objects around the user, so as not to affect the user's viewing of the virtual scene image.
[0115] Figure 4 A flowchart of a method for displaying a real object in a head mounted display according to another exemplary embodiment of the present invention is shown. Figure 1 In addition to step S10 and step S20 shown, Figure 4 The method for displaying a real object in a head mounted display may further include step S60. Step S10 and step S20 may be implemented with reference to the above specific implementations, and will not be described in detail herein.
[0116] In step S60, a display item about the IoT device is obtained, and the obtained display item is superimposed on the virtual field of view image, wherein the display item represents at least one of the following items of the IoT device: an operation interface, an operation status, notification information, and indication information.
[0117] Here, the notification information may be information such as text, audio, video, image, etc. For example, if the IoT device is a communication device, the notification message may be a text message about a missed call; if the IoT device is a door access control device, the notification message may be a captured surveillance image.
[0118] The indication information is information such as text, audio, video, image, etc. used to instruct the user to find the IoT device. For example, the indication information may be an arrow indicator, and the user can obtain the relative position of the IoT device relative to the user according to the direction of the arrow; the indication information may also be text indicating the relative position of the user and the IoT device (for example, the communication device is two meters in front of your left).
[0119] As an example, display items about IoT devices can be obtained through at least one of the following processes: capturing an image of the IoT device located within the user's real field of view, and extracting display items about the IoT device from the captured image of the IoT device; receiving display items about the IoT device from the IoT device located within and / or outside the user's real field of view; sensing the position of the IoT device located outside the user's real field of view relative to the head-mounted display as indication information.
[0120] In addition, the method for displaying a real object in a head mounted display according to another exemplary embodiment of the present invention may further include remotely controlling the IoT device to perform corresponding processing according to the user's operation on the displayed item.
[0121] Through the above method, the user can obtain relevant information of the surrounding IoT devices when using the head-mounted display. In addition, the user can remotely control the IoT devices to perform corresponding processing.
[0122] The specific implementation of the above method will be described below in conjunction with specific application scenarios. It should be understood that the following specific implementation is not limited to individual application scenarios and can be applied in different scenarios. The specific implementations described based on different scenarios can also be integrated with each other and are not limited to this.
[0123] The following will be combined Figures 5 to 10 It should be understood that although the following application scenario takes a physical keyboard as an example, it is also applicable to similar interactive devices, such as a mouse, a remote control, a game controller, etc.
[0124] Figure 5 A flowchart of a method for displaying a physical keyboard in a head mounted display according to an exemplary embodiment of the present invention is shown. Here, all steps in the method can be performed by a head mounted display, in which case the head mounted display can be connected to the physical keyboard by wire or wirelessly.
[0125] also, Figure 5 The method shown may also have a portion of the steps executed by the head-mounted display, and another portion of the steps executed by a processor outside the head-mounted display. Figure 6 An example of a connection method between a head mounted display and a physical keyboard according to an exemplary embodiment of the present invention is shown. Figure 6 As shown, the head-mounted display and the physical keyboard can be connected to the processor by wire or wirelessly, that is, part of the steps in the method are executed by the head-mounted display, and the other part of the steps are executed by the processor outside the head-mounted display.
[0126] Specifically, if Figure 5 As shown, in step S101, it is determined whether a physical keyboard around the user needs to be presented to the user.
[0127] Whether it is necessary to present a physical keyboard around the user to the user may be determined according to the following implementations. As an example, when a control that requires the use of a real object to perform an operation is detected in the application interface displayed in the virtual field of view image, it may be determined that a physical keyboard around the user needs to be presented to the user. For example, the attribute information of all controls in the application interface displayed in the virtual field of view image may be read, and based on the read attribute information, it may be determined whether there are controls that require the use of an interactive device to perform an operation. When it is determined that there are controls that require the use of an interactive device to perform an operation, it may be determined that an interactive device around the user needs to be presented to the user, and the physical keyboard may be set as the interactive device that needs to be presented to the user. Figure 7 An example of a physical keyboard that needs to be presented to the user according to an exemplary embodiment of the present invention is shown. Figure 7 As shown, if a control that requires an interactive device to perform an input operation is detected in the application interface displayed in the virtual field of view image, such as Figure 7 The dialog box (a) in the figure prompts you to enter text information. Figure 7 If there is a dialog box shown in (b) prompting click to start, it can be determined that a physical keyboard around the user needs to be presented to the user so that the user can perform corresponding input operations.
[0128] As another example, if it is determined that the application running on the head mounted display currently needs to use a physical keyboard, it may be determined that the physical keyboard around the user needs to be presented to the user. Here, the interactive device currently required to be used may be determined based on the application. For example, if the application running on the head mounted display is a virtual game application, and a keyboard is currently required to control the game character, it may be determined that the physical keyboard around the user needs to be presented to the user. Furthermore, the physical keyboard determined to be presented to the user may be added to the preset presentation object list.
[0129] As another example, when a user input requesting presentation of a physical keyboard is received, it may be determined that the physical keyboard needs to be presented to the user. Here, the user input may be a touch screen operation, a physical key operation, a remote control command input operation, a voice control operation, a gesture action, a head action, a body action, a sight action, a touch action, a holding action, etc.
[0130] Regarding physical button operations, touch screen operations, and remote control command input operations, they may be operations on physical buttons on the head-mounted display, operations on buttons on the touch screen, or input operations on other devices capable of remotely controlling the head-mounted display (e.g., a handle, etc.). For example, when a message event of physical button a is detected, it may be determined that a physical keyboard needs to be presented to the user; when a message event of physical button b is detected, it may be determined that a physical keyboard does not need to be presented to the user. In addition, whether or not the physical keyboard needs to be presented may be switched by operating the same physical button.
[0131] Regarding gesture operation, the camera may detect a user gesture indicating that a physical keyboard needs to be presented to determine that a physical keyboard needs to be presented. For example, when gesture a indicating that a physical keyboard needs to be presented is detected, it may be determined that a physical keyboard needs to be presented to the user; when gesture b indicating that a physical keyboard does not need to be presented is detected, it may be determined that a physical keyboard does not need to be presented to the user. In addition, whether or not a physical keyboard needs to be presented may also be switched through the same gesture operation.
[0132] Regarding head movements, body movements, and line of sight movements, the need to present a physical keyboard to the user can be determined by detecting a user gesture indicating the need to present a physical keyboard through a camera device, such as head rotation or line of sight direction. For example, when it is detected that the user's line of sight meets condition a, it can be determined that a physical keyboard needs to be presented to the user (for example, the user's line of sight is looking at a dialog box in the virtual field of view image that prompts the user to enter text information); when it is detected that the user's line of sight meets condition b (for example, the user's line of sight is looking at a virtual object or a virtual movie screen in the virtual field of view image), it can be determined that a physical keyboard does not need to be presented to the user. Among them, condition a and condition b can be complementary conditions or non-complementary conditions.
[0133] Regarding voice-controlled operations, the user's voice can be collected through a microphone, and the user's voice commands can be recognized through voice recognition technology to determine whether a physical keyboard needs to be presented to the user.
[0134] As another example, when it is detected that a hand is placed above a physical keyboard, it can be determined that a physical keyboard needs to be presented to the user. For example, a camera can be used to detect whether there are hands around the user (for example, a skin color detection method can be used), whether there is a keyboard, and whether the hand is on the keyboard. When all three conditions are met, it can be determined that a physical keyboard needs to be presented to the user; when one of the three conditions is not met, it can be determined that a physical keyboard does not need to be presented to the user. Whether there are hands and a keyboard around the user can be detected simultaneously or sequentially, and the order of detecting whether there are hands and a keyboard around the user is not limited. When it is detected that there are hands and a keyboard around the user, it is further detected whether the hand is on the keyboard.
[0135] If it is determined in step S101 that a keyboard needs to be presented to the user, step S102 is executed. In step S102, an image around the user is captured by a photographing device, and a keyboard image is detected from the captured image.
[0136] As an example, feature points may be detected in a captured image, and the keyboard image may be detected by matching the detected feature points with pre-stored keyboard image feature points. For example, the image coordinates of the four corner points of the keyboard in the captured image may be determined based on the image coordinates of the feature points in the captured image that match the pre-stored keyboard image feature points and the coordinates of the pre-stored keyboard image feature points, and then the outline of the keyboard in the captured image may be determined based on the determined image coordinates of the four corner points, thereby determining the keyboard image in the captured image. Here, the feature points may be Scale-invariant Feature Transform (SIFT) feature points, or other feature points known to those skilled in the art. Accordingly, the image coordinates of the outline points (i.e., points on the outline of the object) of any object in the captured image may be calculated using the same or similar method. In addition, it should be understood that the keyboard image may also be detected from the captured image in other ways.
[0137] The following takes the four corner points of the keyboard as an example to explain in detail the calculation process of the outline of the keyboard in the captured image. Assume that the coordinates of the pre-stored feature points of the keyboard image are P world (In the local coordinate system where the keyboard is located), the coordinates of the upper left corner vertex on the outline of the pre-stored keyboard image are P corner (In the local coordinate system where the keyboard is located), the coordinates of the feature points in the captured image that match the pre-stored keyboard image feature points are P image , the transformation from the local coordinate system of the keyboard to the coordinate system of the camera is represented by R and t, where R represents rotation and t represents displacement. The projection matrix of the camera is K, then
[0138] P image=K*(R*P world +t) (1),
[0139] Substituting the coordinates of the pre-stored feature points of the keyboard image and the coordinates of the feature points in the matched captured image into equation (1), we can solve for R and t, and then we can get the coordinates of the top left corner of the keyboard in the captured image as K*(R*P corner +t), accordingly, the coordinates of the other three corner points of the keyboard in the captured image can be obtained, and the outline of the keyboard in the captured image can be obtained by connecting the lines. Accordingly, the coordinates of the outline points of any object in the captured image can be calculated, thereby obtaining the outline of the projection of the object on the captured image.
[0140] In addition, if no keyboard image is detected from the captured image, the shooting angle of view can be expanded (for example, using a wide-angle shooting device) to recapture the image around the user and detect the keyboard image therefrom, or the user can be prompted to turn to the direction where the keyboard is located to recapture the image including the keyboard. For example, the location of the keyboard can be determined by utilizing the location information of the keyboard detected and memorized in the previously captured image or by wireless positioning methods (for example, Bluetooth transmission, Radio Frequency Identification (RFID) tags, infrared, ultrasound, magnetic field, etc.). Figure 8 An example of prompting a user to turn to the direction where the keyboard is located according to an exemplary embodiment of the present invention is shown. Figure 8 As shown, a direction indication image (eg, an arrow) may be superimposed on the virtual field of view image to instruct the user to rotate the field of view in that direction.
[0141] In step S103, based on the positional relationship between the camera and the user's binocular eyes, the detected keyboard image is subjected to viewpoint correction to obtain a binocular view of the keyboard. For example, the detected keyboard image is subjected to homography transformation according to the rotation and translation relationship between the coordinate system of the camera and the coordinate system of the user's binocular eyes, thereby obtaining a binocular view of the keyboard. The rotation and translation relationship between the coordinate system of the camera and the coordinate system of the user's binocular eyes can be calibrated offline, or the calibration data provided by the manufacturer can be read and used.
[0142] As an example, if the shooting device used in step S102 is a single single-viewpoint shooting device, the keyboard image of another viewpoint can be determined based on the detected keyboard image, and then based on the positional relationship between the single shooting device and the user's binocular eyes, the detected keyboard image and the keyboard image of the other viewpoint are corrected by viewpoint to obtain a binocular view of the keyboard.
[0143] Here, since the shooting device used is a single single-viewpoint shooting device, the detected keyboard image has only one viewpoint, and the keyboard image needs to be converted into a stereoscopic image with depth information. To this end, it is necessary to start from the keyboard image of one viewpoint and synthesize the keyboard image of another viewpoint by calculation, so as to obtain a stereoscopic keyboard image. For example, for the keyboard, a plane rectangle can be used to model it, and its position and posture in three-dimensional space can be calculated. Specifically, the position and posture of the keyboard in the three-dimensional coordinate system of the single-viewpoint shooting device can be obtained according to the homography transformation relationship. When the rotation and translation parameters of the two viewpoints of the single-viewpoint shooting device and the human eye are known, the keyboard can be projected into the left eye view and the right eye view of the human eye respectively, so that the binocular image superimposed on the virtual field of view image has a three-dimensional sense, forming a visual clue that can correctly convey the actual physical position of the keyboard. For objects with more complex shapes, a piecewise plane model can be used to approximate the surface shape of the object, and then a similar method is used to estimate its position and posture, and the binocular view of the object is regenerated by projection.
[0144] The following takes a keyboard image with one viewpoint as an example to explain the calculation process of the binocular view of the keyboard in detail. The three-dimensional coordinates of the feature points on the keyboard (in the local coordinate system where the keyboard is located) are known, for example, by pre-measurement, or by taking multiple images from different angles and then using stereo vision methods to perform three-dimensional reconstruction. Assume that the three-dimensional coordinates of the feature points on the keyboard in the local coordinate system where the keyboard is located are P obj , the coordinates of the feature points on the keyboard in the coordinate system of the camera are P cam , the rotation and translation of the local coordinate system of the keyboard to the coordinate system of the camera are R,t, and the rotation and translation of the left and right eye coordinate systems of the user relative to the coordinate system of the camera are R l , t l , R r , t r , the projection point in the captured image corresponding to the feature point on the keyboard is P img , the intrinsic parameter matrix K of the shooting device can be obtained by prior calibration.
[0145] The observed projection point constraints can be used to solve R and t:
[0146] P img =K*P cam =K*(P obj *R+t) (2),
[0147] Then the projection equation of the left eye image is:
[0148] P left =K*(P obj *R l +tl ) (3),
[0149] Because P obj On a plane, so P img and P left Satisfies the homography transformation, so the transformation matrix H can be obtained to satisfy P left =H*P img According to the transformation matrix H, the detected keyboard image I cam Converted to the image I seen by the left eye left Correspondingly, for the right eye image, the same method can be used to obtain it.
[0150] Fig. 9 An example of obtaining a binocular view of a keyboard based on a captured image according to an exemplary embodiment of the present invention is shown. Fig. 9 As shown, a keyboard image is detected from a captured image, and then the position and posture of the keyboard in the three-dimensional space are determined based on the detected keyboard image of a single viewpoint, and then the keyboard image of another viewpoint is determined based on the position and posture of the keyboard in the three-dimensional space, and then based on the positional relationship between the shooting device and the user's binocular eyes, viewpoint correction is performed on the detected keyboard image of a single viewpoint and the determined keyboard image of another viewpoint to obtain a binocular view of the keyboard, thereby obtaining a virtual field of view image with the binocular view of the keyboard superimposed thereon.
[0151] As another example, if the shooting device used in step S102 is a depth camera, or at least two single-view cameras, the detected keyboard image can be corrected for viewpoint based on the positional relationship between the shooting device and the user's binocular eyes to obtain a binocular view of the keyboard.
[0152] When the shooting device is at least two single-viewpoint cameras, the 3D image of the keyboard and the position of the keyboard relative to the shooting device can be obtained through the at least two cameras. Then, the 3D image of the keyboard can be projected into the binocular view based on the position of the keyboard relative to the shooting device and the positional relationship between the shooting device and the user's binocular eyes.
[0153] When the shooting device is a depth camera, the 3D image of the keyboard and the position of the keyboard relative to the depth camera can be obtained through the depth camera. Then, the 3D image of the keyboard can be projected into the binocular view based on the position of the keyboard relative to the depth camera and the positional relationship between the depth camera and the user's binocular eyes.
[0154] In step S104, a virtual field of view image superimposed with a binocular view of the keyboard is presented to the user. As an example, a virtual scene image reflecting a virtual scene may be first acquired, and a virtual field of view image superimposed with a binocular view of the keyboard is generated by superimposing the binocular view of the keyboard with the virtual scene image. Fig.10 An example of generating a virtual visual field image with a binocular view superimposed with a keyboard according to an exemplary embodiment of the present invention is shown. Fig.10 As shown in (a) of FIG. 1 , the image around the user is captured by a camera, such as Fig.10 As shown in (b) in FIG. 1 , the keyboard image detected from the captured image is subjected to viewpoint correction to obtain a binocular view of the keyboard, as shown in FIG. Fig.10 As shown in (c) in FIG. 1 , a virtual scene image reflecting the virtual scene is obtained, such as Fig.10 As shown in (d) in the figure, the binocular view of the keyboard is superimposed on the virtual scene image to generate a virtual field of view image and output it to the user.
[0155] In step S105 , it is determined whether it is necessary to continue presenting the keyboard to the user.
[0156] As an example, when the keyboard usage is detected to be over, it may be determined that there is no need to continue presenting the keyboard to the user. Whether the user has ended the keyboard usage may be determined by the following implementations.
[0157] As an example, when it is detected that the user has not used the keyboard for input during a predetermined time period, it can be determined that the user has ended the use of the keyboard. It should be understood that the user's keyboard input situation can be continuously detected. When a short pause occurs, it is not determined that the user has ended the use of the keyboard. Only when it is detected that the user interrupts the use of the keyboard for input and exceeds the predetermined time period, it is determined that the user has ended the use of the keyboard. Here, the predetermined time period can be automatically set by the head mounted display, or can be customized by the user. For example, the predetermined time period can be set to 5 minutes.
[0158] As another example, since the user's hand is not too far away from the keyboard when using the keyboard to perform input operations, when it is detected that the distance between the user's hand and the keyboard exceeds a predetermined usage distance threshold, it can be determined that the user has ended the use of the keyboard. For example, when it is detected that the distance between both hands of the user and the keyboard exceeds the first usage distance threshold, it can be determined that the user has ended the use of the keyboard. In some cases, one hand of the user is far away from the keyboard, but the other hand is still on the keyboard, and the keyboard is no longer needed at this time. Therefore, when it is detected that the distance between the user's single hand and the keyboard exceeds the second usage distance threshold, it can be determined that the user has ended the keyboard. Among them, the first usage distance threshold and the second usage distance threshold may be the same or different, and may be automatically set by the head-mounted display or customized by the user, and whether the distance between both hands and the keyboard or the distance between one hand and the keyboard is measured may be automatically set by the head-mounted display or customized by the user.
[0159] As another example, when a user input for terminating the presentation of the keyboard is detected, it can be determined that the user ends the use of the keyboard. For example, the user presses a specific button or other input mode to notify the head mounted display to terminate the display of the keyboard.
[0160] As another example, when the application running on the head mounted display does not currently require the use of the keyboard, it can be determined that the user has ended the use of the keyboard. For example, it is detected that there are no controls in the application interface displayed in the virtual field of view image that require the use of the keyboard to perform operations (for example, the text input dialog box displayed in the virtual field of view image disappears); or it is detected that the application that requires the use of the keyboard has been closed.
[0161] It should be understood that if it is detected that the user switches to other applications during keyboard input, it can be re-determined whether the user needs to use the keyboard based on the specific situation of the switched application, thereby determining whether the keyboard needs to be presented to the user.
[0162] If it is determined that the keyboard does not need to be presented to the user, step S106 is executed. In step S106, a virtual field of view image of the binocular view without the keyboard superimposed thereon is presented to the user, for example, only a virtual scene image is presented to the user.
[0163] It should be understood that the above specific implementation using the keyboard as an example is also applicable to a handle (for example, a game handle used when playing a virtual game using a head-mounted display). The operation of the application running on the head-mounted display can be detected. When the running application currently needs to be operated using the handle, it can be detected whether the user is holding the handle. If it is detected that the user is currently holding the handle, only the virtual scene image is presented to the user; if it is detected that the user is not currently holding the handle, the image around the user can be captured by the camera, and the handle is detected from the captured image.
[0164] Whether the user is holding the handle can be detected by the following implementation. As an example, since the ambient temperature is generally lower than the human body temperature and the humidity of the human hand is generally higher than the ambient humidity, it is possible to determine whether the user is holding the handle by detecting the temperature and / or humidity around the handle. Here, a temperature sensor and / or a humidity sensor can be set in the handle to measure the temperature and / or humidity of the surrounding environment. Whether the handle is in the user's hand can be determined by comparing the measured temperature and / or humidity of the surrounding environment with a preset temperature threshold and / or a preset humidity threshold.
[0165] As another example, it can be determined whether the user is holding the handle by detecting the movement of the handle. Here, a motion sensor (e.g., a gyroscope, an inertial accelerometer, etc.) can be set in the handle, and it can be determined whether the handle is in the user's hand by analyzing the intensity and duration of the motion.
[0166] As another example, since the human body contains water, it is a conductor that can conduct electricity, so whether the user is holding the handle can be determined by detecting current and / or inductance. Here, a conductive material can be installed on the surface of the handle. After installing electrodes on the surface of the handle, the resistance can be estimated by measuring the current between the electrodes, thereby determining whether the handle is in the user's hand; or, the inductance of a single electrode can be measured to determine whether the electrode is connected to the human body.
[0167] When no handle is detected from the captured image, the user may be prompted that there is no handle around. In this case, the user may need to get up to look for the handle, so the user may be further asked whether he wants to get up to look for the handle. If the user determines that he needs to get up to look for the handle, a binocular view of the surrounding real objects may be presented to the user, so that the user can directly see the surrounding environment; if the user determines that he does not need to get up to look for the handle, the application may be switched to an operation state without a real handle. When the user finds the handle and holds it in his hand, only a virtual scene image may be presented to the user; when the user does not find the handle and gives up looking for the handle, only a virtual scene image may be presented to the user.
[0168] When the handle is detected from the captured image, it can be determined whether it is within the user's real field of view (i.e., the field of view when the user is not currently wearing a head-mounted display). If it is within the user's real field of view, a virtual field of view image with a binocular view of the handle superimposed can be presented to the user; if it is not within the user's field of view, the user can be prompted that there is no handle within the current field of view, and the user can be further prompted to turn to the direction where the handle is located to bring the handle into the user's real field of view. For example, the user can be prompted through images, text, audio, video, etc. The handle can be positioned in a manner similar to that of a keyboard, for example, the handle can be positioned by wireless signal detection and the like.
[0169] As an example, a prompt box may be displayed in the virtual field of view image, and the prompt box may indicate that the handle is not within the field of view, so that the user can adjust the viewing angle to search for the handle. The user may be prompted in the prompt box on how to adjust the viewing angle based on the relative position of the handle and the user, thereby helping the user to quickly find the handle. As another example, the user may be prompted by sound that the handle is not within the field of view, and further, the user may be prompted by sound on how to adjust the viewing angle based on the relative position of the handle and the user. As another example, an arrow indicator may be displayed in the virtual field of view image, and the direction of the arrow may be used to indicate the location of the handle. Furthermore, while displaying the arrow indicator in the virtual field of view image, the user may be prompted by text displayed in the virtual field of view image or by sound on the angle of rotation and / or the distance between the handle and the user.
[0170] The above method makes it easy for a user to find an interactive device and use the interactive device to perform input operations when wearing a head mounted display.
[0171] The following will be combined Figures 11 to 19 To describe the application scenario of eating while wearing a head-mounted display. Fig.11 An example of presenting a virtual field of view image superimposed with a binocular view of food to a user according to an exemplary embodiment of the present invention is shown. Fig.11 As shown, a virtual field of view image with a binocular view of food superimposed thereon is presented to the user, so that the user can complete the action of eating while using the head mounted display. It should be understood that although the following application scenario uses food as an example, it is also applicable to other similar objects.
[0172] Fig.12 A flowchart of a method for displaying food in a head-mounted display according to an exemplary embodiment of the present invention is shown. Here, all steps in the method can be performed by the head-mounted display, or a part of the steps can be performed by the head-mounted display and another part of the steps can be performed by a processor outside the head-mounted display.
[0173] like Fig.12 In step S201, it is determined whether the user needs to eat.
[0174] Whether the user needs to eat can be determined according to the following implementation. As an example, when a predetermined key operation is detected, it can be determined that the user needs to eat. Here, the operated key can be a hardware key on the head-mounted display, or it can be a key on the display screen of the head-mounted display. When it is detected that the user presses the predetermined key in a predetermined manner, it can be determined that food and / or drinks need to be presented to the user. The operated key can also be a virtual key, that is, a virtual interface is displayed in the virtual field of view image, and the judgment is made by detecting the interaction between the user and the virtual interface. Among them, the predetermined method can be at least one of the following methods: short press, long press, short press a predetermined number of times, alternating short press and long press, etc. Fig.13 2 shows an example of keys operated according to an exemplary embodiment of the present invention. Fig.13 As shown, the operated button may be a hardware button on the head mounted display, a button on the display screen of the head mounted display, or a virtual button in the virtual interface.
[0175] As another example, when a predetermined gesture of the user is detected, it can be determined that the user needs to eat. The predetermined gesture can be a gesture performed by one hand or a gesture performed by both hands, and the specific content of the predetermined gesture can be at least one of the following gestures: waving, drawing a circle, drawing a square, drawing a triangle, framing gesture, etc. Fig.14 An example of a framing gesture according to an exemplary embodiment of the present invention is shown. Fig.14As shown, the objects within the framing range that need to be presented to the user can be determined according to the framing range circled by the framing gesture. Existing gesture detection equipment can be used to detect and identify the specific content indicated by the gesture.
[0176] As another example, when objects with specific labels are detected around the user, it can be determined that the objects with specific labels need to be presented to the user. Here, all objects that need to be presented to the user can be uniformly affixed with the same specific label, or different categories of objects that need to be presented to the user can be affixed with specific labels of different categories to facilitate identification of objects of different categories. For example, the first category label can be affixed to the table to identify the table, the second category label can be affixed to the chair to identify the chair, and the third category label can be affixed to the tableware to mark the tableware. When objects with the third category label are detected around the user, it can be determined that the user needs to eat. Specific labels can be detected and identified by various methods.
[0177] As another example, when it is detected that the preset meal time has been reached, it can be determined that the user needs to eat. The head-mounted display can automatically preset the meal time, for example, the preset breakfast start time is 7:30, the lunch start time is 12:00, and the dinner start time is 6:00. Since each user's meal time may be different, the user can also set the meal time according to his or her own habits. For example, the user can set the breakfast start time to 8:00, the lunch start time to 12:30, and the dinner start time to 6:00. When there are both the meal time automatically preset by the head-mounted display and the meal time preset by the user, the priority method can be used for judgment. For example, if the priority of the meal time preset by the user is higher than the priority of the meal time automatically preset by the head-mounted display, it can be determined that the user needs to eat only when the meal time preset by the user is reached. In addition, both the meal time automatically preset by the head-mounted display and the meal time preset by the user can be responded to.
[0178] As another example, surrounding real objects may be identified to determine the type of the real objects, and when at least one of food, drink, and tableware is detected, it may be determined that the user needs to eat. For example, food, drink, tableware, etc. may be detected from an image captured around the user by an image recognition method, and food, drink, and tableware around the user may also be identified by other methods.
[0179] As another example, when at least one of food, drink and tableware around the user is detected during the preset meal time period, it can be determined that the user needs to eat. Here, the meal time period can be preset, for example, the preset breakfast time period is 7:00-10:00, the lunch time period is 11:00-14:00, and the dinner time period is 17:00-20:00. The meal time period can be automatically set by the head-mounted display (for example, the default setting at the factory) or set by the user. If the meal time period automatically preset by the head-mounted display and the meal time period preset by the user exist at the same time, the priority method can be used for judgment. For example, if the priority of the meal time period preset by the user is higher than the priority of the meal time period automatically preset by the head-mounted display, it can only respond when the meal time period preset by the user is reached. In addition, it can also respond to both the meal time period automatically preset by the head-mounted display and the meal time period preset by the user. During the preset meal time period, it can be detected by image recognition and other methods whether there is at least one of food, drink and tableware around the user to determine whether the user needs to eat.
[0180] As another example, when a preset gesture or a predetermined posture of a user is detected during a preset meal time period, it can be determined that the user needs to eat. Here, the meal time period can be preset, for example, the preset breakfast time period is 7:00-10:00, the lunch time period is 11:00-14:00, and the dinner time period is 17:00-20:00. The meal time period can be automatically set by the head-mounted display (for example, the default setting at the factory) or set by the user. If the meal time period automatically preset by the head-mounted display and the meal time period preset by the user exist at the same time, the priority can be used for judgment. For example, if the priority of the meal time period preset by the user is higher than the priority of the meal time period automatically preset by the head-mounted display, it can only respond when the meal time period preset by the user is reached. In addition, it can also respond to both the meal time period automatically preset by the head-mounted display and the meal time period preset by the user. The predetermined gesture can be a gesture completed by one hand or a gesture completed by both hands. The specific content of the predetermined gesture can be at least one of the following gestures: waving, hand drawing a circle, hand drawing a square, hand drawing a triangle, framing gesture, etc. The predetermined gesture may be at least one of the following gestures: turning the head, leaning the body to the left, leaning the body to the right, etc. Existing gesture detection equipment or posture detection equipment may be used to detect and identify the specific content of the gesture or posture.
[0181] As another example, when a preset remote control command input operation is detected, it can be determined that the user needs to eat. Specifically, it can be determined whether the user needs to eat by detecting the remote control command input by the user on other devices. Here, the other devices may include at least one of the following devices: a mobile communication terminal (for example, a smart phone), a personal tablet computer, a personal computer, an external keyboard, a wearable device, a handle, etc. Wearable devices may include at least one of the following items: a smart bracelet, a smart watch, etc. The other devices may be connected to the head-mounted display by wire or wirelessly, wherein the wireless method may include: Bluetooth, ultra-wideband, ZigBee ("Purple Bee Protocol"), wireless fidelity (wireless fidelity, Wi-Fi), macro network, etc. In addition, the remote control command may also be an infrared command, etc. Fig.15 An example of determining that a user needs to eat through a remote control command input operation according to an exemplary embodiment of the present invention is shown. Fig.15 As shown, it can be determined that the user needs to eat by inputting a remote control command on a smartphone.
[0182] As another example, whether the user needs to eat is determined based on the detected voice control operation. The user's voice or other sound signals can be collected by a microphone, and the user's voice instructions or voice control instructions can be recognized by voice recognition technology to determine whether the user needs to eat. For example, if the user issues a voice control instruction "start eating", the head-mounted display receives the voice control instruction and performs voice recognition on the voice control instruction, thereby determining that the voice control instruction is an instruction for determining that the user needs to eat. The correspondence between the voice control instruction and the instruction indicating that the user needs to eat can be pre-stored in the head-mounted display. For example, it can be displayed in the form of a correspondence table, and the following voice control instructions are displayed in correspondence with the instructions that the user needs to eat: "start displaying meals", "start displaying the dining table" and other Chinese and English instructions or other language instructions. It should be understood that the voice control instruction is not limited to the above examples, and can also be other voice control instructions pre-set by the user, as long as the user and the head-mounted display know that the voice control instruction corresponds to the voice control instruction that determines that the user needs to eat.
[0183] If it is determined in step S201 that the user needs to eat, step S202 is executed. In step S202, a real object that needs to be presented to the user is determined. Here, the real object that needs to be presented to the user can be food, drinks, tableware, hands, dining tables, etc.
[0184] The objects that need to be presented to the user can be determined by the following implementation. As an example, the head-mounted display may pre-store images of various items (e.g., food), and the images of real objects detected from the captured images may be matched with the pre-stored images of food. If the match is successful, it indicates that the real objects detected from the captured images contain food, so that the real objects detected from the captured images can be determined to be objects that need to be presented to the user. In some cases, the user may want to display as few real objects as possible. Therefore, in the above implementation, if it has been determined that the real objects detected from the captured images contain food, the food can be separated from other real objects, and only the food is determined to be an object that needs to be presented to the user, without presenting other real objects to the user. In addition, since the relative position of the hand and the food is important for correct grasping, the hand image in the captured image can also be detected by various algorithms. If the hand is detected, the hand can also be regarded as an object that needs to be presented to the user.
[0185] As another example, labels indicating the corresponding categories may be attached to objects of different categories to identify the objects of different categories, and the head-mounted display may identify the labels. For example, a label of category 1 may be attached to a table to identify the table, a label of category 2 may be attached to a chair to identify the chair, and a label of category 3 may be attached to tableware to mark the tableware. When a label of category 3 is detected, it may be determined that the real objects around the user need to be presented to the user. In some cases, the user may want to display as few real objects as possible, so in the above implementation, if a label of category 3 has been detected, the object with the label of category 3 may be separated from other real objects, and only the object with the label of category 3 may be determined as the object that needs to be presented to the user, and other real objects do not need to be presented to the user. In addition, since the relative position of the hand and the food and / or drink is important for correct grasping, the hand image in the captured image may also be detected by various algorithms, and if the hand is detected, the hand may also be regarded as an object that needs to be presented to the user.
[0186] As another example, the real object that needs to be presented to the user or not can be determined by detecting a predetermined gesture of the user in a certain area. The predetermined gesture can be at least one of the following gestures: waving, drawing a circle, drawing a square, drawing a triangle, framing gesture, etc. For example, if a user's gesture of drawing a circle in a certain area is detected, it can be determined that only the objects within the circle need to be presented to the user; if a framing gesture of the user is detected, it can be determined that only the objects circled by the framing gesture need to be presented to the user; if a user's hand-drawing triangle gesture is detected, it can be determined that all objects on the dining table need to be presented to the user; if a user's hand-drawing square gesture is detected, it can be determined that only food needs to be presented to the user; if a user's hand-drawing gesture of waving on a real object is detected, it can be determined that the real object does not need to be presented to the user.
[0187] As another example, it is possible to determine whether a real object needs to be presented to the user or not based on the detected voice command. For example, if the detected voice command is "show the table and food", it can be determined that the table and all the food on the table need to be presented to the user; if the detected voice command is "show only food", it can be determined that only the food needs to be presented to the user; if the detected voice command is "do not show the table", it can be determined that the table does not need to be presented to the user.
[0188] As another example, the objects that need to be presented to the user or not can be determined by combining voice commands and label recognition. For example, the first category label can be attached to the table to identify the table, the second category label can be attached to the chair to identify the chair, and the third category label can be attached to the tableware to mark the tableware. The head-mounted display can recognize the above labels. When the voice command is detected as "only display objects with the third category label", it can be determined that only food needs to be presented to the user; when the voice command is detected as "display objects with the third category label and the first category label", it can be determined that food and the dining table need to be presented to the user; when the voice command is detected as "do not display objects with the first category label", it can be determined that the dining table does not need to be presented to the user.
[0189] As another example, objects that need or do not need to be presented to the user may be determined by detecting remote control instructions of other devices. The other devices may include at least one of the following items: a wearable device, a mobile device, etc., wherein the wearable device may be at least one of the following items: a smart bracelet, a smart watch, etc. The remote control instructions may include the name of the object that needs to be presented and / or the name of the object that does not need to be presented.
[0190] As another example, a virtual mouse may be displayed in the virtual field of view image, and objects that need to be presented to the user or not may be determined by detecting the user's operation of the virtual mouse. Fig.16An example of determining an object to be presented to a user by a virtual mouse according to an exemplary embodiment of the present invention is shown. Fig.16 As shown, the user can operate the virtual mouse to select certain items in the virtual field of view image. After the selection operation of the virtual mouse is detected, it can be determined that the items selected by the virtual mouse are objects that need to be presented to the user.
[0191] In step S203, images around the user are captured by a photographing device, images of real objects that need to be presented to the user are detected from the captured images, and binocular views of the real objects are obtained based on the detected images of the real objects.
[0192] Here, the shooting device may be a single single-view camera, or a binocular camera, a depth camera, etc. When the shooting device is a binocular camera or a depth camera, when detecting the image of the real object to be presented to the user from the captured image, not only the image features of the real object to be presented to the user can be used for detection, but also the depth information of the real object to be presented to the user can be used to determine the image area where the real object is located. In addition, the hand image can also be detected from the captured image to provide the user with more complete visual feedback.
[0193] In step S204, a virtual field of view image superimposed with a binocular view of a real object is presented to the user.
[0194] Here, a virtual scene image reflecting a virtual scene may be acquired, and a virtual field of view image superimposed with a binocular view of a real object may be generated by superimposing a binocular view of a real object with the virtual scene image.
[0195] Since virtual objects and real objects in the virtual scene image may be blocked in three-dimensional space, in order to reduce mutual occlusion interference, real objects can be displayed in the following ways:
[0196] As an example, a binocular image of a real object can be displayed in a semi-transparent manner. Whether to display the real object in a semi-transparent manner can be determined based on the content type of the application interface displayed in the virtual field of view image and / or the interaction with the user. For example, when a user plays a virtual game through a head-mounted display, it is detected that the game character in the interface of the virtual game moves frequently and requires a large amount of user interaction input, and the real object can be displayed in a semi-transparent manner. When it is detected that the application interface displayed in the virtual field of view image is a virtual theater, or the user's input control frequency decreases, the semi-transparent display of the real object can be terminated. Similarly, real objects can be displayed as outlines or 3D grid lines.
[0197] As another example, virtual objects in a virtual scene image may be scaled and / or moved, thereby effectively avoiding the problem of occlusion with real objects in three-dimensional space. For example, when a virtual theater is running on a head-mounted display, the virtual screen displayed in the virtual field of view image may be scaled down and moved to avoid overlapping with real objects.
[0198] Fig.17 An example of displaying a real object according to an exemplary embodiment of the present invention is shown. Fig.17 (a) in FIG. 4 shows that the real object is displayed as a contour line. Fig.17 (b) in the figure shows scaling and moving of virtual objects in the virtual scene image.
[0199] In addition, when there is occlusion between virtual objects and real objects in the virtual scene image in three-dimensional space, the display priority can be judged. A display priority list can be preset, in which the display priority order of virtual objects and real objects in the virtual image is sorted according to their importance and urgency. The display priority list can be automatically set by the head-mounted display or by the user according to personal usage habits. The display mode can be determined by searching the priority in the list, and switching between different display modes can be performed.
[0200] In step S205, real objects superimposed on the virtual field of view image are added and / or deleted according to the user's operation. When there are too many real objects around the user, too many real objects may be superimposed on the virtual field of view image, affecting the user's viewing experience of the virtual scene image. Therefore, the user can choose which real objects to present in the virtual field of view image, or which real objects to remove.
[0201] Fig.18 The present invention shows a method for deleting a real object superimposed on a virtual field of view image according to an exemplary embodiment of the present invention. Fig.18 As shown, a real object displayed in a virtual field of view image can be removed by a waving hand gesture.
[0202] In step S206 , it is determined whether it is necessary to continue presenting the real object to the user.
[0203] As an example, when it is detected that the user has finished eating, it is determined that there is no need to continue presenting the real object to the user. Whether the user has finished eating can be detected by the following implementations:
[0204] As an example, when a predetermined key operation is detected, it can be determined that the user has finished eating. The operated key can be a hardware key on the head-mounted display or a key on the display screen of the head-mounted display. When it is detected that the user presses the predetermined key in a predetermined manner, it can be determined that the user has finished eating. The operated key can also be a virtual key, that is, a virtual interface is superimposed in the virtual field of view image, and the judgment is made by detecting the interaction between the user and the virtual interface. The predetermined method can be at least one of the following methods: short press, long press, short press a predetermined number of times, alternating short press and long press, etc.
[0205] As another example, when a predetermined gesture of the user is detected, it can be determined that the user has finished eating. The predetermined gesture can be a gesture performed by one hand or a gesture performed by both hands, and the specific content of the predetermined gesture can be at least one of the following gestures: waving, drawing a circle, drawing a square, drawing a triangle, framing gesture, etc. Existing gesture detection equipment can be used to detect and identify the specific content indicated by the gesture.
[0206] As another example, it can be determined whether the user has finished eating by detecting and identifying labels on objects. For example, labels indicating the corresponding categories can be attached to objects of different categories to identify the objects of different categories, and the head-mounted display can identify the labels. For example, a first-category label can be attached to a table to identify the table, a second-category label can be attached to a chair to identify the chair, and a third-category label can be attached to tableware to mark the tableware. When the third-category label cannot be detected, it can be determined that the user has finished eating.
[0207] As another example, whether the user has finished eating can be determined by detecting a remote control command input by the user on other devices. Here, the other device can be at least one of the following devices: a mobile communication terminal, a tablet computer, a personal computer, an external keyboard, a wearable device, a handle, etc.
[0208] As another example, whether the user has finished eating may be determined by recognizing a voice command of the user or a specific sound signal.
[0209] When it is determined in step S206 that the real object does not need to be presented to the user, step S207 is executed. In step S207, a virtual field of view image without a binocular view of the real object superimposed thereon is presented to the user, i.e., the binocular view of the real object is terminated and only the virtual scene image is presented to the user.
[0210] It should be understood that the specific implementation methods in the above application scenarios using eating as an example are also applicable to the application scenarios of drinking water. When a user drinks water, the action of drinking water consists of several small movements connected continuously: grabbing the cup, moving the cup to the mouth, lowering the head to drink water, and putting the cup back. Compared with general scenarios, drinking water requires a wider field of view, and it is necessary to display the relative position of the water cup and other surrounding objects, for example, the relative position to the table. Therefore, the binocular view of the real object can be superimposed on the virtual field of view image of the head-mounted display according to the following display methods: displaying the binocular view of the real object on the virtual scene image in the form of picture-in-picture (i.e., displaying a reduced binocular view of the real object at a certain position of the virtual scene image), displaying only the binocular view of the real object without displaying the virtual scene image (i.e., displaying only the binocular view of the real object in the virtual field of view image, and the user seems to be looking at the real scene around through glasses), displaying the virtual scene image on the binocular view of the real object in the form of picture-in-picture (i.e., displaying a reduced virtual scene image at a certain position of the binocular view of the real object), and displaying the binocular view of the real object and the virtual scene image spatially fused (for example, displaying the binocular view of the real object in a semi-transparent manner on the virtual scene image). Fig.19 An example of displaying a binocular view of a real object according to an exemplary embodiment of the present invention is shown. Fig.19 (a) in FIG. 4 shows that the binocular view of the real object is displayed on the virtual scene image in the form of picture-in-picture. Fig.19 (b) in FIG. 4 shows a binocular view of only real objects without displaying a virtual scene image. Fig.19 (c) in FIG. 4 shows that a virtual scene image is displayed in a binocular view of a real object in the form of a picture-in-picture. Fig.19 (d) in the figure shows a binocular view of a real object displayed in a semi-transparent manner on the virtual scene image.
[0211] The following will be combined Fig. 20 To describe an application scenario of avoiding collisions with real objects when wearing a head-mounted display. In order to avoid collisions with real objects when a user's body parts approach a real object or when a user's body parts move toward a real object when using a head-mounted display (for example, when a user uses a head-mounted display to play virtual somatosensory games such as boxing and golf, the user may collide with surrounding objects or objects close to the user), a virtual field of view image superimposed with a binocular view of objects close to the user's body may be presented to the user to prompt the user.
[0212] Fig. 20A flowchart of a method for displaying objects that may collide in a head-mounted display according to an exemplary embodiment of the present invention is shown. Here, all steps in the method can be performed by the head-mounted display, or a part of the steps can be performed by the head-mounted display and another part of the steps can be performed by a processor outside the head-mounted display.
[0213] like Fig. 20 As shown, in step S301, it is determined whether it is necessary to present surrounding real objects to the user, that is, it is determined whether there are objects around the user that may collide with the user. The following implementations can be used to detect whether there are objects around the user that may collide with the user.
[0214] As an example, the 3D scene information around the user and the user's position and movement can be obtained through a camera on the head-mounted display (e.g., a wide-angle camera, a depth camera, etc.), and / or other cameras and / or sensors independent of the head-mounted display. When it is detected that the user is too close to the surrounding objects (e.g., the distance is less than a dangerous distance threshold), it can be determined that the surrounding objects need to be presented to the user.
[0215] As another example, the user's position and the movement trends of various parts of the user's body can be determined by a camera and a sensor, and based on the user's position and the user's movement trends, it can be determined whether the user is likely to touch the real objects around him. When it is determined that the user is likely to touch the real objects around him, it can be determined that the real objects around him that may be touched need to be presented to the user; when it is determined that the user is unlikely to touch the real objects around him, it can be determined that the real objects around him do not need to be presented to the user.
[0216] As another example, the user's position, the movement trends of various parts of the user's body, and the positions and movement trends of objects around the user can be determined through a camera and a sensor, and based on the user's position, the movement trends of various parts of the user's body, and the positions and movement trends of objects around the user, it can be determined whether the user is likely to touch the real objects around him. When it is determined that the user is likely to touch the real objects around him, it can be determined that the real objects around him that are likely to be touched need to be presented to the user; when it is determined that the user is unlikely to touch the real objects around him, it can be determined that the real objects around him do not need to be presented to the user.
[0217] In step S302, an image of the user's surroundings is captured by a camera, and an image of an object that may collide is detected from the captured image. The shape of the object that may collide may be specifically identified, for example, the outline, 3D grid line, 3D model, and other information of the object that may collide may be identified.
[0218] In step S303, based on the positional relationship between the photographing device and the user's binocular eyes, viewpoint correction is performed on the detected image of the object that may collide to obtain a binocular view of the object that may collide.
[0219] In step S304, a virtual field of view image superimposed with a binocular view of objects that may collide is presented to the user.
[0220] As an example, the objects that may collide may be displayed as at least one of semi-transparent, outlines, or 3D grid lines. Displaying the objects that may collide as outlines means displaying the outlines only at the edges of the objects that may collide, so as to reduce the impact on the virtual scene image.
[0221] In addition, the user may be prompted by text, logo images, audio, video, etc. that there are objects around that may collide. For example, prompt information (for example, displayed in the form of text and / or graphics) may be displayed in the virtual field of view image to prompt the user of the distance between the user and the object that may collide.
[0222] In step S305 , it is determined whether it is necessary to continue presenting surrounding real objects to the user.
[0223] As an example, when it is detected that the user has moved away from a displayed object that may collide with it, it can be determined that the object no longer needs to be displayed to the user; when it is detected that the object that may collide with it has moved away from the user, it can be determined that the object no longer needs to be displayed to the user; when an instruction from the user to cancel the display of the real object is received, it can be determined that the real object does not need to be presented to the user, wherein the instruction may be at least one of the following items: a voice instruction, a key instruction, a virtual mouse instruction, an instruction from a wearable device, etc.
[0224] When it is determined in step S305 that there is no need to continue presenting surrounding real objects to the user, step S306 is executed. In step S306, a virtual field of view image without a binocular view of real objects superimposed thereon is presented to the user, i.e., the binocular view of real objects is terminated and only the virtual scene image is presented to the user.
[0225] In addition, it is also possible to set a danger distance threshold, as well as different display methods for different danger distances and danger levels, so that the user can be prompted in an appropriate manner according to the detected danger situation.
[0226] The following will be combined Figure 21 to Figure 25 The application scenario of displaying items about IoT devices in a head mounted display is described. Thus, when using the head mounted display, the user can still know the working status and other related information of the surrounding IoT devices.
[0227] Fig.21A flowchart of a method for displaying display items about an IoT device in a head-mounted display according to an exemplary embodiment of the present invention is shown. Here, all steps in the method may be performed by the head-mounted display, or a portion of the steps may be performed by the head-mounted display and another portion of the steps may be performed by a processor outside the head-mounted display.
[0228] like Fig.21 As shown, in step S401, display items about the Internet of Things device are obtained.
[0229] Here, the display item represents at least one of the following items of the IoT device: an operation interface, an operation status, notification information, and indication information.
[0230] As an example, the user's real field of view can be monitored in real time. When an IoT device is detected in the user's real field of view, its corresponding display item can be obtained according to the type of IoT device. For example, the user's real field of view can be monitored in real time based on the information measured by the inertial measurement unit (IMU) of the head-mounted display and the facility map of the room where the user is located. It can also be obtained by analyzing the field of view of the camera installed on the head-mounted display.
[0231] For example, when it is detected that a surveillance camera is within the user's real field of view, the surveillance image captured by the surveillance camera can be obtained. When it is detected that an air conditioner is within the user's real field of view, the temperature, humidity and other parameters of the air conditioner can be obtained through communication. When it is detected that a clock is within the user's real field of view, the time displayed on the clock can be obtained through the captured image. When it is detected that a cooking appliance (e.g., an oven) is within the user's real field of view, the working status such as the temperature can be obtained. When it is detected that a mobile communication terminal (e.g., a smart phone) is within the user's real field of view, the operation interface of the mobile communication terminal can be obtained.
[0232] In addition, display items about IoT devices can also be received from IoT devices outside the user's real field of view. For example, when a guest arrives at the gate, the smart doorbell at the gate can send a notification to the head-mounted display, and the head-mounted display can receive an image of the door. For example, the head-mounted display can communicate with the user's mobile communication terminal. When the mobile communication terminal receives a message that requires a user response, the operation interface of the mobile communication terminal can be sent to the head-mounted display.
[0233] In step S402, the acquired display items are superimposed on the virtual field of view image. Here, the display items of the IoT device may be further superimposed on the virtual field of view image superimposed with the binocular view of the real object. However, it should be understood that the present invention is not limited thereto, and the virtual field of view image may not include any binocular view of the real object, or even any virtual scene image, but only displays the display items of the IoT device.
[0234] In step S403, a virtual field of view image superimposed with display items is presented to the user. Here, the display items of the Internet of Things can be presented in any appropriate layout so that the user can interact well with the Internet of Things device, and preferably, the interaction between the user and the virtual scene and the real object can also be taken into account at the same time.
[0235] Fig. 22 An example of presenting a virtual field of view image superimposed with display items to a user according to an exemplary embodiment of the present invention is shown. Fig. 22 As shown, the temperature and humidity of the air conditioner, the time displayed on the clock, the working status of the oven, the operation interface of the mobile communication terminal, and the image captured by the access control device can be displayed in the virtual field of view image of the head-mounted display. In addition, an arrow indication image can also be displayed to prompt the user of the position of the oven that has completed cooking relative to the user.
[0236] In step S404, the IoT device is remotely controlled to perform corresponding processing according to the user's operation on the displayed item.
[0237] For example, if the IoT device is a mobile communication terminal, the head mounted display can communicate with the mobile communication terminal. When the mobile communication terminal receives a message that requires a user response, the operation interface of the mobile communication terminal can be displayed in the virtual field of view image, and the user can perform corresponding operations through the head mounted display, for example, the mobile communication terminal can be remotely controlled to make and receive calls. In addition, when the user completes the remote control and / or viewing of the mobile communication terminal, the display items about the mobile communication terminal in the virtual field of view image can be terminated by detecting the user's input. The user's input method can refer to the aforementioned input method and will not be repeated. Fig.23 An example of presenting a virtual visual field image superimposed with an operation interface of a mobile communication terminal to a user according to an exemplary embodiment of the present invention is shown. Fig.23 As shown, the operation interface of the mobile communication terminal can be displayed in the virtual field of view image of the head mounted display, so that the user can timely learn the messages received by the mobile communication terminal and / or remotely control the mobile communication terminal.
[0238] For example, a user is using a head-mounted display to play a virtual game, and a mobile communication terminal has an incoming call and the mobile communication terminal is outside the user's real field of view. At this time, the head-mounted display can receive the incoming call information sent by the mobile communication terminal and display it in the virtual field of view image, so that the user does not need to stop the game and will not miss important calls. If the user determines that he needs to answer the call, he can directly answer the call through the head-mounted display (for example, use the head-mounted display as a Bluetooth headset to answer the call). In addition, the user can also display indication information to the user in the virtual field of view image (for example, through arrow indicators, text, etc.) to indicate the position of the user's mobile communication terminal relative to the user. If the user determines not to answer the call, he can hang up the call directly through the head-mounted display, or remotely control the mobile communication terminal to hang up the call. In addition, the user may not perform any operation. If the user wants to call back later, he can set a call back task in the head-mounted display, or remotely control the mobile communication terminal to set a call back reminder.
[0239] Fig.24 An example of presenting a virtual field of view image superimposed with incoming call information of a mobile communication terminal to a user according to an exemplary embodiment of the present invention is shown. Fig.24 As shown, when the mobile communication terminal receives an incoming call, the incoming call information of the mobile communication terminal can be displayed in the virtual field of view image of the head-mounted display, so that the user can promptly know the incoming call information of the mobile communication terminal. In addition, an arrow indication image can also be displayed to prompt the user of the position of the mobile communication terminal relative to the user. In addition, the user can also set a call-back task in the head-mounted display, or remotely control the mobile communication terminal to set a call-back reminder.
[0240] For example, a mobile communication terminal receives a short message. At this time, the head-mounted display can receive the short message sent by the mobile communication terminal and display it in the virtual field of view image. If the user wants to reply to the message, the message can be edited in the head-mounted display and the mobile communication terminal can be remotely controlled to reply. In addition, indication information (for example, by arrow indicators, text, etc.) can be displayed to the user to indicate the position of the user's mobile communication terminal relative to the user. If the user wants to reply to the message later, a task for replying to the message can be set in the head-mounted display, or a reminder for replying to the message can be set by remotely controlling the mobile communication terminal. If the user wants to communicate with the sender by phone, the call can be made through the head-mounted display according to the user's operation (for example, the head-mounted display can be used as a Bluetooth headset to make a call). In addition, indication information (for example, by arrow indicators, text, etc.) can be displayed to the user to indicate the position of the user's mobile communication terminal relative to the user.
[0241] Fig.25 An example of presenting a virtual field of view image superimposed with a short message received by a mobile communication terminal to a user according to an exemplary embodiment of the present invention is shown. Fig.25As shown, when the mobile communication terminal receives a short message, the head-mounted display can display the short message received by the mobile communication terminal in the virtual field of view image so that the user can promptly know the short message received by the mobile communication terminal. In addition, an arrow indication image can also be displayed to prompt the user of the position of the mobile communication terminal relative to the user. In addition, the user can also directly call the sender through the head-mounted display.
[0242] In addition, users can set the IoT devices that need to display items. You can use a list selection method to list the IDs of all IoT devices, and users can select or unselect IoT devices. And you can make detailed settings for each IoT device, list the types of messages that each IoT device can send, and set whether to display each type of message and the display method.
[0243] In addition, multiple levels can be set for whether the application running on the head-mounted display can be disturbed, ranging from being able to accept any message (for example, a virtual theater application) to not wanting to be disturbed (an intense real-time virtual online game). In high-level applications, a prompt method with minimal impact can be adopted (for example, a flashing bright spot); in low-level applications, the entire content of the message can be displayed.
[0244] The following will be combined Figures 26 to 30 To describe a head-mounted display for displaying real objects according to an exemplary embodiment of the present invention. The device included in the head-mounted display for displaying real objects according to an exemplary embodiment of the present invention can be implemented in combination with a special device (for example, a sensor device). As an example, the device can be implemented by a general hardware processor such as a digital signal processor and a field programmable gate array, or by a special hardware processor such as a special chip, or can be completely implemented in software through a computer program, for example, implemented as a module installed in an application for displaying real objects in a head-mounted display, or implemented as a functional program implemented in an operating system of the head-mounted display. In addition, as an optional method, part or all of the device can be integrated in a head-mounted display for displaying real objects, and the present invention is not limited to this.
[0245] Fig.26 1 is a block diagram of a head mounted display for displaying a real object according to an exemplary embodiment of the present invention. Fig.26 As shown, a head mounted display for displaying a real object according to an exemplary embodiment of the present invention includes: a real object view acquisition device 10 and a display device 20 .
[0246] Specifically, the real object view acquisition device 10 is used to acquire a binocular view of a real object located around the user.
[0247] Here, the binocular view refers to the binocular view of the human eyes of a user wearing a head-mounted display. Through the binocular view of the real object, the user's brain can obtain depth information of the real object, and then feel the actual three-dimensional spatial position and stereoscopic posture of the real object. That is, the three-dimensional spatial position and stereoscopic posture of the real object felt by the user through the binocular view of the real object are consistent with the three-dimensional spatial position and stereoscopic posture of the real object observed and felt by the user through human eyes.
[0248] As an example, a real object may be a presentation object that is pre-set based on object attributes or usage scenarios, and may include at least one of the following items: an object close to the user's body, an object with a label, an object specified by the user, an object currently required to be used by an application running on the head-mounted display, and an object required to operate a control.
[0249] The display device 20 is used to present a virtual field of view image superimposed with a binocular view of a real object to the user. Through the above head-mounted display, the user can see the binocular view of the real object in the virtual field of view image (i.e., augmented virtual reality), feel the actual three-dimensional spatial position and stereoscopic posture of the real object, accurately judge the positional relationship between the real object and itself and the stereoscopic posture of the real object, and complete necessary actions that require visual image feedback.
[0250] Here, it should be understood that the virtual field of view image superimposed with the binocular view of the real object can be presented to the user through a display device integrated in the head-mounted display, or can be presented to the user through other display devices external to the head-mounted display, and the present invention is not limited to this.
[0251] Fig. 27 A block diagram of a head mounted display for displaying a real object according to another exemplary embodiment of the present invention is shown. Fig. 27 As shown, according to another exemplary embodiment of the present invention, a head mounted display for displaying a real object includes Fig.26 In addition to the real object view acquisition device 10 and the display device 20 shown, an image capture device 30 and a binocular view generation device 40 may also be included.
[0252] Specifically, the image capturing device 30 is used to capture images including real objects located around the user through a photographing device.
[0253] The binocular view generating device 40 is used to obtain a binocular view of real objects located around the user according to the captured images.
[0254] As an example, the image capturing device 30 may capture an image including real objects located around the user through a single photographing device, and the binocular view generating device 40 may obtain a binocular view of the real objects located around the user based on the captured image.
[0255] Here, the single shooting device may be an ordinary shooting device having only one viewing angle. Since the image captured by the image capture device 30 does not have depth information, accordingly, the binocular view generating device 40 may detect a real object image from the captured image, determine a real object image of another viewpoint based on the detected real object image, and obtain a binocular view of the real object based on the detected real object image and the real object image of the other viewpoint.
[0256] Here, the real object image is an image of the area where the real object is located in the captured image. For example, the binocular view generation device 40 can use various existing image recognition methods to detect the real object image from the captured image.
[0257] As an example, the binocular view generating device 40 may perform viewpoint correction on the detected real object image and the real object image of the other viewpoint based on the positional relationship between the single shooting device and the user's binocular eyes to obtain a binocular view of the real object.
[0258] As another example, the binocular view generation device 40 may obtain a binocular view of a real object based on a captured stereo image. Specifically, the image capture device 30 may capture an image including real objects located around the user through a shooting device, and the binocular view generation device 40 may detect the real object image from the captured image, and obtain a binocular view of the real object based on the detected real object image, wherein the shooting device includes a depth camera, or the shooting device includes at least two single-view cameras. Here, the at least two single-view cameras may have overlapping viewing angles, so that a stereo image with depth information can be captured through the depth camera, or the at least two single-view cameras.
[0259] As an example, the binocular view generating device 40 may perform viewpoint correction on the detected real object image based on the positional relationship between the photographing device and the user's binocular eyes to obtain a binocular view of the real object.
[0260] It should be understood that, as an example, the above-mentioned single camera, depth camera or single-viewpoint camera can be a built-in camera of the head-mounted display, or an attached camera installed on the head-mounted display. For example, it can be a camera possessed by other devices (e.g., a smart phone), and the present invention is not limited to this.
[0261] Preferably, when the binocular view generation device 40 cannot detect the real object image of the desired display object among the real objects, the image capture device 30 may expand the shooting angle of view to recapture the image including the desired display object.
[0262] Alternatively, when the binocular view generation device 40 cannot detect the real object image of the desired display object among the real objects, the image capture device 30 may prompt the user to turn to the direction where the desired display object is located to recapture the image including the desired display object. For example, the user may be prompted by an image, text, audio, video, etc. As an example, the image capture device 30 may prompt the user to turn to the direction where the desired display object is located to recapture the image including the desired display object based on the pre-stored three-dimensional spatial position of the real object or the three-dimensional spatial position of the real object obtained via the positioning device.
[0263] Fig.28 A block diagram of a head mounted display for displaying a real object according to another exemplary embodiment of the present invention is shown. Fig.28 As shown, according to another exemplary embodiment of the present invention, a head mounted display for displaying a real object includes Fig.26 In addition to the real object view acquisition device 10 and the display device 20 shown, a virtual field of view image generation device 50 may also be included.
[0264] Specifically, the virtual field of view image generating device 50 is used to generate a virtual field of view image superimposed with a binocular view of a real object.
[0265] As an example, a head mounted display for displaying a real object according to another exemplary embodiment of the present invention may further include: a virtual scene image acquisition device (not shown).
[0266] The virtual scene image acquisition device is used to acquire a virtual scene image reflecting a virtual scene, wherein the virtual field of view image generation device 50 generates a virtual field of view image superimposed with a binocular view of a real object by superimposing the binocular view of a real object with the virtual scene image. That is, the virtual field of view image presented to the user is a virtual field of view image that spatially integrates the binocular view of a real object and the virtual scene image, so that the user can complete the necessary behavior of interacting with the real object that requires visual image feedback under the virtual scene experience of a normal head-mounted display.
[0267] Here, the virtual scene image is an image reflecting the virtual scene that needs to be presented to the user in the user's virtual field of view corresponding to the application currently running on the head-mounted display. For example, if the application currently running on the head-mounted display is a virtual somatosensory game such as boxing or golf, the virtual scene image is an image reflecting the virtual game scene that needs to be presented to the user in the virtual field of view; if the application currently running on the head-mounted display is an application for watching movies, the virtual scene image is an image reflecting the virtual theater screen scene that needs to be presented to the user in the virtual field of view.
[0268] As an example, the virtual field of view image generating device 50 may superimpose the binocular view of the real object onto the virtual field of view image of the head-mounted display according to one of the following display methods: displaying only the binocular view of the real object without displaying the virtual scene image, displaying only the virtual scene image without displaying the binocular view of the real object, spatially fusing the binocular view of the real object with the virtual scene image, displaying the binocular view of the real object on the virtual scene image in the form of picture-in-picture, and displaying the virtual scene image on the binocular view of the real object in the form of picture-in-picture.
[0269] As an example, the virtual field of view image generating device 50 may display the real object as at least one of semi-transparency, outlines, or 3D grid lines. For example, when there is occlusion between the virtual object in the virtual scene image and the real object in three-dimensional space, the virtual field of view image generating device 50 may display the real object as at least one of semi-transparency, outlines, or 3D grid lines to reduce the occlusion of the virtual object in the virtual scene image and reduce the impact on viewing the virtual scene image.
[0270] In addition, as an example, in the case where there is occlusion between the virtual object in the virtual scene image and the real object in the three-dimensional space, the virtual field of view image generating device 50 may also scale and / or move the virtual object. For example, the virtual field of view image generating device 50 may scale and / or move the virtual object that is occluded in the three-dimensional space between the virtual object and the real object in the virtual scene image, and may also scale and / or move all virtual objects in the virtual scene image when there is occlusion. It should be understood that the virtual field of view image generating device 50 may automatically determine the occlusion between the virtual object in the virtual scene image and the real object in the three-dimensional space, and scale and / or move the virtual object accordingly. In addition, the virtual field of view image generating device 50 may also scale and / or move the virtual object according to the user's operation.
[0271] In addition, preferably, the virtual field of view image generating device 50 can add and / or delete real objects superimposed on the virtual field of view image according to the user's operation. That is, the user can superimpose the binocular view of the real object not displayed in the virtual field of view image into the virtual field of view image according to his / her needs, and / or delete the redundant binocular view of the real object that does not need to be presented from the virtual field of view image, so as to reduce the impact on the viewing of the virtual scene image.
[0272] Preferably, the virtual field of view image superimposed with the binocular view of the real object may be presented to the user only under appropriate circumstances, and the presentation of the virtual field of view image superimposed with the binocular view of the real object to the user may be terminated under appropriate circumstances. Fig.29 A block diagram of a head mounted display for displaying a real object according to another exemplary embodiment of the present invention is shown. Fig.29As shown, according to another exemplary embodiment of the present invention, a head mounted display for displaying a real object includes Fig.26 In addition to the real object view acquisition device 10 and the display device 20 shown, a display control device 60 may also be included.
[0273] Specifically, the display control device 60 is used to determine whether it is necessary to present real objects around the user to the user, wherein, when the display control device 60 determines that it is necessary to present real objects around the user to the user, the real object view acquisition device 10 acquires a binocular view of the real objects located around the user and / or the display device 20 presents a virtual field of view image superimposed with a binocular view of the real objects to the user.
[0274] As an example, when the display control device 60 detects a scenario in which interaction with real objects around the user is required, it may determine that the real objects around the user need to be presented to the user. For example, the scenario in which interaction with real objects around the user is required may include at least one of the following items: a scenario in which input operations need to be performed with the aid of real objects (e.g., a scenario in which input operations need to be performed using a keyboard, a mouse, a handle, etc.), a scenario in which collision with real objects needs to be avoided (e.g., a scenario in which approaching people need to be avoided), and a scenario in which real objects need to be grabbed by hand (e.g., a scenario in which eating or drinking water is required).
[0275] According to an exemplary embodiment of the present invention, the timing for presenting a real object can be determined according to various situations. As an example, when at least one of the following conditions is met, the display control device 60 can determine that the real objects around the user need to be presented to the user: receiving user input requesting the presentation of a real object; determining that the real objects around the user match the preset presentation objects; detecting controls that require the use of real objects to perform operations in the application interface displayed in the virtual field of view image; detecting that a body part of the user is approaching a real object; detecting that a body part of the user is moving toward the real object; determining that an application running on the head-mounted display currently needs to use a real object; and determining that the preset time for interacting with the real objects around the user has arrived.
[0276] The display control device 60 can determine when the user needs to see the real objects around him, that is, when the binocular view of the real objects around him needs to be presented to the user, so that the user can know the actual three-dimensional spatial position and stereoscopic posture of the real objects around him in time.
[0277] As an example, the display control device 60 may also determine whether it is necessary to continue presenting real objects around the user to the user, wherein, if the display control device 60 determines that it is not necessary to continue presenting real objects around the user to the user, the display device 20 may present a virtual field of view image of a binocular view without superimposing real objects to the user.
[0278] As an example, upon detecting that a scenario requiring interaction with real objects around the user ends, the display control device 60 may determine that it is not necessary to continue presenting the real objects around the user to the user.
[0279] As an example, the display control device 60 may determine that there is no need to present the real object to the user when at least one of the following conditions is met: receiving user input to terminate the presentation of the real object; determining that the real objects around the user do not match the preset presentation objects; no controls that require the use of real objects to perform operations are detected in the application interface displayed in the virtual field of view image; determining that a body part of the user is far away from the real object; determining that the application running on the head-mounted display does not currently need to use the real object; determining that the user has not performed an operation using the real object during a preset time period; determining that the user is able to perform an operation without viewing the real object.
[0280] Regarding user input requesting the presentation of a real object and / or terminating the presentation of a real object, as an example, it can be implemented through at least one of the following items: touch screen operation, physical button operation, remote control command input operation, voice control operation, gesture action, head movement, body movement, line of sight movement, touch action, and holding action.
[0281] The preset presentation object may be an object that needs to be presented that is set by default in the head mounted display, or an object that needs to be presented that is set by the user according to his / her own needs. For example, the preset presentation object may be food, tableware, the user's hand, an object with a specific label, a person, etc.
[0282] The display control device 60 can present a virtual field of view image of a binocular view without superimposing real objects to the user (i.e., only present a virtual scene image to the user) without presenting real objects around the user to the user, so as not to affect the user's viewing of the virtual scene image.
[0283] Fig.30 A block diagram of a head mounted display for displaying a real object according to another exemplary embodiment of the present invention is shown. Fig.30 As shown, according to another exemplary embodiment of the present invention, a head mounted display for displaying a real object includes Fig.26 In addition to the real object view acquisition device 10 and the display device 20 shown, a display item acquisition device 70 may also be included.
[0284] The display item acquisition device 70 is used to acquire display items about the Internet of Things device and superimpose the acquired display items on the virtual field of view image, wherein the display items represent at least one of the following items of the Internet of Things device: operation interface, operation status, notification information, and indication information.
[0285] Here, the notification information may be information such as text, audio, video, image, etc. For example, if the IoT device is a communication device, the notification message may be a text message about a missed call; if the IoT device is a door access control device, the notification message may be a captured surveillance image.
[0286] The indication information is information such as text, audio, video, image, etc. used to instruct the user to find the IoT device. For example, the indication information may be an arrow indicator, and the user can obtain the relative position of the IoT device relative to the user according to the direction of the arrow; the indication information may also be text indicating the relative position of the user and the IoT device (for example, the communication device is two meters in front of your left).
[0287] As an example, the display item acquisition device 70 can acquire display items about the Internet of Things device by at least one of the following processes: capturing an image of the Internet of Things device located within the user's real field of view, and extracting display items about the Internet of Things device from the captured image of the Internet of Things device; receiving display items about the Internet of Things device from the Internet of Things device located within and / or outside the user's real field of view; sensing the position of the Internet of Things device located outside the user's real field of view relative to the head-mounted display as indication information.
[0288] In addition, the head mounted display for displaying a real object according to another exemplary embodiment of the present invention may further include: a manipulation device (not shown).
[0289] The control device is used to remotely control the Internet of Things device to perform corresponding processing according to the user's operation on the displayed items.
[0290] Through the above-mentioned head-mounted display, the user can obtain relevant information of the surrounding IoT devices when using the head-mounted display. In addition, the user can remotely control the IoT devices to perform corresponding processing.
[0291] It should be understood that the head mounted display for displaying a real object according to an exemplary embodiment of the present invention may be used for Figures 5 to 25 The specific application scenarios described perform corresponding processing, which will not be repeated here.
[0292] According to the method of displaying real objects in a head-mounted display and the head-mounted display thereof of an exemplary embodiment of the present invention, it is possible to present a virtual field of view image superimposed with a binocular view of real objects around the user to the user, so that the user can still perceive the actual three-dimensional spatial position, stereoscopic posture and related attributes of the real objects around the user when wearing the head-mounted display, which facilitates the user to interact with the real objects around him and complete the necessary behaviors that require visual image feedback. In addition, the embodiment of the present invention can determine the timing of displaying the binocular view of the real objects around the user; in addition, it can also display the binocular view of the real objects around the user in the virtual field of view image in a suitable manner. Thereby, the user can obtain an enhanced virtual field of view experience.
[0293] Although some exemplary embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that modifications may be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
Claims
1. A method for displaying a real object in a head mounted display, include: (A) Acquire a binocular view of real objects located around the user; as well as (B) Displaying a virtual reality image with a binocular view superimposed with a real object; Wherein, step (A) comprises: when it is detected that input is required through an input device in the real world, determining whether the input device is located within a predetermined distance from the user; when it is determined that the input device is located within the predetermined distance from the user, acquiring a binocular view of the input device; The method further includes: when a control that requires an input device to perform an input operation is detected in the application interface displayed by the head-mounted display and / or the application running on the head-mounted display currently requires the use of an input device, determining that input is required through the input device in the real world.
2. The method according to claim 1, in, When it is determined that real objects around the user need to be displayed, step (A) and / or step (B) are performed.
3. The method according to claim 2, in, When at least one of the following conditions is satisfied, it is determined that the real objects around the user need to be displayed: receiving a user input requesting presentation of the real objects; Determine whether the real objects around the user match the preset presented objects; Detecting a control in a virtual reality image that requires a real object to perform an operation; detecting a body part of a user approaching a real object; Detecting movement of a user's body part toward a real object; Determining that head mounted displays currently require the use of real objects; Determine the time to arrive at a preset interaction with real objects around the user.
4. The method according to claim 1, in, The step of acquiring the binocular view of the input device comprises: When it is determined that the input device is outside the shooting angle of the shooting device, expanding the shooting angle of the shooting device; When it is determined that the input device is located within the predetermined distance from the user, a binocular view of the input device is acquired using an enlarged shooting angle of view.
5. The method according to claim 1, in, Step (B) comprises: In response to the current time being within a predetermined time period set for interaction with the input device, a virtual reality image superimposed with a binocular view of the input device is displayed.
6. The method according to claim 1, in, The step of acquiring the binocular view of the input device comprises: Using a camera to capture a first image of the input device; Based on the captured first image, acquiring a second image of the input device, wherein a viewing angle of the second image is different from a viewing angle of the first image; A binocular view of the input device is acquired based on the first image and the second image of the input device.
7. The method according to claim 6, in, Based on the first image and the second image of the input device, the step of acquiring the binocular view of the input device comprises: Based on the positional relationship between the photographing device and the user's binocular view, viewpoint correction is performed on the first image and the second image of the input device to obtain a binocular view of the input device.
8. The method according to claim 1, in, Also includes: A direction indication image is displayed on the virtual reality image to guide the user to change the user's line of sight to the position of the input device in the real world.
9. The method according to claim 1, in, Step (B) comprises: In response to determining that a user's hand is placed on the input device, a virtual reality image is displayed with a binocular view of the input device superimposed.
10. The method according to claim 1, in, Step (B) comprises: When it is determined that the binocular view of the input device and the virtual object in the virtual reality image occlude each other, the transparency of the binocular view of the input device is changed.
11. The method according to claim 1, in, The predetermined distance is a first predetermined distance, and the second predetermined distance is greater than the first predetermined distance. The method further includes: when it is determined that the distance from the user to the input device becomes greater than a second predetermined distance, removing the binocular view of the input device.
12. The method according to claim 1, in, The step of determining that input needs to be performed through an input device in the real world includes: when the head mounted display displays an input area that needs to be input through the input device, determining that input needs to be performed through the input device in the real world, The step of acquiring the binocular view of the input device includes: when the input area is displayed and the input device is located within a predetermined distance from the user, acquiring the binocular view of the input device.
13. The method according to claim 1, in, Also includes: displaying an interactive interface that allows the user to select at least one type of real object to be displayed with the virtual reality image, Wherein, the interactive interface provides a plurality of different real object types.
14. The method according to claim 1, in, Also includes: Based on tags attached to a plurality of real objects around the user among a plurality of different types of tags, it is determined that input is required through the input device in the real world.
15. A head mounted display, include: a display configured to display a virtual reality image; a processor configured to acquire a binocular view of real objects located around the user and control the display to display a virtual reality image superimposed with the binocular view of the real objects; The processor is further configured to: when it is detected that input is required through an input device in the real world, determine whether the input device is located within a predetermined distance from the user; and when it is determined that the input device is located within the predetermined distance from the user, obtain a binocular view of the input device; The processor is further configured to: when a control that requires the use of an input device to perform an input operation is detected in the application interface displayed by the head-mounted display and / or the application running on the head-mounted display currently requires the use of an input device, determine that input is required through the input device in the real world.
16. The head mounted display according to claim 15, in, The processor is also configured to, when determining that real objects around the user need to be displayed, obtain a binocular view of real objects located around the user, and / or control the display to display a virtual reality image superimposed with the binocular view of the real objects.
17. The head mounted display according to claim 16, in, The processor is further configured to determine that real objects around the user need to be displayed when at least one of the following conditions is satisfied: receiving a user input requesting presentation of the real objects; Determine whether the real objects around the user match the preset presented objects; Detecting a control in a virtual reality image that requires a real object to perform an operation; detecting a body part of a user approaching a real object; Detecting movement of a user's body part toward a real object; Determining that head mounted displays currently require the use of real objects; Determine the time to arrive at a preset interaction with real objects around the user.
18. The head mounted display according to claim 15, in, The processor is also configured to: when it is determined that the input device is outside the shooting angle of the shooting device, expand the shooting angle of the shooting device; and when it is determined that the input device is within the predetermined distance from the user, use the expanded shooting angle to obtain a binocular view of the input device.
19. The head mounted display according to claim 15, in, The processor is further configured to, in response to a current time being within a predetermined time period set for interacting with the input device, control the display to display a virtual reality image superimposed with a binocular view of the input device.
20. The head mounted display according to claim 15, in, The processor is further configured to: capture a first image of the input device using a camera; obtain a second image of the input device based on the captured first image; and obtain a binocular view of the input device based on the first image and the second image of the input device. The viewing angle of the second image is different from the viewing angle of the first image.
21. The head mounted display according to claim 20, in, The processor is further configured to: based on the positional relationship between the photographing device and the user's binocular view, perform viewpoint correction on the first image and the second image of the input device to obtain a binocular view of the input device.
22. The head mounted display according to claim 15, in, The processor is further configured to control the display to display a direction indication image on the virtual reality image to guide the user to change the user's line of sight to the position of the input device in the real world.
23. The head mounted display according to claim 15, in, The processor is further configured to, in response to determining that the user's hand is placed on the input device, control the display to display a virtual reality image superimposed with a binocular view of the input device.
24. The head mounted display according to claim 15, in, The processor is further configured to: when it is determined that the binocular view of the input device and the virtual object in the virtual reality image occlude each other, change the transparency of the binocular view of the input device.
25. The head mounted display according to claim 15, in, The predetermined distance is a first predetermined distance, and the second predetermined distance is greater than the first predetermined distance. Wherein, the processor is further configured to: when it is determined that the distance from the user to the input device becomes greater than a second predetermined distance, control the display not to display the binocular view of the input device.
26. The head mounted display according to claim 15, in, The processor is further configured to: when the display shows an input area that needs to be input through the input device, determine that input needs to be performed through the input device in the real world, Wherein, the processor is further configured to: when the input area is displayed and the input device is located within a predetermined distance from the user, obtain a binocular view of the input device.
27. The head mounted display according to claim 15, in, The processor is further configured to: control the display to display an interactive interface that allows the user to select at least one type of real object to be displayed together with the virtual reality image; Wherein, the interactive interface provides a plurality of different real object types.
28. The head mounted display according to claim 15, in, The processor is further configured to determine that input is required through the input device in the real world based on tags attached to multiple real objects around the user among multiple different types of tags.
