Message display method, head-mounted display device and storage medium

By collecting the user's hand image in the head-mounted display device and determining the gesture type, the notification message is projected to the palm or back of the hand area for display, which solves the problem of a fixed display position blocking the line of sight, realizes user-controlled message display, and significantly improves the user experience. .

CN118732843APending Publication Date: 2024-10-01ZHUHAI MOJIE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410742596.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

When a head-mounted display device displays notification messages, the fixed display position can easily block the user's line of sight, resulting in a poor user experience.

Method used

Collect the user's hand image through the shooting device, determine the gesture type and determine the target position information of the palm area or back of the hand area, and project the notification message to the area for display, allowing the user to control the display timing and location of the message.

Benefits of technology

It effectively avoids the impact of notification messages on the user's sight, improves the user experience, and provides a more flexible and private way to read messages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118732843A_ABST
    Figure CN118732843A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a message display method, head-mounted display equipment and a storage medium, and belongs to the field of message display. The method comprises the following steps: when a notification message to be displayed is detected, determining a gesture type of a hand of a user according to an image collected by a shooting device; under the condition that the gesture type is a first preset type, determining target position information of a palm area or a hand back area in the hand of the user according to the image; and projecting the notification message to a palm area or a hand back area for display according to the target position information. According to the technical scheme provided by the embodiment of the invention, the influence of the displayed notification message on the sight of the user can be effectively avoided, and the user experience is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of message display, and in particular to a message display method, a head mounted display device and a storage medium. Background Art

[0002] At present, head-mounted display devices can display notification messages of mobile terminals, which is more convenient for users to read and can also prevent others from seeing them, which is more private. However, head-mounted display devices usually display notification messages directly when there are notification messages, and the display position is fixed, which has the problem of blocking the user's sight and bringing a bad experience to users. Summary of the invention

[0003] Embodiments of the present invention provide a message display method, a head-mounted display device, and a storage medium, which are intended to avoid the influence of displayed notification messages on the user's line of sight and improve the user experience.

[0004] In a first aspect, an embodiment of the present invention provides a message display method, which is applied to a head-mounted display device, wherein the head-mounted display device includes a shooting device, and the method includes:

[0005] In the case of detecting a notification message to be displayed, determining the type of hand gesture of the user according to the image captured by the camera;

[0006] In a case where the gesture type is a first preset type, determining target position information of a palm area or a back of a hand of the user according to the image;

[0007] According to the target position information, the notification message is projected onto the palm area or the back of the hand area for display.

[0008] In a second aspect, an embodiment of the present invention further provides a head-mounted display device, comprising a shooting device, a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for realizing connection and communication between the shooting device, the processor and the memory, wherein when the computer program is executed by the processor, the message display method described in the first aspect is realized.

[0009] In a third aspect, an embodiment of the present invention further provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement any message display method provided in the specification of the present invention.

[0010] An embodiment of the present invention provides a message display method, a head-mounted display device and a storage medium. The embodiment of the present invention projects a notification message onto the palm area or the back area of ​​the user's hand for display when it is determined that the gesture type of the user's hand is a set type, thereby enabling the user to control the timing of reading the notification message and the display position of the notification message. This can effectively avoid the influence of the displayed notification message on the user's line of sight, greatly improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0012] Figure 1 is a schematic structural block diagram of a head mounted display device provided by an embodiment of the present invention;

[0013] Figure 2 It is a flowchart of a message display method provided by an embodiment of the present invention;

[0014] Figure 3 is an example diagram of a gesture corresponding to the first preset type in an embodiment of the present invention;

[0015] Figure 4 yes Figure 2 A schematic diagram of the sub-step flow chart of the message display method in FIG.

[0016] Figure 5 is an example diagram of key points of a user's hand in an embodiment of the present invention;

[0017] Figure 6 is an example diagram of a gesture corresponding to the second preset type in an embodiment of the present invention. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0019] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0020] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0021] At present, head-mounted display devices can display notification messages of mobile terminals, which is more convenient for users to read and can also prevent others from seeing them, which is more private. However, head-mounted display devices usually display notification messages directly when there are notification messages, and the display position is fixed, which has the problem of blocking the user's sight and bringing a bad experience to users.

[0022] To solve the above problems, embodiments of the present invention provide a message display method, a head mounted display device and a storage medium. The message display method projects a notification message onto the palm area or the back area of ​​the user's hand for display when determining that the gesture type of the user's hand is a set gesture type, thereby enabling the user to control the timing of reading the notification message and the display position of the notification message, which can effectively avoid the influence of the displayed notification message on the user's line of sight and greatly improve the user experience.

[0023] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0024] See also Figure 1 , Figure 1 It is a schematic block diagram of the structure of a head mounted display device provided by an embodiment of the present invention.

[0025] like Figure 1 As shown, the head mounted display device 100 includes a processor 101, a memory 102 and a camera 103, and the processor 101, the memory 102 and the camera 103 are connected via a bus 104, such as an I2C (Inter-integrated Circuit) bus. The head mounted display device 100 may include augmented reality (AR) glasses, an AR helmet, mixed reality (MR) glasses, and a MR helmet.

[0026] Specifically, the processor 101 is used to provide computing and control capabilities to support the operation of the entire head-mounted display device. The processor 101 can be a central processing unit (CPU), and the processor 101 can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0027] Specifically, the memory 102 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.

[0028] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a partial structure related to the embodiment of the present invention, and does not constitute a limitation on the head-mounted display device to which the embodiment of the present invention is applied. The specific head-mounted display device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0029] The processor 101 is used to run a computer program stored in the memory 102, and implement any one of the message display methods provided by the embodiments of the present invention when executing the computer program.

[0030] In one embodiment, the processor 101 is used to run a computer program stored in a memory, and implement the following steps when executing the computer program:

[0031] In the case of detecting a notification message to be displayed, determining the type of hand gesture of the user according to the image captured by the camera;

[0032] In a case where the gesture type is a first preset type, determining target position information of a palm area or a back of a hand of the user according to the image;

[0033] According to the target position information, the notification message is projected onto the palm area or the back of the hand area for display.

[0034] In some embodiments, when the processor determines the target position information of the palm area or the back of the hand area of ​​the user's hand according to the image, it is used to implement:

[0035] Determine, according to the image, a plurality of key points of the user's hand and position information of each of the key points;

[0036] Determine the key point belonging to the palm area or the back area of ​​the user's hand among the multiple key points as the target key point;

[0037] The target position information is determined according to the position information of each target key point.

[0038] In some embodiments, when the processor determines the key point belonging to the palm area or the back area of ​​the user's hand among the multiple key points as the target key point, it is configured to implement:

[0039] Obtain the tracking ID of each of the key points;

[0040] The key point among the multiple key points whose tracking ID is within a preset tracking ID set is determined as a target key point belonging to a palm area or a back area of ​​the user's hand.

[0041] In some embodiments, when determining the target position information according to the position information of each target key point, the processor is used to implement:

[0042] According to the position information of each of the target key points, determine the position information of four vertices of the maximum circumscribed rectangle of a geometric figure formed with each of the target key points as vertices;

[0043] The position information of the four vertices of the maximum circumscribed rectangle of the geometric figure is determined as the target position information.

[0044] In some embodiments, after the processor projects the notification message onto the palm area or the back of the hand area for display according to the target location information, it is further configured to implement:

[0045] In response to a message switching operation triggered by the user, the notification message currently displayed on the palm area or the back of the hand area is switched.

[0046] In some embodiments, when the processor implements the message switching operation triggered by the user and switches the notification message currently displayed on the palm area or the back of the hand area, it is used to implement:

[0047] In response to the user's hand gesture being a first preset gesture, switching the notification message currently displayed on the palm area or the back of the hand area to a previous notification message; or

[0048] In response to the user's hand gesture being a second preset gesture, the notification message currently displayed on the palm area or the back of the hand area is switched to a next notification message, and the first preset gesture is different from the second preset gesture.

[0049] In some embodiments, after the processor projects the notification message onto the palm area or the back of the hand area for display according to the target location information, it is further configured to implement:

[0050] In response to the gesture type being changed from a first preset type to a second preset type, the notification message is stopped from being displayed, the first preset type being different from the second preset type.

[0051] In some embodiments, after the processor projects the notification message onto the palm area or the back of the hand area for display according to the target location information, it is further configured to implement:

[0052] When it is detected that the palm area or the back of the hand area in the image is incomplete or the palm area or the back of the hand area does not exist in the image, stop displaying the notification message and record the message in the notification message that the user has not read;

[0053] When it is determined that the gesture type of the user's hand is a first preset type according to the image captured by the shooting device, re-determine the target position information of the palm area or the back area of ​​the user's hand according to the image;

[0054] According to the re-determined target position information, the message that the user has not read continues to be projected onto the palm area or the back of the hand area for display.

[0055] It should be noted that technicians in the relevant field can clearly understand that for the convenience and brevity of description, the specific working process of the head-mounted display device described above can refer to the corresponding process in the following message display method embodiment, and will not be repeated here.

[0056] The following will be combined Figure 1 The head mounted display device in the embodiment of the present invention is described in detail. Figure 1 The head mounted display device is only used to explain the message display method provided in the embodiment of the present invention, but does not constitute a limitation on the application scenario of the message display method provided in the embodiment of the present invention.

[0057] See also Figure 2 , Figure 2 It is a flow chart of a message display method provided by an embodiment of the present invention.

[0058] like Figure 2 As shown, the message display method includes steps S101 to S103.

[0059] Step S101: when a notification message to be displayed is detected, the type of hand gesture of the user is determined according to an image captured by a camera.

[0060] In this embodiment, the notification message to be displayed may be the latest notification message, or any notification message among the unread notification messages. The notification message to be displayed may also be a historical notification message, which is a notification message that the user has previously viewed. For example, the user switches the currently displayed notification message to the notification message that has been viewed last time. The notification message to be displayed may be a notification message output by an application installed on the head-mounted display device itself, or a notification message sent by a mobile terminal that is connected to the head-mounted display device for communication. The embodiment of the present invention does not specifically limit this. Among them, the mobile terminal may include a mobile phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, etc. The shooting device may include a depth sensor and an image sensor, and the image captured by the shooting device includes a color image and a depth image.

[0061] In some embodiments, if the notification message to be displayed is the latest notification message, and / or any notification message among the unread notification messages, a preset prompt message is output when the notification message to be displayed is detected, and the preset prompt message is used to prompt the wearer of the head-mounted display device that there is a notification message that needs to be read. Among them, the output method of the preset prompt message can be set based on actual conditions, and the embodiment of the present invention does not specifically limit this. In this embodiment, when there is a notification message to be displayed, the preset prompt message is output so that the wearer of the head-mounted display device knows that there is a notification message that needs to be read, so that the wearer can judge whether the notification message needs to be displayed for reading. If the gesture type of the user's hand is detected to be the first preset type, it can be determined that the wearer needs to read the notification message, otherwise it is determined that the wearer does not need to read the notification message.

[0062] In some embodiments, outputting preset prompt information may include at least one of the following: broadcasting a preset prompt sound to prompt the wearer of the head-mounted display device that there is a notification message that needs to be read; lighting up the corner area of ​​the display screen of the head-mounted display device to prompt the wearer of the head-mounted display device that there is a notification message that needs to be read; displaying a preset prompt icon in the corner area of ​​the display screen of the head-mounted display device to prompt the wearer of the head-mounted display device that there is a notification message that needs to be read; switching the brightness of the edge area of ​​the display screen of the head-mounted display device between a first preset brightness and a second preset brightness at a preset frequency to achieve a flashing brightness of the edge area of ​​the display screen to prompt the wearer of the head-mounted display device that there is a notification message that needs to be read.

[0063] In some embodiments, when a notification message to be displayed is detected, determining the type of user hand gesture based on the image captured by the camera device may include: when a notification message to be displayed is detected, performing hand detection on the image captured by the camera device, and when the user hand is detected in the image, performing gesture recognition on the image captured by the camera device to obtain the type of user hand gesture; when it is detected that the user hand does not exist in the image, no processing is performed. The viewing angle range of the camera device includes the user's field of view. This embodiment first determines whether the user hand exists in the image of the camera device, and only further performs gesture recognition when the user hand exists in the image, and does not perform processing when the user hand does not exist in the image, which can reduce the amount of calculation and save computing resources.

[0064] In some embodiments, performing hand detection on an image captured by a camera device may include: inputting the image captured by the camera device into a preset hand detection model for processing to obtain a hand recognition result. The hand recognition result includes the presence of a user's hand in the image or the absence of a user's hand in the image. The preset hand detection model is obtained by pre-training a neural network model based on a plurality of first sample data, the first sample data including a first sample image and an annotated true label, the annotated true label including a first label or a second label, the first label being used to indicate that a hand exists in the first sample image, and the second label being used to indicate that a hand does not exist in the first sample image. This embodiment can accurately determine whether a user's hand exists in the image captured by the camera device through the hand detection model.

[0065] In some embodiments, performing gesture recognition on the image captured by the camera device to obtain the type of gesture of the user's hand may include: inputting the image captured by the camera device into a preset gesture recognition model for processing to obtain the type of gesture of the user's hand. The preset gesture recognition model is obtained by pre-training a neural network model based on a plurality of second sample data, and the second sample data includes a second sample image and annotated gesture type. In this embodiment, the gesture recognition model can accurately determine the type of gesture of the user's hand in the image captured by the camera device.

[0066] Step S102: When the gesture type is the first preset type, determine the target position information of the palm area or the back area of ​​the user's hand according to the image.

[0067] In this embodiment, the first preset type can be set based on actual conditions, and the embodiment of the present invention does not specifically limit this. For example, the gesture corresponding to the first preset type may include Figure 3 In the figure, there are gestures A and B. If the gesture type is not the first preset type, no processing is performed.

[0068] In some embodiments, Figure 4 As shown, step S102 includes: sub-steps S1021 to S1023.

[0069] Sub-step S1021: Determine multiple key points of the user's hand and position information of each key point based on the image.

[0070] In this embodiment, the image can be input into a preset key point detection model for processing to obtain multiple key points of the user's hand. The preset key point detection model is obtained by pre-training a neural network model based on multiple third sample data, and the third sample data includes a third sample image and annotated hand key points.

[0071] For example, Figure 5 As shown, multiple key points of the user's hand include key point 0, key point 1, key point 2, key point 3, key point 4, key point 5, key point 6, key point 7, key point 8, key point 9, key point 10, key point 11, key point 12, key point 13, key point 14, key point 15, key point 16, key point 17, key point 18, key point 19 and key point 20.

[0072] In some embodiments, the image includes a color image and a depth image, and determining multiple key points of the user's hand and the position information of each key point according to the image may include: determining multiple key points of the user's hand according to the color image; and determining the position information of each key point according to the depth image. Further, obtaining the distance between the key point and the camera from the depth image, determining the three-dimensional position coordinates of the key point according to the distance between the key point and the camera and the external parameter matrix and the internal parameter matrix of the camera, and obtaining the position information of the key point.

[0073] Sub-step S1022: determine the key points belonging to the palm area or the back area of ​​the user's hand among the multiple key points as the target key points.

[0074] In this embodiment, the tracking ID of each key point can be obtained; the corresponding key point whose tracking ID among the multiple key points is within the preset tracking ID set is determined as the target key point belonging to the palm area or the back of the hand area of ​​the user's hand. The tracking ID of the key point is generated according to the set rules, and the tracking IDs in the preset tracking ID set are also generated according to the same rules, and the tracking IDs in the preset tracking ID set are the tracking IDs of the key points of the palm area or the back of the hand area.

[0075] For example, if the preset tracking ID set includes tracking IDs 0, 1, 5, 9, 13, and 17, then Figure 5 The key points 0, 1, 5, 9, 13 and 17 in the image are determined as target key points belonging to the palm area of ​​the user's hand. For another example, if the preset tracking ID set includes tracking IDs 0, 1, 2, 5, 9, 13 and 17, then Figure 5 Key point 0, key point 1, key point 2, key point 5, key point 9, key point 13 and key point 17 in are determined as target key points belonging to the palm area of ​​the user's hand.

[0076] Sub-step S1023: Determine the target position information according to the position information of each target key point.

[0077] In this embodiment, the position information of each target key point can be determined as the target position information, that is, the target position information includes the position information of each target key point. Figure 5 The position information of key point 0, key point 1, key point 5, key point 9, key point 13 and key point 17 in.

[0078] In some embodiments, determining the target position information based on the position information of each target key point may include: determining the position information of four vertices of the largest circumscribed rectangle of a geometric figure formed with each target key point as a vertex based on the position information of each target key point; and determining the position information of the four vertices of the largest circumscribed rectangle of the geometric figure together as the target position information.

[0079] For example, target key points include Figure 5 For key points 0, 1, 5, 9, 13 and 17 in the image, the maximum circumscribed rectangle of the geometric figure formed by key points 0, 1, 5, 9, 13 and 17 as vertices can be determined, and according to the position information of key points 0, 1, 5, 9, 13 and 17, the position information of the four vertices of the maximum circumscribed rectangle can be determined, and then the position information of the four vertices can be determined together as the target position information.

[0080] In some embodiments, according to the position information of each target key point, determining the target position information may include: determining the area of ​​each candidate quadrilateral formed by four key points according to the position information of multiple target key points, and at least one target key point of any two candidate quadrilaterals is different; determining the candidate quadrilateral corresponding to the largest area as the target quadrilateral, and determining the position information of the four target key points corresponding to the target quadrilateral as the target position information. This embodiment can accurately determine the target position information of the palm area or the back area of ​​the user's hand. For example, the target key points include Figure 5 Among the key points 0, 1, 5, 9, 13 and 17, the candidate quadrilateral formed by the key points 0, 1, 5 and 17 has the largest area. Therefore, the respective position information of the key points 0, 1, 5 and 17 can be determined together as the target position information.

[0081] Step S103: projecting the notification message onto the palm area or the back of the hand area for display according to the target position information.

[0082] This embodiment projects the notification message onto the palm area or the back area of ​​the user's hand for display when it is determined that the gesture type of the user's hand is the set gesture type, thereby enabling the user to control the timing of reading the notification message and the location of the notification message. This can effectively avoid the influence of the displayed notification message on the user's line of sight, greatly improving the user experience.

[0083] In some embodiments, projecting the notification message onto the palm area or the back of the hand area for display according to the target position information may include: determining the projection area of ​​the palm area or the back of the hand area in the virtual world of the head mounted display device according to the target position information and the coordinate conversion relationship between the virtual world of the head mounted display device and the real world, and displaying the notification message within the projection area, so as to project the notification message onto the palm area or the back of the hand area for display. It is understandable that when the target position information of the palm area or the back of the hand area in the user's hand is changed, the display position of the notification message also changes accordingly to ensure that the notification message is always displayed on the palm area or the back of the hand area.

[0084] In some embodiments, after step S103, the message display method further includes: in response to a message switching operation triggered by the user, switching the notification message currently displayed on the palm area or the back of the hand area. This embodiment implements the switching of notification messages, making it more convenient for users to read notification messages and improving user experience.

[0085] In some embodiments, in response to a message switching operation triggered by the user, switching the notification message currently displayed on the palm area or the back of the hand area may include: in response to the user's hand gesture being a first preset gesture, switching the notification message currently displayed on the palm area or the back of the hand area to the previous notification message; or in response to the user's hand gesture being a second preset gesture, switching the notification message currently displayed on the palm area or the back of the hand area to the next notification message, the first preset gesture action being different from the second preset gesture action.

[0086] It is understandable that the first preset gesture action and the second preset gesture action can be set based on actual conditions, and the embodiment of the present invention does not specifically limit this. For example, the first preset gesture action is: on the basis of the user's hand gesture type remaining the first gesture type, the user's hand moves from the current position along the first direction, and returns to the current position after the moving distance exceeds the preset distance, and the second preset gesture action is: on the basis of the user's hand gesture type remaining the first gesture type, the user's hand moves from the current position along the second direction, and returns to the current position after the moving distance exceeds the preset distance.

[0087] The first direction is opposite to the second direction, for example, the first direction is the left direction and the second direction is the right direction, or the first direction is upward and the second direction is downward, that is, on the basis that the gesture type of the user's hand remains the first gesture type, the user's hand moves upward or leftward from the current position, and returns to the current position after the distance moved upward or leftward exceeds the preset distance, then the notification message currently displayed on the palm area or the back of the hand area is switched to the previous notification message. On the basis that the gesture type of the user's hand remains the first gesture type, the user's hand moves downward or rightward from the current position, and returns to the current position after the distance moved downward or rightward exceeds the preset distance, then the notification message currently displayed on the palm area or the back of the hand area is switched to the next notification message.

[0088] In some embodiments, in response to a message switching operation triggered by a user, switching the notification message currently displayed on the palm area or the back of the hand area may include: in response to the user's eyeball rotation direction being a first preset direction, switching the notification message currently displayed on the palm area or the back of the hand area to the previous notification message; or, in response to the user's eyeball rotation direction being a second preset direction, switching the notification message currently displayed on the palm area or the back of the hand area to the next notification message. The first preset direction is opposite to the second preset direction. For example, the first preset direction is counterclockwise, and the second preset direction is clockwise.

[0089] In some embodiments, after step S103, the message display method further includes: in response to the user's hand gesture type changing from the first preset type to the second preset type, stopping displaying the notification message (not displaying the notification message), the first preset type is different from the second preset type. The gesture corresponding to the second preset type may include Figure 6 The gesture in the above figure is the thumb tip point among the detected key points ( Figure 5 The key point 4) and the index finger tip point ( Figure 5 After the key point 8) in the figure comes into contact, the notification message stops being displayed. The display or non-display of the notification message in this embodiment can be controlled by the user according to actual needs, which greatly improves the user experience.

[0090] It is understandable that the gesture corresponding to the second preset type may also include other gestures, such as the thumb tip tapping ( Figure 5 The key point 4) and the middle finger tip point ( Figure 5 After the key point 12 in the figure is touched, the notification message stops being displayed. For example, when the thumb tip touches ( Figure 5 Key point 4) and the ring finger tip point ( Figure 5 After the key point 16) in the figure makes contact, the notification message stops being displayed.

[0091] In some embodiments, after step S103, the message display method further includes: when it is detected that the palm area or the back of the hand area in the image captured by the camera device is incomplete or the palm area or the back of the hand area does not exist in the image captured by the camera device, stop displaying the notification message and record the message that the user has not read in the notification message; when it is determined that the gesture type of the user's hand is the first preset type according to the image captured by the camera device, redetermine the target position information of the palm area or the back of the hand area in the user's hand according to the image; and according to the redetermined target position information, continue to project the message that the user has not read to the palm area or the back of the hand area for display. This embodiment can continue to project the message that the user has not read to the palm area or the back of the hand area for display in the future when the user has not read the entire notification message, without the need for the user to read it from the beginning, which greatly improves the user experience.

[0092] A message display device provided by an embodiment of the present invention is applied to a head mounted display device, wherein the head mounted display device includes a shooting device, and the message display device includes:

[0093] A gesture recognition module, configured to determine the type of hand gesture of the user according to the image captured by the camera when a notification message to be displayed is detected;

[0094] a position determination module, configured to determine target position information of a palm area or a back of a hand of the user according to the image when the gesture type is a first preset type;

[0095] The message projection module is used to project the notification message onto the palm area or the back of the hand area for display according to the target location information.

[0096] In some embodiments, the location determination module is further configured to:

[0097] Determine, according to the image, a plurality of key points of the user's hand and position information of each of the key points;

[0098] Determine the key point belonging to the palm area or the back area of ​​the user's hand among the multiple key points as the target key point;

[0099] The target position information is determined according to the position information of each target key point.

[0100] In some embodiments, the location determination module is further configured to:

[0101] Obtain the tracking ID of each of the key points;

[0102] The key point among the multiple key points whose tracking ID is within a preset tracking ID set is determined as a target key point belonging to a palm area or a back area of ​​the user's hand.

[0103] In some embodiments, the location determination module is further configured to:

[0104] According to the position information of each of the target key points, determine the position information of four vertices of the maximum circumscribed rectangle of a geometric figure formed with each of the target key points as vertices;

[0105] The position information of the four vertices of the maximum circumscribed rectangle of the geometric figure is determined as the target position information.

[0106] In some embodiments, the message display device further includes:

[0107] The message switching module is used to switch the notification message currently displayed on the palm area or the back of the hand area in response to a message switching operation triggered by the user.

[0108] In some embodiments, the message switching module is further configured to:

[0109] In response to the user's hand gesture being a first preset gesture, switching the notification message currently displayed on the palm area or the back of the hand area to a previous notification message; or

[0110] In response to the user's hand gesture being a second preset gesture, the notification message currently displayed on the palm area or the back of the hand area is switched to a next notification message, and the first preset gesture is different from the second preset gesture.

[0111] In some embodiments, the message display device further includes:

[0112] The control module is used to control the head mounted display device to stop displaying the notification message in response to the gesture type of the user's hand changing from a first preset type to a second preset type, where the first preset type is different from the second preset type.

[0113] In some embodiments, the message display device further includes:

[0114] A control module, configured to control the head mounted display device to stop displaying the notification message when it is detected that the palm area or the back of the hand area in the image is incomplete or the palm area or the back of the hand area does not exist in the image;

[0115] A recording module, used to record the messages in the notification message that the user has not read;

[0116] The position determination module is further configured to, when it is determined that the gesture type of the user's hand is a first preset type according to the image captured by the shooting device, re-determine the target position information of the palm area or the back of the hand area of ​​the user's hand according to the image;

[0117] The message projection module is further used to continue to project the messages that the user has not read to the palm area or the back of the hand area for display according to the re-determined target position information.

[0118] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the message display device described above can refer to the corresponding process in the aforementioned message display method embodiment, and will not be repeated here.

[0119] An embodiment of the present invention further provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement any message display method provided in the description of the embodiment of the present invention.

[0120] The storage medium may be an internal storage unit of the head mounted display device described in the foregoing embodiment, such as a hard disk or memory of the head mounted display device. The storage medium may also be an external storage device of the head mounted display device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., provided on the head mounted display device.

[0121] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware embodiment, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0122] It should be understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.

[0123] The serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. The above description is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A message display method, characterized in that: Applied to a head mounted display device, the head mounted display device includes a photographing device, and the method includes: In the case of detecting a notification message to be displayed, determining the type of hand gesture of the user according to the image captured by the camera; In a case where the gesture type is a first preset type, determining target position information of a palm area or a back of a hand of the user according to the image; According to the target position information, the notification message is projected onto the palm area or the back of the hand area for display.

2. The message display method according to claim 1, characterized in that: The step of determining target position information of a palm area or a back area of ​​a hand of the user according to the image includes: Determine, according to the image, a plurality of key points of the user's hand and position information of each of the key points; Determine the key point belonging to the palm area or the back area of ​​the user's hand among the multiple key points as the target key point; The target position information is determined according to the position information of each target key point.

3. The message display method according to claim 2, characterized in that: The step of determining the key point belonging to the palm area or the back area of ​​the user's hand among the multiple key points as the target key point comprises: Obtain the tracking ID of each of the key points; The key point among the multiple key points whose tracking ID is within a preset tracking ID set is determined as a target key point belonging to a palm area or a back area of ​​the user's hand.

4. The message display method according to claim 2, characterized in that: The step of determining the target position information according to the position information of each target key point includes: According to the position information of each of the target key points, determine the position information of four vertices of the maximum circumscribed rectangle of a geometric figure formed with each of the target key points as vertices; The position information of the four vertices of the maximum circumscribed rectangle of the geometric figure is determined as the target position information.

5. The message display method according to any one of claims 1 to 4, characterized in that: After projecting the notification message onto the palm area or the back of the hand area for display according to the target position information, the method further includes: In response to a message switching operation triggered by the user, the notification message currently displayed on the palm area or the back of the hand area is switched.

6. The message display method according to claim 5, characterized in that: The step of switching the notification message currently displayed on the palm area or the back of the hand area in response to the message switching operation triggered by the user includes: In response to the user's hand gesture being a first preset gesture, switching the notification message currently displayed on the palm area or the back of the hand area to a previous notification message; or In response to the user's hand gesture being a second preset gesture, the notification message currently displayed on the palm area or the back of the hand area is switched to a next notification message, and the first preset gesture is different from the second preset gesture.

7. The message display method according to any one of claims 1 to 4, characterized in that: After projecting the notification message onto the palm area or the back of the hand area for display according to the target position information, the method further includes: In response to the user's hand gesture type changing from a first preset type to a second preset type, stopping displaying the notification message, wherein the first preset type is different from the second preset type.

8. The message display method according to any one of claims 1 to 4, characterized in that: After projecting the notification message onto the palm area or the back of the hand area for display according to the target position information, the method further includes: When it is detected that the palm area or the back of the hand area in the image is incomplete or the palm area or the back of the hand area does not exist in the image, stop displaying the notification message and record the message in the notification message that the user has not read; When it is determined that the gesture type of the user's hand is a first preset type according to the image captured by the shooting device, re-determine the target position information of the palm area or the back area of ​​the user's hand according to the image; According to the re-determined target position information, the message that the user has not read is continuously projected onto the palm area or the back of the hand area for display.

9. A head mounted display device, characterized in that: The head-mounted display device includes a shooting device, a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for realizing connection and communication between the shooting device, the processor and the memory, wherein when the computer program is executed by the processor, the message display method according to any one of claims 1 to 8 is realized.

10. A storage medium for computer-readable storage, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the message display method according to any one of claims 1 to 8.