Interaction method and device, equipment, storage medium and program product
Through the eye tracking and gesture interaction of smart glasses, the object image is automatically moved to the best position and perspective in the virtual reality scene, which solves the problem that users need to physically move to view the object image in virtual reality, and improves the interactive experience and intelligence. , reducing interaction costs.
Patent Information
- Application Number
- CN202410939993.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-09-20
AI Technical Summary
In virtual reality scenes, users need to physically move to view object images, resulting in increased user fatigue, high interaction costs, low interaction experience, and insufficient intelligence.
Through the eye tracking and gesture interaction of smart glasses, based on the user's gaze duration and the attribute characteristics of the item image, the interactive prompt point is automatically activated, the target distance is generated, and the item image is moved to the best position and perspective in the virtual space so that the user does not need to move. to view.
It reduces user interaction costs and fatigue, improves interaction experience, and increases the diversity and intelligence of interaction methods.
Smart Images

Figure CN118672403A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, and more specifically, to an interaction method, device, equipment, storage medium and program product. Background Art
[0002] With the rapid development of artificial intelligence, virtual reality technology is gradually being applied to life. Users can wear smart glasses to interact with the images of objects in the virtual reality scene to select objects.
[0003] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following problems in the related technologies: In a virtual reality scene, if a user wants to view an object image, the user is generally required to walk to the object image to view it. This method not only increases the user's fatigue, but also has requirements for the application scene of virtual reality. As a result, the current interaction method not only has the problems of insufficient diversity and low intelligence, but also reduces the experience of the interaction process and increases the interaction cost. Summary of the invention
[0004] In view of this, the present disclosure provides an interaction method, device, equipment, storage medium and program product that increase the diversity and intelligence of interaction modes, reduce interaction costs and improve interaction experience.
[0005] One aspect of the present disclosure provides an interaction method, comprising: in response to a target object's line of sight staying on an object image in a virtual space for more than a predetermined time, activating an interaction prompt point of the object image; in response to an interaction operation between the target object and the interaction prompt point, generating a target distance between the object image and the target object according to attribute characteristics of the object image; locating a target position in the virtual space according to the target distance; moving the object image to the target position, and adjusting a target display area of the object image.
[0006] According to an embodiment of the present disclosure, the attribute characteristics of the above-mentioned object image include the dimensions of the above-mentioned object image in multiple directions; based on the attribute characteristics of the above-mentioned object image, a target distance between the above-mentioned object image and the above-mentioned target object is generated, including: generating the volume of the above-mentioned object image according to the dimensions of the above-mentioned object image in multiple directions; matching the volume of the above-mentioned object image with the volume in the target distance generation strategy to obtain the target volume; and obtaining the above-mentioned target distance according to the distance in the above-mentioned target distance generation strategy that has a mapping relationship with the above-mentioned target volume.
[0007] According to an embodiment of the present disclosure, the target distance generation strategy is constructed in the following manner: constructing the field of view of the target object according to the line of sight of the target object; generating the orthographic projection area of the object image within the field of view according to the sizes of the object image in multiple directions, wherein the orthographic projection area has a mapping relationship with the volume of the object image; generating the orthographic projection area ratio according to the ratio between the orthographic projection area and the area of the field of view; constructing the target distance generation strategy according to the orthographic projection area ratio within a predetermined range.
[0008] According to an embodiment of the present disclosure, the method further includes: starting the smart glasses in response to the target object, calibrating an eye tracking component in the smart glasses, and calibrating an interactive operation recognition component in the smart glasses; using the calibrated eye tracking component to respond to the line of sight of the target object, and using the calibrated interactive operation recognition component to respond to the interactive operation of the target object.
[0009] According to an embodiment of the present disclosure, the above-mentioned calibration of the eye tracking component in the above-mentioned smart glasses includes: calling multiple line of sight reference points of the above-mentioned eye tracking component; and calibrating the above-mentioned eye tracking component in response to the interaction between the above-mentioned target object and the above-mentioned line of sight reference points.
[0010] According to an embodiment of the present disclosure, the above-mentioned adjustment of the target display area of the above-mentioned object image includes: positioning a display center point on the above-mentioned target display area; determining a sight line focal point located directly in front of the above-mentioned target object according to the line of sight of the above-mentioned target object; and adjusting the above-mentioned display center point according to the above-mentioned line of sight focal point so that the above-mentioned target display area is located directly in front of the line of sight of the above-mentioned target object.
[0011] According to an embodiment of the present disclosure, the above-mentioned object image includes multiple display areas, and the above-mentioned target display area is obtained in the following manner: obtaining the number of image features included in each of the above-mentioned multiple display areas; sorting each of the above-mentioned display areas according to the number of the above-mentioned image features to obtain a sorting result; and obtaining the above-mentioned target display area according to the display area with the most image features in the above-mentioned sorting result.
[0012] According to an embodiment of the present disclosure, the method further includes: determining a candidate display area according to the ranking result; and displaying the candidate display area in response to an interactive operation of the target object on the display area.
[0013] Another aspect of the present disclosure also provides an interactive device, including: an activation module, used to activate the interaction prompt point of the object image in response to the target object's line of sight staying on the object image in the virtual space for more than a predetermined time; a first generation module, used to generate a target distance between the object image and the target object according to the attribute characteristics of the object image in response to the interaction operation between the target object and the interaction prompt point; a positioning module, used to locate the target position in the virtual space according to the target distance; and an adjustment module, used to move the object image to the target position and adjust the target display area of the object image.
[0014] Another aspect of the present disclosure also provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the methods of claims 1 to 8.
[0015] Another aspect of the present disclosure provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement any one of the methods of claims 1 to 8.
[0016] Another aspect of the present disclosure further provides a computer program product, comprising a computer program, wherein the computer program implements the method according to any one of claims 1 to 8 when executed by a processor.
[0017] According to the embodiments of the present disclosure, in response to the target object's sight staying on the object image in the virtual space for more than a predetermined time, the interactive prompt point of the object image is activated; in response to the target object's interactive operation on the interactive prompt point, the target distance between the attribute characteristics of the object image and the target object is determined; according to the target distance, the target position is located in the virtual space; the object image is moved to the target position, and the target display area of the object image is adjusted. During the interaction process, the interactive prompt point is automatically activated according to the length of time the sight stays, and according to the interactive operation between the target object and the interactive prompt point, the target distance between the object image and the target object is generated, and the object image is moved to the target object and the target display area of the object image is adjusted, so as to display the object image to the target object at the best position through the best viewing angle. At least partially overcome the problems of low interactive experience and high interactive cost in the related art, thereby achieving the technical effect of increasing the diversity and intelligence of the interactive methods, improving the interactive experience and reducing the interactive cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0019] Figure 1A An exemplary system architecture to which the interactive method and device according to an embodiment of the present disclosure can be applied is schematically shown;
[0020] Figure 1B The application scenario of the interaction method according to the embodiment of the present disclosure is schematically shown;
[0021] Figure 2 A flowchart of an interaction method according to an embodiment of the present disclosure is schematically shown;
[0022] Figure 3 The following schematically shows an architecture diagram of an interactive system according to an embodiment of the present disclosure;
[0023] Figure 4 A block diagram schematically shows an interaction device according to an embodiment of the present disclosure; and
[0024] Figure 5 A block diagram of an electronic device suitable for implementing an interaction method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0025] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0026] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0027] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0028] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0029] In the embodiments of the present disclosure, the collection, updating, analysis, processing, use, transmission, provision, disclosure, storage, etc. of the data involved (for example, including but not limited to user personal information) are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. In particular, necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain user personal information security, network security, and national security. In the embodiments of the present disclosure, the user's authorization or consent is obtained before obtaining or collecting user personal information.
[0030] In the virtual reality scene-related solutions, if the user wants to view an image of an object, the user needs to walk to the front of the object image to view it, which not only consumes physical energy, but also has high interaction costs. If the object image is infinitely far away from the user, it is almost impossible to view it. For example, in the current virtual reality technology, users need to approach or bypass obstacles through physical movement to carefully observe the object image. This method not only increases the user's fatigue, but is also not feasible in some scenarios. For example, if the real scene simulated by virtual reality is large enough (such as a large warehouse), the user is also required to use a venue that can match the large warehouse to place a virtual large warehouse. In general, the current interaction method has the following problems.
[0031] Interaction is more laborious: The related technologies require users to make a lot of physical movements, which increases the user's fatigue and may cause discomfort, especially when used for a long time.
[0032] High interaction threshold: For users who are not familiar with virtual reality devices, learning and adapting to this interaction method requires time and effort, which increases the difficulty of use.
[0033] Not the best viewing angle: When users view items by physically moving, it is difficult to ensure that they can always get the best viewing angle, which affects the user experience and the display effect of the items.
[0034] In view of this, the embodiments of the present disclosure provide an interactive method, device, equipment, storage medium and program product, which are used when a user wants to watch an item image in an e-commerce VR (Virtual Reality) scene, there is an interactive prompt point on the item image, through the eye tracking and gesture interaction of smart glasses, looking at the item model and clicking the interaction at the same time, the interaction is triggered, and the entire space and the item are displayed in the user's field of vision in the best viewing angle and the best position, reducing the user's interaction threshold and interaction cost, improving the user experience, and increasing the diversity and intelligence of the interaction methods. Specifically, the method includes: in response to the target object's line of sight staying on the item image in the virtual space for more than a predetermined time, activating the interactive prompt point of the item image; in response to the interactive operation between the target object and the interactive prompt point, generating the target distance between the item image and the target object according to the attribute characteristics of the item image; locating the target position in the virtual space according to the target distance; moving the item image to the target position, and adjusting the target display area of the item image.
[0035] Figure 1A An exemplary system architecture 100 to which the interactive method and apparatus according to an embodiment of the present disclosure can be applied is schematically shown. It should be noted that FIG. 1 is only an example of a system architecture to which the embodiment of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the embodiment of the present disclosure cannot be used in other devices, systems, environments or scenarios.
[0036] like Figure 1A As described above, the system architecture 100 according to this embodiment may include an intelligent terminal 101, a network 102, a server 103, and an object image 104. The network 102 is used as a medium for providing a communication link between the intelligent terminal 101 and the server 103 and between the server 103 and the object image 104. The network 102 may include various connection types, such as wired and / or wireless communication links, etc.
[0037] The user can use the smart terminal 101 to interact with the server 103 through the network 102 to view the item image 104. The smart terminal 101 may include an electronic device for viewing the virtual reality environment, including but not limited to smart glasses, etc. Various communication client applications may be installed on the smart terminal 101, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients and / or social platform software, etc. (only for example).
[0038] The object image 104 may be an image in a virtual scene. For example, if the virtual reality scene is a large furniture warehouse, the object image may be a chair in the large furniture warehouse.
[0039] The server 103 may be a server that provides various services, such as a background management server (only as an example) that supports the interactive operations performed by the user using the smart terminal 101. The background management server may analyze and process the received interactive operation data, and move the processing results (such as the object image, web page, information, or data obtained or generated according to the interactive operation) to a target location, so that the user can view the object image at the best location and with the best viewing angle without moving.
[0040] Figure 1B The application scenario of the interaction method according to the embodiment of the present disclosure is schematically illustrated.
[0041] like Figure 1B As shown, the user wears smart glasses and interacts with the interaction prompt points of the object image (taking a chair as an example) so that the object image moves to the optimal distance position from the user.
[0042] It should be noted that the interactive method provided in the embodiment of the present disclosure can generally be executed by the server 103. Accordingly, the interactive device provided in the embodiment of the present disclosure can generally be set in the server 103. The interactive method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 103 and can communicate with the smart terminal 101, the object image 104 and / or the server 103. Accordingly, the interactive device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 103 and can communicate with the smart terminal 101, the object image 104 and / or the server 103. Alternatively, the interactive method provided in the embodiment of the present disclosure can also be executed by the smart terminal 101, or it can also be executed by other smart terminals different from the smart terminal 101. Accordingly, the interactive device provided in the embodiment of the present disclosure can also be set in the smart terminal 101, or it can be set in other smart terminals different from the smart terminal 101.
[0043] For example, the virtual reality scene and the object images in the scene may be originally stored in the smart terminal 101, or stored in an external storage device and may be imported into the smart terminal 101. Then, the smart terminal 101 may locally execute the interactive method provided by the embodiment of the present disclosure, or send the interactive operation request to other terminal devices, servers, or server clusters, and the interactive method provided by the embodiment of the present disclosure may be executed by the other terminal devices, servers, or server clusters that receive the interactive operation request.
[0044] It should be understood that Figure 1A The number of intelligent terminals, networks, servers and object images in the figure is only for illustration. Any number of intelligent terminals, networks, servers and object images may be provided according to implementation requirements.
[0045] Figure 2 The flowchart of the interaction method according to the embodiment of the present disclosure is schematically shown.
[0046] like Figure 2 As shown, the method includes operations S201 to S204.
[0047] In operation S201 , in response to the target object's sight line staying on the object image in the virtual space for more than a predetermined time, an interactive prompt point of the object image is activated.
[0048] In operation S202, in response to the interaction operation between the target object and the interaction prompt point, a target distance between the object image and the target object is generated according to the attribute characteristics of the object image.
[0049] In operation S203, the target position is located in the virtual space according to the target distance.
[0050] In operation S204, the object image is moved to a target position, and a target display area of the object image is adjusted.
[0051] Optionally, the target object may include an object using smart glasses, such as a person or an intelligent robot.
[0052] Optionally, the smart glasses may be configured with an eye tracking component and an interactive operation recognition component. The eye tracking component can track the line of sight of the target object in real time and capture the gaze point of the target object. When the line of sight of the target object stays on an object image for more than a predetermined time (e.g., 1 second), the server can recognize the object image as a target object image and activate the interactive prompt point related to the target object image.
[0053] Optionally, the interactive operation recognition component can be used to respond to the interactive operation between the target object and the interactive prompt point, such as the gesture recognition component recognizing a click gesture or the voice recognition component recognizing voice, etc. The interactive operation recognition component can transmit the interactive operation to the server, and when the server confirms the intention of the target object based on the interactive operation, it triggers the display process of the object image.
[0054] Optionally, the display process of the object image may include determining a target distance (ie, optimal distance) between the object image and the target object and determining a target display area (ie, optimal display area) of the object image.
[0055] In one embodiment, when determining the target distance, the target distance may be generated according to the attribute characteristics of the object image, for example, the volume of the object image may be obtained according to the dimensions of the object image in multiple directions, and the target distance may be generated according to the volume.
[0056] Optionally, the position of the object image can be located in the virtual space according to the target distance generated by the above operation. It should be noted that the position of the target object in the virtual space can be unchanged, and only the object image needs to be moved.
[0057] Optionally, before, at, or after the object image is moved to the target position, the target display area of the object image may be adjusted so that the target display area is opposite to the line of sight of the target object, for example, the target display area is located directly in front of the target object, thereby facilitating the target object to view the object image at the optimal distance through the optimal viewing angle. In one embodiment, the target display area may be an area that can display the most features of the object image, such as the front display area of the object image, or may be a display area of multiple surfaces including the front, top, and side surfaces of a three-dimensional object image, etc., and may be adaptively adjusted according to actual needs.
[0058] According to the embodiments of the present disclosure, in response to the target object's sight staying on the object image in the virtual space for more than a predetermined time, the interactive prompt point of the object image is activated; in response to the target object's interactive operation on the interactive prompt point, the target distance between the attribute characteristics of the object image and the target object is determined; according to the target distance, the target position is located in the virtual space; the object image is moved to the target position, and the target display area of the object image is adjusted. During the interaction process, the interactive prompt point is automatically activated according to the length of time the sight stays, and according to the interactive operation between the target object and the interactive prompt point, the target distance between the object image and the target object is generated, and the object image is moved to the target object and the target display area of the object image is adjusted, so as to display the object image to the target object at the best position through the best viewing angle. At least partially overcome the problems of low interactive experience and high interactive cost in the related art, thereby achieving the technical effect of increasing the diversity and intelligence of the interactive methods, improving the interactive experience and reducing the interactive cost.
[0059] Optionally, before responding to the target object's line of sight, the following operations may be performed: starting the smart glasses in response to the target object, calibrating the eye tracking component in the smart glasses, and calibrating the interactive operation recognition component in the smart glasses; using the calibrated eye tracking component to respond to the target object's line of sight, and using the calibrated interactive operation recognition component to respond to the target object's interactive operation.
[0060] Optionally, the target object activates the smart glasses, for example, the target object wears the smart glasses, or activates the smart glasses by pressing a button.
[0061] Optionally, in response to the target object starting the smart glasses, the eye tracking component and the interactive operation recognition component in the smart glasses may be calibrated, so that operation S201 is performed using the calibrated eye tracking component, and operation S202 is performed using the calibrated interactive operation recognition component.
[0062] Optionally, the process of calibrating the eye tracking component may include the following operations: calling multiple sight line reference points of the eye tracking component; and calibrating the eye tracking component in response to the interaction between the target object and the sight line reference points.
[0063] Optionally, the sight line reference points may be pre-set, and the sight line reference points may be distributed in the virtual space, such as at the top, bottom, edge, etc., to ensure that the sight line of the target object can be fully tracked, and the specific distribution position may be adaptively adjusted according to the actual virtual scene. The eye tracking component may be calibrated through the interaction between the sight line of the target object and these sight line reference points (such as viewing these sight line reference points).
[0064] Optionally, the calibration of the interactive operation recognition component can refer to the eye tracking component. For example, reference gestures such as click, slide, etc. can be pre-set, and the calibration of the interactive operation recognition component can be achieved through the interaction between the gestures of the target object and these reference gestures (for example, making the same gesture as the reference gesture of click, making the same gesture as the reference gesture of slide, etc.). For another example, reference texts can be pre-set, and the calibration of the interactive operation recognition component can be achieved through the interaction between the voice of the target object and these reference texts (for example, reading these reference texts, etc.).
[0065] According to an embodiment of the present disclosure, by calibrating the eye tracking component and interactive operation recognition component of the smart glasses according to the sight reference point and the reference gesture or reference text, and using the calibrated smart eye tracking component and interactive operation recognition component to respond to the sight and interactive operation of the target object, the response accuracy to the sight and interactive operation can be improved. In addition, there may be differences between the sights or interactive operations of different target objects. The above operation method can realize different calibrations of the eye tracking component and the interactive operation recognition component according to different target objects, thereby improving the response efficiency and response accuracy to the sight and interactive operation.
[0066] Optionally, in response to the target object clicking on the object image, the object image display process may be triggered to generate a target distance between the object image and the target object according to the attribute characteristics of the object image.
[0067] In one embodiment, the attribute characteristics of the object image may include the size of the object image in multiple directions. The process of generating the target distance between the object image and the target object according to the attribute characteristics of the object image may include the following operations: generating the volume of the object image according to the size of the object image in multiple directions; matching the volume of the object image with the volume in the target distance generation strategy to obtain the target volume; and obtaining the target distance according to the distance in the target distance generation strategy that has a mapping relationship with the target volume.
[0068] Optionally, the target distance generation strategy described in the above operation can be divided into three categories according to volume. For example, for small-volume object images (within 0.125 cubic meters), the target distance can be within 0.5 meters. For medium-volume object images (0.125 to 1 cubic meter), the target distance can be within 1.5 meters. For large-volume object images (above 1 cubic meter), the target distance can be within 2 meters. By matching the volume of the object image with the volume in the target distance generation strategy, the volume that matches the volume of the object image in the target distance generation strategy is used as the target volume (which can also be a target volume range), and the target distance is obtained according to the distance mapped to the target volume. Exemplarily, if the volume of the object image is 0.1 cubic meter, the target distance can be within 0.5 meters from the target object.
[0069] Optionally, the target distance generation strategy described in the above operation can be constructed in the following manner: construct a field of view of the target object based on the line of sight of the target object; generate an orthographic projection area of the object image within the field of view based on the sizes of the object image in multiple directions, wherein the orthographic projection area and the volume of the object image have a mapping relationship; generate an orthographic projection area ratio based on the ratio between the orthographic projection area and the area of the field of view; and construct a target distance generation strategy based on the orthographic projection area ratio within a predetermined range.
[0070] Optionally, the target distance generation strategy can be constructed based on the visual comfort of the sight line at different distances and the detail display effect of the object image. Smaller object images require users to observe closely in order to see the details clearly, while larger object images require an appropriate distance to display the entire object image within the overall field of view.
[0071] Optionally, based on the size of the object image in multiple directions, the orthographic projection area of the object image within the field of view can be generated, and the orthographic projection area can have a mapping relationship with the volume of the object image. Based on the ratio between the orthographic projection area and the area of the field of view, the orthographic projection area ratio is generated, and based on the orthographic projection area ratio within a predetermined range (e.g., 20% to 30%), a target distance generation strategy is constructed.
[0072] In one embodiment, the target distance is determined based on the orthographic projection area of the object image in the field of view, and the distance between the object image and the user corresponding to the orthographic projection area of the object image in the field of view occupying 20%-30% of the field of view is taken as the target distance.
[0073] Optionally, the process of displaying the object image may also include adjusting the target display area of the object image. Specifically, the process may include the following operations: positioning the display center point on the target display area; determining the sight focus point directly in front of the target object based on the line of sight of the target object; adjusting the display center point based on the line of sight focus point so that the target display area is located directly in front of the line of sight of the target object.
[0074] Optionally, the best viewing angle for the target object to view the object image may be the facing direction of the object image, that is, the target object directly sees the target display area (that is, the main display surface) of the object image.
[0075] Optionally, the object image may include multiple display areas, and the target display area described in the above operation can be obtained in the following manner: obtain the number of image features included in each of the multiple display areas; sort each display area according to the number of image features to obtain a sorting result; and obtain the target display area based on the display area with the most image features in the sorting result.
[0076] Optionally, the image features include, for example, labels of items, patterns of items, and descriptions of items, and each display area may include a different number of image features. According to the number of image features in each display area, the display areas may be sorted in display order, for example, the display areas may be sorted in order from the largest number of image features to the smallest number, to obtain a sorting result, and in the sorting result, the display area with the largest number of image features is used as the target display area. Displaying the target display area to the target object may facilitate the target object to understand more comprehensive information about the item image.
[0077] Optionally, when displaying the target display area, a display center point may be located on the target display area. According to the sight line of the target object, a sight line focus point located directly in front of the target object is determined. According to the sight line focus point, the display center point is adjusted so that the sight line focus point and the display center point are aligned, thereby making the object image located directly in front of the target object, ensuring that the target object can see the target display area of the object image from the front, and ensuring that the target object obtains the best viewing experience.
[0078] Optionally, when displaying the object image, based on the above operations, the interactive method may further include the following operations: determining a candidate display area according to the sorting result; and displaying the candidate display area in response to the target object's interactive operation on the display area.
[0079] Optionally, in the sorting results, the candidate display areas can be determined in order according to the number of image features. For example, the area with the second largest number of image features is taken as the first candidate display area; the area with the second largest number of image features is taken as the second candidate display area, and so on, multiple candidate display areas can be obtained. By responding to the target object's interactive operation on the display area, such as sliding in one direction, the first candidate display area can be displayed, and continuing to slide in one direction can display the second candidate display area, thereby facilitating the target object to understand more information about the object image from more angles.
[0080] According to the embodiments of the present disclosure, through the above steps, it is possible to achieve in a VR virtual reality environment that the object image is automatically moved to the optimal viewing distance and optimal viewing angle of the target object, significantly reducing the interaction cost and interaction experience, while improving the diversity of interaction methods and the degree of intelligence of interaction.
[0081] Figure 3 The schematic diagram shows an architecture diagram of an interactive system according to an embodiment of the present disclosure.
[0082] like Figure 3 As shown, the interactive system of this embodiment can be triggered by the target team object configuration smart glasses. The interactive system can include an eye tracking and gesture interaction module 301, an object image display module 302, a space positioning module 303 and a display module 304.
[0083] Optionally, the target object may wear smart glasses. The interactive system starts and calibrates the eye tracking and gesture interaction module 301 to ensure accurate response to the target object's sight and gesture.
[0084] The eye tracking component of the eye tracking and gesture interaction module 301 can respond to the target object's line of sight and the target object's gaze point in real time. When the target object's line of sight stays on an object image for more than a preset time (e.g., 1 second), the interactive system recognizes the object image as a target object image and activates the relevant interactive prompt point.
[0085] The gesture interaction component of the eye tracking and gesture interaction module 301 can facilitate the target object to interact through predefined gestures (e.g., click gestures). The gesture interaction component responds to the gesture signal of the target object and transmits it to the interaction system for processing. After the transaction system confirms the interaction intention of the target object, it triggers the item image display process.
[0086] The object image display process may be performed by the object image display module 302. The display process may include the following operations:
[0087] The target distance (optimal viewing distance) can be calculated by the trading system based on the volume of the item image. The target distance generation strategy described above can be used for calculation, which will not be repeated here.
[0088] Adjustment of the target display area (calculation of the best viewing angle), the best viewing angle is usually the direction facing the product, that is, the main display surface of the product that the user sees from the front. The trading system can determine the position and orientation of the item image in the virtual space, as well as the position and orientation of the target object in the virtual space through the spatial positioning module 303. For example, the center point of the target display area is located to determine the position and orientation of the item image in the virtual space, and the sight line focus point located directly in front of the target object is determined according to the sight line of the target object, thereby determining the position and orientation of the target object in the virtual space.
[0089] The display module 304 can adjust the position and orientation of the product in the virtual space according to the calculated optimal viewing distance and optimal viewing angle. For example, the product image is moved to the position determined in the virtual space according to the target distance, and the orientation of the product image is adjusted, that is, the display center point is adjusted according to the sight focus point, so that the target display area of the product image faces the sight direction of the target object and is located directly in front of the target object, thereby ensuring that the target object obtains the best viewing experience.
[0090] Optionally, when moving the item image, the environmental features around the item image can also be moved together. For example, the surrounding environment is intercepted with a predetermined size with the item image as the center, and the intercepted shape can be a circle, a quadrilateral, or a polygon, etc. The captured surrounding environment features and the item image are moved together to the best display position in the virtual space determined according to the target distance. This facilitates the target object to understand the item image while also having a better understanding of the selection and the surrounding environment. It is understandable that the surrounding environment features can be images of items of a similar type to the item image, or can be the environment to which the item image is applicable, etc., and can be adaptively adjusted according to actual needs.
[0091] Through these adjustments, the object image can be presented in front of the target object at the most appropriate size and angle, thereby reducing the physical and cognitive burden on the target object.
[0092] Optionally, the interactive system can also realize viewing different object images in the smart glasses by responding to the switching operation of the target object on the object image.
[0093] Through the above process, the interactive system can adjust the orientation and position of the object image to ensure that the target object obtains the best viewing experience, reduce the interaction cost, improve the interactive experience, increase the diversity of interaction methods, and improve the intelligence of interaction. The interactive system can utilize the understanding and application of human visual comfort and the display effect of product details.
[0094] It should be noted that, unless it is explicitly stated that there is a sequence of execution between different operations shown in the flowchart in the embodiments of the present disclosure, or there is a sequence of execution between different operations in technical implementation, otherwise, the execution order of multiple operations may not be prioritized, and multiple operations may also be executed simultaneously.
[0095] Figure 4 The block diagram schematically shows an interaction device according to an embodiment of the present disclosure.
[0096] like Figure 4 As shown, the interaction device 400 includes an activation module 410 , a first generation module 420 , a positioning module 430 , and an adjustment module 440 .
[0097] The activation module 410 is configured to activate an interactive prompt point of the object image in response to the target object's sight line staying on the object image in the virtual space for more than a predetermined time.
[0098] The first generating module 420 is used to generate a target distance between the object image and the target object according to the attribute characteristics of the object image in response to the interaction operation between the target object and the interaction prompt point.
[0099] The positioning module 430 is used to locate the target position in the virtual space according to the target distance.
[0100] The adjustment module 440 is used to move the object image to a target position and adjust the target display area of the object image.
[0101] According to the embodiments of the present disclosure, in response to the target object's sight staying on the object image in the virtual space for more than a predetermined time, the interactive prompt point of the object image is activated; in response to the target object's interactive operation on the interactive prompt point, the target distance between the attribute characteristics of the object image and the target object is determined; according to the target distance, the target position is located in the virtual space; the object image is moved to the target position, and the target display area of the object image is adjusted. During the interaction process, the interactive prompt point is automatically activated according to the length of time the sight stays, and according to the interactive operation between the target object and the interactive prompt point, the target distance between the object image and the target object is generated, and the object image is moved to the target object and the target display area of the object image is adjusted, so as to display the object image to the target object at the best position through the best viewing angle. At least partially overcome the problems of low interactive experience and high interactive cost in the related art, thereby achieving the technical effect of increasing the diversity and intelligence of the interactive methods, improving the interactive experience and reducing the interactive cost.
[0102] According to an embodiment of the present disclosure, the first generating module may include a generating unit, a matching unit and a mapping unit.
[0103] The generating unit is used to generate the volume of the object image according to the sizes of the object image in multiple directions.
[0104] The matching unit is used to match the volume of the object image with the volume in the target distance generation strategy to obtain the target volume.
[0105] The mapping unit is used to obtain the target distance according to the distance having a mapping relationship with the target volume in the target distance generation strategy.
[0106] According to an embodiment of the present disclosure, the interaction device may further include a first building module, a second generating module, a third generating module and a second building module.
[0107] The first construction module is used to construct a field of view of the target object according to the line of sight of the target object.
[0108] The second generating module is used to generate an orthographic projection area of the object image within the field of view according to the sizes of the object image in multiple directions, wherein the orthographic projection area has a mapping relationship with the volume of the object image.
[0109] The third generating module is used to generate the orthographic projection area ratio according to the ratio between the orthographic projection area and the area of the field of view.
[0110] The second construction module is used to construct a target distance generation strategy according to the proportion of the orthographic projection area within a predetermined range.
[0111] According to an embodiment of the present disclosure, the interaction device may further include a calibration module and a response module.
[0112] The calibration module is used to start the smart glasses in response to the target object, calibrate the eye tracking component in the smart glasses, and calibrate the interactive operation recognition component in the smart glasses.
[0113] The response module is used to respond to the sight of the target object by using the calibrated eye tracking component, and to respond to the interactive operation of the target object by using the calibrated interactive operation recognition component.
[0114] According to an embodiment of the present disclosure, the calibration module may include a calling unit and a calibration unit.
[0115] The calling unit is used to call multiple gaze reference points of the eye tracking component.
[0116] A calibration unit is used to calibrate the eye tracking component in response to the interaction between the target object and the gaze reference point.
[0117] According to an embodiment of the present disclosure, the adjustment module may include a positioning unit, a determining unit and an adjustment unit.
[0118] The positioning unit is used to locate the display center point on the target display area.
[0119] The determination unit is used to determine a sight line focus point located directly in front of the target object according to the sight line of the target object.
[0120] The adjustment unit is used to adjust the display center point according to the sight focus point so that the target display area is located directly in front of the sight line of the target object.
[0121] According to an embodiment of the present disclosure, the interaction device may further include an acquisition module, a sorting module and a result module.
[0122] The acquisition module is used to acquire the number of image features included in each of the multiple display areas.
[0123] The sorting module is used to sort each display area according to the number of image features to obtain a sorting result.
[0124] The result module is used to obtain the target display area according to the display area with the most image features in the sorting results.
[0125] According to an embodiment of the present disclosure, the interaction device may further include a determination module and a display module.
[0126] The determination module is used to determine the candidate display area according to the sorting results.
[0127] The display module is used to display the candidate display area in response to the target object's interactive operation on the display area.
[0128] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (ASICs), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging circuits, or can be implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.
[0129] For example, any of the activation module 410, the first generation module 420, the positioning module 430, and the adjustment module 440 can be combined in one module / unit / sub-unit for implementation, or any of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of these modules / units / sub-units can be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the activation module 410, the first generation module 420, the positioning module 430, and the adjustment module 440 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware or in any appropriate combination of any of them. Alternatively, at least one of the activation module 410 , the first generation module 420 , the positioning module 430 , and the adjustment module 440 may be at least partially implemented as a computer program module, and when the computer program module is executed, a corresponding function may be performed.
[0130] It should be noted that the interactive device part in the embodiments of the present disclosure corresponds to the interactive method part in the embodiments of the present disclosure. The description of the interactive device part specifically refers to the interactive method part, which will not be repeated here.
[0131] Figure 5 A block diagram of an electronic device suitable for implementing an interaction method according to an embodiment of the present disclosure is schematically shown. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0132] like Figure 5 As shown, the electronic device 500 according to an embodiment of the present disclosure includes a processor 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 to a random access memory (RAM) 503. The processor 501 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 501 may also include an onboard memory for caching purposes. The processor 501 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0133] In RAM 503, various programs and data required for the operation of electronic device 500 are stored. Processor 501, ROM 502 and RAM 503 are connected to each other via bus 504. Processor 501 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 502 and / or RAM 503. It should be noted that the program can also be stored in one or more memories other than ROM 502 and RAM 503. Processor 501 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0134] According to an embodiment of the present disclosure, the electronic device 500 may further include an input / output (I / O) interface 505, which is also connected to the bus 504. The electronic device 500 may further include one or more of the following components connected to the input / output (I / O) interface 505: an input portion 506 including a keyboard, a mouse, etc.; an output portion 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 508 including a hard disk, etc.; and a communication portion 509 including a network interface card such as a LAN card, a modem, etc. The communication portion 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the input / output (I / O) interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage portion 508 as needed.
[0135] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the processor 501, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.
[0136] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0137] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.
[0138] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 502 and / or the RAM 503 described above and / or one or more memories other than the ROM 502 and the RAM 503 .
[0139] An embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains a program code for executing the method provided by the embodiment of the present disclosure. When the computer program product runs on an electronic device, the program code is used to enable the electronic device to implement the interactive method provided by the embodiment of the present disclosure.
[0140] When the computer program is executed by the processor 501, the above functions defined in the system / device of the embodiment of the present disclosure are executed. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0141] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 509, and / or installed from the removable medium 511. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0142] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0143] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments of the present disclosure can be combined and / or combined in a variety of ways, even if such a combination or combination is not explicitly recorded in the present disclosure. In particular, without departing from the spirit and teaching of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0144] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. An interactive method, include: In response to the target object's sight line staying on the object image in the virtual space for more than a predetermined time, activating an interactive prompt point of the object image; In response to the interaction operation between the target object and the interaction prompt point, generating a target distance between the object image and the target object according to the attribute characteristics of the object image; locating a target position in the virtual space according to the target distance; The object image is moved to the target position, and the target display area of the object image is adjusted.
2. The method according to claim 1, in, The attribute features of the object image include the sizes of the object image in multiple directions; Generating a target distance between the object image and the target object according to the attribute characteristics of the object image includes: Generate the volume of the object image according to the sizes of the object image in multiple directions; Matching the volume of the object image with the volume in the target distance generation strategy to obtain a target volume; The target distance is obtained according to the distance having a mapping relationship with the target volume in the target distance generation strategy.
3. The method according to claim 2, in, The target distance generation strategy is constructed as follows: Constructing a visual field of the target object according to the sight line of the target object; Generate an orthographic projection area of the object image within the field of view according to the sizes of the object image in multiple directions, wherein the orthographic projection area has a mapping relationship with the volume of the object image; Generate an orthographic projection area ratio according to the ratio between the orthographic projection area and the area of the field of view; The target distance generation strategy is constructed according to the proportion of the orthographic projection area within a predetermined range.
4. The method according to claim 1, in, The method further comprises: In response to the target object starting the smart glasses, calibrating an eye tracking component in the smart glasses and calibrating an interactive operation recognition component in the smart glasses; The calibrated eye tracking component is used to respond to the line of sight of the target object, and the calibrated interaction operation recognition component is used to respond to the interaction operation of the target object.
5. The method according to claim 4, in, The calibrating the eye tracking component in the smart glasses includes: Calling multiple sight reference points of the eye tracking component; The eye tracking component is calibrated in response to interaction between the target object and the gaze reference point.
6. The method according to claim 1, in, The adjusting the target display area of the object image includes: Positioning a display center point on the target display area; Determining a sight line focal point located directly in front of the target object according to the sight line of the target object; The display center point is adjusted according to the sight line focus point so that the target display area is located directly in front of the sight line of the target object.
7. The method according to claim 6, in, The object image includes multiple display areas, and the target display area is obtained in the following manner: Acquire the number of image features included in each of the multiple display areas; Sorting each display area according to the number of the image features to obtain a sorting result; The target display area is obtained according to the display area with the most image features in the sorting results.
8. The method according to claim 7, in, The method further comprises: Determine a candidate display area according to the ranking result; In response to the target object's interactive operation on the display area, the candidate display area is displayed.
9. An interactive device, include: an activation module, configured to activate an interactive prompt point of the object image in response to the target object's sight staying on the object image in the virtual space for more than a predetermined time; A first generating module, configured to generate a target distance between the object image and the target object according to attribute features of the object image in response to an interaction operation between the target object and the interaction prompt point; A positioning module, used for locating a target position in the virtual space according to the target distance; The adjustment module is used to move the object image to the target position and adjust the target display area of the object image.
10. An electronic device, include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 8.
11. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the method according to any one of claims 1 to 8.
12. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 8.
Citation Information
Cited By
Nursing interaction method and device and medium
CN120376090A
Interaction method and apparatus, and device, storage medium and program product
WO2026012135A1
