Multi-modal man-machine interaction control augmented reality
Through a multimodal interaction system, combined with gesture tracking and voice analysis, users can configure and modify augmented reality objects through gestures and voice commands, solving the problem of low user interaction efficiency in the existing technology, and achieving more personalized and rapid enhancement Realistic experience.
Patent Information
- Application Number
- CN202380038958.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-05-10
- Filing Date
- 2023-05-10
- Publication Date
- 2024-12-20
AI Technical Summary
Existing augmented reality technology is difficult to provide a personalized user experience, and users need to interact by holding computer devices, limiting the interaction speed and configuration of complex settings.
The multimodal interaction system is adopted, combining gesture tracking and machine learning-based speech analysis, allowing users to configure and modify augmented reality objects through gestures and voice commands, providing visual cues to help users operate.
The complex augmented reality experience can be quickly configured without holding the device, which improves user interaction efficiency and personalized experience, and enhances the user's ability to interact with augmented reality objects.
Smart Images

Figure CN119173835A_ABST
Abstract
Description
[0001] Priority Claim
[0002] This application claims the benefit of priority to U.S. patent application serial number 17 / 740,567, filed on May 10, 2022, the entire contents of which are incorporated herein by reference. Technical Field
[0003] Embodiments herein generally relate to augmented reality. More specifically, but not limitingly, embodiments herein describe controlling augmented reality effects through multimodal human-computer interaction. Background Art
[0004] Augmented reality allows users to enhance their experience of the physical world using computer-generated input. An augmented reality experience is an interactive experience enhanced through multiple sensory modalities. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] In the drawings, which are not necessarily drawn to scale, similar reference numerals may describe similar components in different views. To easily identify the discussion of any particular element or action, the highest digit or digits in the reference numeral refer to the figure number in which the element is first introduced. Some non-limiting examples are shown in the figures of the accompanying drawings, in which:
[0006] Figure 1 is a diagrammatic representation of a networking environment in which the present disclosure may be deployed, according to some examples.
[0007] Figure 2 is a diagrammatic representation of a messaging system having both client-side and server-side functionality according to some examples.
[0008] Figure 3 is a diagrammatic representation of data structures maintained in a database according to some examples.
[0009] Figure 4 is a graphical representation of messages according to some examples.
[0010] Figure 5 An aspect of the subject matter according to one implementation is shown.
[0011] Figure 6 A method for controlling augmented reality effects through multimodal interaction according to example embodiments is shown.
[0012] Figures 7 to 9 An example user interface generated using a multimodal interaction system is shown.
[0013] Fig.10is a diagrammatic representation of a machine in the form of a computer system according to some examples within which a set of instructions may be executed for causing the machine to perform any one or more of the methodologies discussed herein.
[0014] Fig.11 is a block diagram illustrating a software architecture in which examples may be implemented. DETAILED DESCRIPTION
[0015] In order to provide a more personalized experience using augmented reality (AR) effects, the proposed multimodal interaction system allows users to configure these effects using "real world" interaction methods. For example, the multimodal interaction system uses hand tracking and allows users to point to the AR objects they want to configure for. After the user selects the AR object, the multimodal system uses machine learning-based voice analysis to modify the object based on the voice commands received by the user.
[0016] In some examples, the multimodal interaction system provides visual cues to the user suggesting what the user can do (e.g., available gestures) and what the user can say (e.g., keywords that trigger modifications to AR objects). This multimodal interaction is beneficial to the user because the user does not need to hold a computer device (e.g., a phone) to customize their AR user experience, and allows the user to configure complex settings in a faster manner (e.g., alternating between gestures and voice).
[0017] The proposed multimodal interaction system receives a selection of an AR experience within an application on a computer device. The multimodal interaction system displays AR objects associated with the AR experience on a display of the device and displays textual prompts to help the user manipulate and modify the AR objects. The multimodal interaction system receives a gesture to select one or more of the displayed AR objects and a voice command indicating a modification of one or more aspects of the selected AR objects. The multimodal interaction system modifies the selected AR object based on the voice command and displays the modified AR object as part of the updated AR experience. Additional details of the multimodal interaction system are described below.
[0018] Networked computing environment
[0019] Figure 11 is a block diagram illustrating an example messaging system 100 for exchanging data (e.g., messages and associated content) over a network. The messaging system 100 includes multiple instances of client devices 102, each of which hosts multiple applications including a messaging client 104 and other applications 106. Each messaging client 104 is communicatively coupled to other instances of the messaging client 104 (e.g., hosted on respective other client devices 102), a messaging server system 108, and a third-party server 110 via a network 112 (e.g., the Internet). The messaging client 104 may also communicate with the locally hosted application 106 using an application program interface (API).
[0020] The messaging clients 104 are able to communicate and exchange data with other messaging clients 104 and messaging server systems 108 via the network 112. The data exchanged between the messaging clients 104 and between the messaging clients 104 and messaging server systems 108 include functions (e.g., commands for activating functions) and payload data (e.g., text, audio, video, or other multimedia data).
[0021] The messaging server system 108 provides server-side functionality to specific messaging clients 104 via the network 112. Although certain functions of the messaging system 100 are described herein as being performed by the messaging client 104 or by the messaging server system 108, the location of certain functions within the messaging client 104 or within the messaging server system 108 may be a design choice. For example, it may be technically preferred to initially deploy certain technologies and functions within the messaging server system 108, but later migrate the technologies and functions to the messaging client 104 where the client device 102 has sufficient processing power.
[0022] The messaging server system 108 supports various services and operations provided to the messaging clients 104. Such operations include sending data to the messaging clients 104, receiving data from the messaging clients 104, and processing data generated by the messaging clients 104. As examples, the data may include message content, client device information, geographic location information, media enhancements and overlays, message content persistence conditions, social network information, and live event information. The data exchange within the messaging system 100 is activated and controlled by functions available via the user interface (UI) of the messaging client 104.
[0023] Turning now specifically to the messaging server system 108, an application program interface (API) server 116 is coupled to and provides a programming interface to the application server 114. The application server 114 is communicatively coupled to a database server 120, which facilitates access to a database 126 that stores data associated with messages processed by the application server 114. Similarly, a web server 128 is coupled to the application server 114 and provides a web-based interface to the application server 114. To this end, the web server 128 processes incoming network requests via the Hypertext Transfer Protocol (HTTP) and several other related protocols.
[0024] The application program interface (API) server 116 receives and sends message data (e.g., commands and message payloads) between the client device 102 and the application server 114. Specifically, the application program interface (API) server 116 provides a set of interfaces (e.g., routines and protocols) that can be called or queried by the messaging client 104 to activate the functions of the application server 114. An application program interface (API) server 116 exposes various functions supported by application server 114, including: account registration; login functionality; sending messages from a particular messaging client 104 to another messaging client 104 via application server 114; sending media files (e.g., images or videos) from a messaging client 104 to messaging server 118 and for possible access by another messaging client 104; setting up collections of media data (e.g., stories); retrieving a list of friends of a user of client device 102; retrieving such collections; retrieving messages and content; adding and removing entities (e.g., friends) from an entity graph (e.g., a social graph); locating friends within a social graph; and opening application events (e.g., related to messaging client 104).
[0025] The application server 114 hosts multiple server applications and subsystems, including, for example, a messaging server 118, an image processing server 122, a social network server 124, and a multimodal interaction system 130. The messaging server 118 implements multiple message processing techniques and functions, particularly those related to the aggregation and other processing of content (e.g., text and multimedia content) included in messages received from multiple instances of the messaging client 104. As will be described in further detail, text and media content from multiple sources can be aggregated into collections of content (e.g., called stories or galleries). These collections are then made available to the messaging client 104. In view of the hardware requirements of other processor- and memory-intensive data processing, such processing can also be performed on the server side by the messaging server 118.
[0026] The application server 114 also includes an image processing server 122 that is dedicated to performing various image processing operations, typically with respect to images or videos within the payload of messages sent from or received at the messaging server 118 .
[0027] The social network server 124 supports various social networking functions and services and makes them available to the messaging server 118. To this end, the social network server 124 maintains and accesses an entity graph 308 (e.g., Figure 3 ). Examples of functions and services supported by the social networking server 124 include identifying other users of the messaging system 100 that have a relationship with a particular user or that the particular user is "following," and also identifying interests and other entities of a particular user.
[0028] The multimodal interaction system 130 allows the user to configure the AR experience using multimodal interaction. For example, the user can use a combination of gestures and voice commands to manipulate and modify the AR experience.
[0029] Returning to the messaging client 104, the features and functions of the external resource (e.g., application 106 or applet) are available to the user via the interface of the messaging client 104. In this context, "external" refers to the fact that the application 106 or applet is outside the messaging client 104. External resources are usually provided by a third party, but can also be provided by the creator or provider of the messaging client 104. The messaging client 104 receives a user selection of an option to launch or access the features of such an external source. The external resource can be an application 106 (e.g., a "native app") installed on the client device 102, or a small-scale version of the application (e.g., a "mini program") hosted on the client device 102 or away from the client device 102 (e.g., on a third-party server 110). The small-scale version of the application includes a subset of the features and functions of the application (e.g., the full-scale, native version of the application) and is implemented using a markup language document. In one example, the small-scale version of the application (e.g., a "mini program") is a web-based markup language version of the application and is embedded in the messaging client 104. In addition to using markup language documents (eg, *ml files), applets may include scripting languages (eg, .*js files or .json files) and style sheets (eg, *ss files).
[0030] In response to receiving a user selection of an option to launch or access a feature of an external resource, the messaging client 104 determines whether the selected external resource is a web-based external resource or a locally installed application 106. In some cases, an application 106 installed locally on the client device 102 may be launched independently of and separately from the messaging client 104, for example, by selecting an icon corresponding to the application 106 on a home screen of the client device 102. A small-scale version of such an application may be launched or accessed via the messaging client 104, and in some examples, no portion of the small-scale application (or only a limited portion) may be accessible outside of the messaging client 104. The small-scale application may be launched by the messaging client 104, for example, receiving a markup language document associated with the small-scale application from a third-party server 110 and processing such a document.
[0031] In response to determining that the external resource is a locally installed application 106, the messaging client 104 instructs the client device 102 to launch the external resource by executing the locally stored code corresponding to the external resource. In response to determining that the external resource is a web-based resource, the messaging client 104 communicates with (for example) a third-party server 110 to obtain a markup language document corresponding to the selected external resource. The messaging client 104 then processes the obtained markup language document to present the web-based external resource within the user interface of the messaging client 104.
[0032] The messaging client 104 may notify the user of the client device 102 or other users (e.g., "friends") associated with such a user of one or more external resources of activities occurring. For example, the messaging client 104 may provide a participant in a conversation (e.g., a chat session) in the messaging client 104 with a notification related to the current or recent use of an external resource by one or more members of a group of users. One or more users may be invited to join an active external resource or to start an external resource that has been recently used but is currently inactive (in a friend group). The external resource may provide the participants of the conversation who each use the corresponding messaging client 104 with the ability to share items, conditions, states, or locations in an external resource with one or more members of a group of users in a chat session. The shared item may be an interactive chat card that members of the chat may interact with, for example, to start a corresponding external resource, view specific information within an external resource, or bring members of the chat to a specific location or state within an external resource. Within a given external resource, a response message may be sent to a user on the messaging client 104. The external resource may selectively include different media items in the response based on the current context of the external resource.
[0033] The messaging client 104 may present a list of available external resources (e.g., applications 106 or applets) to the user to launch or access a given external resource. The list may be presented in a context-sensitive menu. For example, icons representing different applications (or applets) of the application 106 (or applets) may vary based on how the user launches the menu (e.g., from a conversational interface or from a non-conversational interface).
[0034] System Architecture
[0035] Figure 2 1 is a block diagram showing additional details about the messaging system 100 according to some examples. Specifically, the messaging system 100 is shown to include a messaging client 104 and an application server 114. The messaging system 100 includes a plurality of subsystems that are supported on the client side by the messaging client 104 and on the server side by the application server 114. These subsystems include, for example, a transient timer system 202, a collection management system 204, an enhancement system 208, a map system 210, a game system 212, an external resource system 214, and a multimodal interaction system 130.
[0036] The transient timer system 202 is responsible for implementing temporary or time-limited access to content by the messaging client 104 and the messaging server 118. The transient timer system 202 includes several timers that selectively enable access (e.g., for presentation and display) to messages and associated content via the messaging client 104 based on duration and display parameters associated with a message or a collection of messages (e.g., a story). Additional details regarding the operation of the transient timer system 202 are provided below.
[0037] The collection management system 204 is responsible for managing collections or collections of media (e.g., collections of text, images, video, and audio data). Collections of content (e.g., messages, including images, videos, text, and audio) can be organized into "event libraries" or "event stories." Such collections can be made available for a specified time period (e.g., the duration of an event related to the content). For example, content related to a concert can be made available as a "story" for the duration of the concert. The collection management system 204 can also be responsible for publishing an icon that provides notification of the existence of a particular collection to the user interface of the messaging client 104.
[0038] In addition, the collection management system 204 includes a curation interface 206 that allows collection managers to manage and curate specific content collections. For example, the curation interface 206 enables an event organizer to curate a collection of content related to a specific event (e.g., to delete inappropriate content or redundant messages). In addition, the collection management system 204 uses machine vision (or image recognition technology) and content rules to automatically curate content collections. In some examples, compensation may be paid to users for including user-generated content in a collection. In such cases, the collection management system 204 operates to automatically pay such users for use of their content.
[0039] The enhancement system 208 provides various functions that enable a user to enhance (e.g., annotate or otherwise modify or edit) media content associated with a message. For example, the enhancement system 208 provides functions related to generating and publishing media overlays for messages processed by the messaging system 100. The enhancement system 208 is operable to provide media overlays or enhancements (e.g., image filters) to the messaging client 104 based on the geographic location of the client device 102. In another example, the enhancement system 208 is operable to provide media overlays to the messaging client 104 based on other information such as social network information of the user of the client device 102. The media overlay can include audio and visual content and visual effects. Examples of audio and visual content include pictures, text, logos, animations, and sound effects. Examples of visual effects include color overlays. Audio and visual content or visual effects can be applied to media content items (e.g., photos) at the client device 102. For example, the media overlay can include text or images that can be superimposed on photos taken by the client device 102. In another example, the media overlay includes a location identification overlay (e.g., Venice Beach), the name of a live event, or a business name overlay (e.g., Beach Cafe). In another example, the enhancement system 208 uses the geographic location of the client device 102 to identify a media overlay that includes the name of a business at the geographic location of the client device 102. The media overlay may include other logos associated with the business. The media overlay may be stored in the database 126 and accessed through the database server 120.
[0040] In some examples, the enhancement system 208 provides a user-based publishing platform that enables a user to select a geographic location on a map and upload content associated with the selected geographic location. The user can also specify situations in which a particular media overlay should be provided to other users. The enhancement system 208 generates a media overlay that includes the uploaded content and associates the uploaded content with the selected geographic location.
[0041] In other examples, the enhancement system 208 provides a merchant-based publishing platform that enables merchants to select specific media overlays associated with geographic locations via a bidding process. For example, the enhancement system 208 associates the highest bidding merchant's media overlay with the corresponding geographic location for a predefined amount of time.
[0042] The mapping system 210 provides various geo-location functions and supports the presentation of map-based media content and messages by the messaging client 104. For example, the mapping system 210 enables the display of user icons or avatars (e.g., stored in the profile data 316) on a map to indicate the current or past locations of the user's "friends", as well as media content (e.g., a collection of messages including photos and videos) generated by such friends within the context of the map. For example, a message posted by a user to the messaging system 100 from a particular geographic location can be displayed to a particular user's "friends" on the mapping interface of the messaging client 104 within the context of a map of that particular location. The user can also share his or her location and status information with other users of the messaging system 100 (e.g., using an appropriate status avatar) via the messaging client 104, where the location and status information is similarly displayed to selected users within the context of the mapping interface of the messaging client 104.
[0043] The gaming system 212 provides various gaming functions within the context of the messaging client 104. The messaging client 104 provides a gaming interface that provides a list of available games that can be launched by a user within the context of the messaging client 104 and played with other users of the messaging system 100. The messaging system 100 also enables a particular user to invite other users to participate in playing a particular game by sending an invitation to such other users from the messaging client 104. The messaging client 104 also supports both voice and text messaging (e.g., chat) within the context of game play, provides leaderboards for games, and also supports providing in-game rewards (e.g., game coins and items).
[0044] The external resource system 214 provides an interface for the messaging client 104 to communicate with a remote server (e.g., a third-party server 110) to launch or access external resources (i.e., applications or applets). Each third-party server 110 hosts, for example, applications or small-scale versions of applications based on a markup language (e.g., HTML5) (e.g., game applications, utility applications, payment applications, or ride-sharing applications). The messaging client 104 can launch a web-based resource (e.g., application) by accessing an HTML5 file from a third-party server 110 associated with a web-based resource. In some examples, the application hosted by the third-party server 110 is programmed in JavaScript using a software development kit (SDK) provided by the messaging server 118. The SDK includes an application programming interface (API) having functions that can be called or activated by a web-based application. In some examples, the messaging server 118 includes a JavaScript library that provides a given external resource access to certain user data of the messaging client 104. HTML5 is used as an example technology for programming games, but applications and resources programmed based on other technologies can be used.
[0045] To integrate the functionality of the SDK into a web-based resource, the SDK is downloaded by the third-party server 110 from the messaging server 118, or received by the third-party server 110 in other ways. Once downloaded or received, the SDK will be included as part of the application code of the web-based external resource. The code of the web-based resource can then call or activate certain functions of the SDK to integrate the features of the messaging client 104 into the web-based resource.
[0046] The SDK stored on the messaging server 118 effectively provides a bridge between external resources (e.g., applications 106 or applet) and the messaging client 104. This provides users with a seamless experience of communicating with other users on the messaging client 104 while also preserving the look and feel of the messaging client 104. In order to bridge the communication between the external resources and the messaging client 104, in some examples, the SDK facilitates the communication between the third-party server 110 and the messaging client 104. In some examples, the WebViewJavaScriptBridge running on the client device 102 establishes two one-way communication channels between the external resources and the messaging client 104. Messages are sent asynchronously between the external resources and the messaging client 104 via these communication channels. Each SDK function activation is sent as a message and a callback. Each SDK function is implemented by constructing a unique callback identifier and sending a message with the callback identifier.
[0047] By using the SDK, not all information from the messaging client 104 is shared with the third-party server 110. The SDK limits which information is shared based on the needs of the external resource. In some examples, each third-party server 110 provides an HTML5 file corresponding to a web-based external resource to the messaging server 118. The messaging server 118 can add a visual representation (e.g., box art or other graphics) of the web-based external resource in the messaging client 104. Once the user selects the visual representation or instructs the messaging client 104 to access a feature of a web-based external resource through the GUI of the messaging client 104, the messaging client 104 obtains the HTML5 file and instantiates the resources required to access the features of the web-based external resource.
[0048] The messaging client 104 presents a graphical user interface (e.g., a login page or title screen) for an external resource. During, before, or after presenting the login page or title screen, the messaging client 104 determines whether the launched external resource has been previously authorized to access the user data of the messaging client 104. In response to determining that the launched external resource has been previously authorized to access the user data of the messaging client 104, the messaging client 104 presents another graphical user interface of the external resource including the functions and features of the external resource. In response to determining that the launched external resource has not been previously authorized to access the user data of the messaging client 104, after a threshold time period (e.g., 3 seconds) of displaying the login page or title screen of the external resource, the messaging client 104 slides up a menu (e.g., animating the menu to emerge from the bottom of the screen to the middle or other portion of the screen) for authorizing the external resource to access the user data. The menu identifies the type of user data that the external resource will be authorized to use. In response to receiving the user selection of the accept option, the messaging client 104 adds the external resource to the list of authorized external resources and enables the external resource to access the user data from the messaging client 104. In some examples, the messaging client 104 authorizes the external resource to access the user data according to the OAuth 2 framework.
[0049] The messaging client 104 controls the type of user data shared with the external resource based on the type of external resource that is authorized. For example, an external resource including a full-scale application (e.g., application 106) is provided with access to a first type of user data (e.g., only a two-dimensional avatar of the user with or without different avatar characteristics). As another example, an external resource including a small-scale version of an application (e.g., a web-based version of the application) is provided access to a second type of user data (e.g., payment information, a two-dimensional avatar of the user, a three-dimensional avatar of the user, and an avatar with various avatar characteristics). Avatar characteristics include different ways to customize the look and feel of an avatar (e.g., different poses, facial features, clothing, etc.).
[0050] The multimodal interaction system 130 allows the user to configure the AR experience using multimodal interaction. For example, the user can use a combination of gestures and voice commands to manipulate and modify the AR experience. In some examples, aspects of the multimodal interaction system 130 can be implemented on the messaging client 104, the application server 114, or any combination thereof.
[0051] Data Architecture
[0052] Figure 3 is a schematic diagram illustrating a data structure 300 that may be stored in a database 126 of a messaging server system 108 according to some examples. Although the contents of the database 126 are illustrated as including several tables, it will be appreciated that data may be stored in other types of data structures (eg, an object-oriented database).
[0053] The database 126 includes message data stored in the message table 302. For any particular message, the message data includes at least message sender data, message receiver (or recipient) data, and payload. Figure 4 Additional details regarding information that may be included in a message and included within the message data stored in message table 302 are described.
[0054] The entity table 306 stores entity data and is linked (e.g., referenced) to the entity graph 308 and profile data 316. The entities whose records are maintained within the entity table 306 may include individuals, corporate entities, organizations, objects, places, events, etc. Regardless of the entity type, any entity about which the messaging server system 108 stores data may be an identified entity. Each entity is provided with a unique identifier as well as an entity type identifier (not shown).
[0055] The entity graph 308 stores information about relationships and associations between entities. Such relationships may be social, professional (e.g., working in a common company or organization), interest-based, or activity-based, by way of example only.
[0056] The profile data 316 stores multiple types of profile data about a particular entity. Based on the privacy settings specified by the particular entity, the profile data 316 can be selectively used and presented to other users of the messaging system 100. In the case where the entity is a person, the profile data 316 includes, for example, a user name, phone number, address, settings (e.g., notification and privacy settings), and an avatar representation (or a collection of such avatar representations) selected by the user. The particular user can then selectively include one or more of these avatar representations within the content of messages transmitted via the messaging system 100 and on a map interface displayed to other users by the messaging client 104. The collection of avatar representations can include a "status avatar" that presents a graphical representation of a state or activity that a user can select to communicate at a particular time.
[0057] Where the entity is a group, the profile data 316 for the group may similarly include one or more avatar representations associated with the group, in addition to the group name, members, and various settings related to the group (eg, notifications).
[0058] Database 126 also stores enhancement data, such as overlays or filters, in enhancement table 310. Enhancement data is associated with and applied to videos (data for videos is stored in video table 304) and images (data for images is stored in image table 312).
[0059] In one example, a filter is an overlay displayed as an overlay on an image or video during presentation to a recipient user. Filters can be of various types, including filters selected by a user from a set of filters presented to a sending user by messaging client 104 when the sending user is composing a message. Other types of filters include geolocation filters (also referred to as geofilters), which can be presented to a sending user based on a geographic location. For example, a geolocation filter specific to a nearby or special location can be presented by messaging client 104 within a user interface based on geographic location information determined by a global positioning system (GPS) unit of client device 102.
[0060] Another type of filter is a data filter, which can be selectively presented to the sending user by the message client 104 based on other input or information collected by the client device 102 during the message creation process. Examples of data filters include the current temperature at a particular location, the current speed at which the sending user is traveling, the battery life of the client device 102, or the current time.
[0061] Other augmented data that may be stored in the image table 312 include augmented reality content items (eg, corresponding to application lenses or augmented reality experiences). Augmented reality content items may be real-time special effects and / or sounds that may be added to an image or video.
[0062] As described above, augmented data includes augmented reality content items, overlays, image transformations, AR images, and similar items involving modifications that can be applied to image data (e.g., videos or images). This includes real-time modifications, which modify the image when it is captured using the device sensor (e.g., one or more cameras) of the client device 102 and then display the image with the modification on the screen of the client device 102. This also includes modifications to stored content (e.g., video clips in the library that can be modified). For example, in a client device 102 that accesses multiple augmented reality content items, a user can use a single video clip with multiple augmented reality content items to see how different augmented reality content items will modify the stored clips. For example, by selecting different augmented reality content items for the content, multiple augmented reality content items that apply different pseudo-random movement models can be applied to the same content. Similarly, real-time video capture can be used with the modifications shown to show how the video image currently captured by the sensor of the client device 102 will modify the captured data. Such data can be simply displayed on the screen without being stored in the memory, or the content captured by the device sensor can be recorded and stored in the memory with or without modification (or both). In some systems, the preview feature can simultaneously show how different augmented reality content items will look in different windows in the display. This can, for example, enable viewing multiple windows with different pseudo-random animations on the display at the same time.
[0063] Thus, data and various systems using augmented reality content items or other such transformation systems that modify content using such data may involve detection of objects (e.g., faces, hands, bodies, cats, dogs, surfaces, objects, etc.) in video frames, tracking of such objects as they leave, enter, and move around the field of view, and modification or transformation of such objects as they are tracked. In various examples, different methods for implementing such transformations may be used. Some examples may involve: generating a three-dimensional mesh model of one or more objects; and using transformations of the model and animated textures within a video to implement the transformations. In other examples, tracking of points on an object may be used to place an image or texture (which may be two-dimensional or three-dimensional) at the tracked location. In further examples, neural network analysis of a video frame may be used to place an image, model, or texture in content (e.g., an image or video frame). Thus, an augmented reality content item refers to both images, models, and textures used to create transformations in the content, and additional modeling and analysis information required to implement such transformations using object detection, tracking, and placement.
[0064] Real-time video processing can be performed using any kind of video data (e.g., video streams, video files, etc.) stored in the memory of any kind of computerized system. For example, a user can load video files and store them in the memory of the device, or a sensor of the device can be used to generate a video stream. In addition, any object, such as human faces and body parts, animals, or inanimate objects (e.g., chairs, cars, or other objects) can be processed using computer animation models.
[0065] In some examples, when a specific modification is selected together with the content to be transformed, the element to be transformed is identified by a computing device, and then if the element to be transformed is present in a frame of a video, the element to be transformed is detected and tracked. The elements of the object are modified according to a request for modification, thereby transforming the frame of the video stream. The transformation of the frame of the video stream can be performed by different methods for different types of transformations. For example, for the transformation of the frame that mainly refers to the form of the elements of the object to be changed, the characteristic points of each element of the object are calculated (for example, using an active shape model (ASM) or other known methods). Then, for each of at least one element of the object, a grid based on characteristic points is generated. The grid is used for the subsequent stages of tracking the elements of the object in the video stream. During the tracking process, the grid mentioned for each element is aligned with the position of each element. Then, additional points are generated on the grid. A first group of first points is generated for each element based on a request for modification, and a group of second points is generated for each element based on the group of first points and the request for modification. Then, the frame of the video stream can be transformed by modifying the elements of the object based on the group of first points and the group of second points and the grid. In such methods, the background of the modified object may also be changed or distorted by tracking and modifying the background of the modified object.
[0066] In some examples, a transformation that changes some areas of an object using elements of an object can be performed by calculating feature points for each element of the object and generating a grid based on the calculated feature points. Points are generated on the grid, and then various areas based on these points are generated. Then, the elements of the object are tracked by aligning the area for each element with the position for each of at least one element, and the properties of the area can be modified based on the request for modification, thereby transforming the frame of the video stream. Depending on the specific modification request, the properties of the mentioned area can be transformed in different ways. Such modifications may involve: changing the color of the area; removing at least some parts of the area from the frame of the video stream; including one or more new objects in the area based on the request for modification; and modifying or distorting the elements of the area or object. In various examples, any combination of such modifications or other similar modifications may be used. For certain models to be animated, some characteristic points may be selected as control points for determining the entire state space of options for model animation.
[0067] In some examples of computer animation models that use face detection to transform image data, faces are detected on an image using a specific face detection algorithm (e.g., Viola-Jones). An active shape model (ASM) algorithm is then applied to the face region of the image to detect facial feature reference points.
[0068] Other methods and algorithms suitable for face detection can be used. For example, in some examples, landmarks are used to locate features, which represent distinguishable points that exist in most of the images considered. For example, for facial landmarks, the location of the left pupil can be used. If the initial landmark is not recognizable (for example, if the person has an eye mask), secondary landmarks can be used. Such a landmark identification process can be used for any such object. In some examples, a set of landmarks forms a shape. The shape can be represented as a vector using the coordinates of the points in the shape. One shape is aligned with another shape using a similarity transformation (allowing translation, scaling, and rotation) that minimizes the average Euclidean distance between the shape points. The mean shape is the mean of the aligned training shapes.
[0069] In some examples, the landmark search begins with a mean shape aligned with the position and size of the face determined by a global face detector. Such a search then iterates by suggesting tentative shapes by adjusting the positions of shape points through template matching of the image texture around each point, and then conforming the tentative shapes to a global shape model until convergence occurs. In some systems, individual template matches are unreliable, and the shape model pools the results of weak template matches to form a stronger overall classifier. The entire search is repeated at each level of the image pyramid from coarse to fine resolution.
[0070] The transformation system can capture an image or video stream on a client device (e.g., client device 102) and perform complex image manipulations locally on the client device 102 while maintaining an appropriate user experience, computational time, and power consumption. Complex image manipulations can include size and shape changes, emotional transformations (e.g., changing a face from a frown to a smile), state transformations (e.g., aging a subject, reducing apparent age, changing gender), style transformations, application of graphical elements, and any other suitable image or video manipulations that are enabled by a convolutional neural network that has been configured to execute efficiently on the client device 102.
[0071] In some examples, a computer animation model for transforming image data can be used by a system in which a user can capture an image or video stream of the user (e.g., a selfie) using a client device 102 having a neural network that operates as part of a messaging client 104 operating on the client device 102. A transformation system operating within the messaging client 104 determines the presence of a face within the image or video stream and provides a modification icon associated with the computer animation model to transform the image data, or the computer animation model can be presented as associated with an interface described herein. The modification icon includes a change that can modify the basis of the user's face within the image or video stream as part of the modification operation. Once the modification icon is selected, the transformation system initiates a process of transforming the user's image to reflect the selected modification icon (e.g., generating a smiley face on the user). Once the image or video stream is captured and the specified modification is selected, the modified image or video stream can be presented in a graphical user interface displayed on the client device 102. The transformation system can implement a complex convolutional neural network on a portion of the image or video stream to generate and apply the selected modification. That is, a user can capture an image or video stream, and once a modification icon has been selected, the modified result can be presented in real time or near real time. Furthermore, while the video stream is being captured, the modification can be persistent and the selected modification icon remains toggled. Machine-taught neural networks can be used to implement such modifications.
[0072] The graphical user interface presenting the modifications performed by the transformation system can provide additional interactive options to the user. Such options can be based on the interface used to initiate content capture and selection of a particular computer animation model (e.g., initiated from a content creator user interface). In various examples, the modifications can be persistent after the initial selection of the modification icon. The user can switch to turn the modification on or off by tapping or otherwise selecting the face being modified by the transformation system, and store it for later viewing or browsing other areas of the imaging application. In the case of multiple faces being modified by the transformation system, the user can globally switch to turn the modification on or off by tapping or selecting a single face modified and displayed within the graphical user interface. In some examples, each face in a group of multiple faces can be modified individually, or such modifications can be switched individually by tapping or selecting a single face or a series of faces displayed within the graphical user interface.
[0073] The story table 314 stores data about a collection of messages and associated image, video or audio data that are compiled into a collection (e.g., a story or library). The creation of a particular collection can be initiated by a particular user (e.g., each user whose record is maintained in the entity table 306). A user can create a "personal story" in the form of a collection of content that has been created and sent / broadcasted by the user. To this end, the user interface of the messaging client 104 can include a user-selectable icon to enable the sending user to add specific content to his or her personal story.
[0074] A collection may also constitute a "live story" that is a collection of content from multiple users, created manually, automatically, or using a combination of manual and automatic techniques. For example, a "live story" may constitute a curated stream of user-submitted content from various locations and events. Users whose client devices have location services enabled and who are at a common location event at a particular time may be presented with the option of contributing content to a particular live story, for example, via the user interface of the messaging client 104. Live stories may be identified to a user by the messaging client 104 based on his or her location. The end result is a "live story" told from a community perspective.
[0075] Another type of content collection is called a "location story," which enables users whose client devices 102 are located in a particular geographic location (e.g., on a college or university campus) to contribute to a particular collection. In some examples, contributions to location stories may require secondary authentication to verify that the end user belongs to a particular organization or other entity (e.g., is a student on a university campus).
[0076] As mentioned above, the video table 304 stores video data, which in one example is associated with a message whose record is maintained within the message table 302. Similarly, the image table 312 stores image data associated with a message whose message data is stored in the entity table 306. The entity table 306 can associate various enhancements from the enhancement table 310 with the various images and videos stored in the image table 312 and the video table 304.
[0077] Database 126 may also store gestures in gesture table 320 and voice command keywords in keyword table 318. Gestures are used to identify and select an AR object to be modified, and voice command keywords are used to determine the specific modification to be applied to the selected AR object.
[0078] Data communication architecture
[0079] Figure 4is a schematic diagram illustrating the structure of a message 400 generated by a messaging client 104 for transmission to another messaging client 104 or a messaging server 118 according to some examples. The content of a particular message 400 is used to populate a message table 302 stored in a database 126 and accessible by a messaging server 118. Similarly, the content of the message 400 is stored in memory as "in-flight" or "in-flight" data of a client device 102 or application server 114. The message 400 is shown to include the following example components:
[0080] Message identifier 402 : a unique identifier that identifies the message 400 .
[0081] Message text payload 404 : Text to be generated by a user via the user interface of the client device 102 and included in the message 400 .
[0082] Message image payload 406 : Image data captured by a camera component of the client device 102 or retrieved from a memory component of the client device 102 and included in the message 400 . Image data for a message 400 sent or received may be stored in the image table 312 .
[0083] Message video payload 408 : Video data captured by the camera component or retrieved from the memory component of the client device 102 and included in the message 400 . The video data for the message 400 sent or received may be stored in the video table 304 .
[0084] Message audio payload 410 : audio data captured by a microphone or retrieved from a memory component of the client device 102 and included in the message 400 .
[0085] Message enhancement data 412: Enhancement data (e.g., filters, stickers, or other annotations or enhancements) representing enhancements to be applied to the message image payload 406, message video payload 408, or message audio payload 410 of the message 400. The enhancement data for a sent or received message 400 may be stored in the enhancement table 310.
[0086] Message duration parameter 414: A parameter value indicating the amount of time in seconds that the content of a message (eg, message image payload 406, message video payload 408, message audio payload 410) will be presented to or made accessible to a user via the messaging client 104.
[0087] Message geolocation parameters 416: Geolocation data (e.g., latitude and longitude coordinates) associated with the content payload of the message. Multiple message geolocation parameter 416 values may be included in the payload, each of which is associated with a content item included in the content (e.g., a specific image within a message image payload 406, or a specific video within a message video payload 408).
[0088] Message story identifier 418: An identifier value that identifies one or more content collections (e.g., a "story" identified in stories table 314) associated with a particular content item in message image payload 406 of message 400. For example, multiple images within message image payload 406 may each be associated with multiple content collections using an identifier value.
[0089] Message tags 420: Each message 400 may be tagged with a plurality of tags, each of which indicates the subject of the content included in the message payload. For example, where a particular image included in the message image payload 406 depicts an animal (e.g., a lion), a tag value may be included within the message tags 420 indicating the relevant animal. The tag value may be manually generated based on user input, or may be automatically generated using, for example, image recognition.
[0090] • Message sender identifier 422: An identifier (eg, a messaging system identifier, an email address, or a device identifier) that indicates the user of the client device 102 on which the message 400 was generated and from which the message 400 was sent.
[0091] • Message recipient identifier 424: Indicates an identifier (eg, a messaging system identifier, an email address, or a device identifier) of the user of the client device 102 to which the message 400 is addressed.
[0092] The content (e.g., value) of the various components of message 400 may be pointers to locations in a table in which content data values are stored. For example, an image value in message image payload 406 may be a pointer to a location in image table 312 (or the address of a location in image table 312). Similarly, a value in message video payload 408 may point to data stored in video table 304, a value stored in message enhancement 412 may point to data stored in enhancement table 310, a value stored in message story identifier 418 may point to data stored in story table 314, and values stored in message sender identifier 422 and message recipient identifier 424 may point to user records stored in entity table 306.
[0093] Figure 55 is a block diagram illustrating components of the multimodal interaction system 130 according to an example implementation. Specifically, the multimodal interaction system 130 is shown to include a gesture system 502 , a voice system 504 , a prompt system 506 , and an AR user configuration database 508 .
[0094] The gesture system 502 recognizes and determines the user's gesture. For example, the gesture system 502 uses one or more image sensors of the client device 102 to capture an image of the user and analyze the image to detect the hand. Once the hand is detected, the gesture system 502 identifies the joint positions in the hand and determines the hand posture based on the joint positions. The gesture system 502 recognizes the gesture based on the hand posture. The gesture system 502 can use data from the gesture table 320 to determine the hand posture and recognize the gesture. In some examples, the gesture system 502 uses a machine learning model that is trained to determine the gesture based on the analysis of one or more images of the hand. In some examples, the gesture system 502 causes the display of an AR element associated with the recognized gesture. For example, if the gesture system 502 determines that the gesture is a pointing gesture, the gesture system 502 can generate an AR element (e.g., a line or arrow) extending from the user's finger to one or more AR objects in the path of the pointing gesture. The gesture system 502 can also highlight one or more AR objects.
[0095] The speech system 504 captures audio commands from the user and determines keywords of the audio commands. The keywords are used to modify AR objects in the AR experience. The speech system 504 uses a machine learning model that detects keywords from the audio data stream. The machine learning model can be a natural language processing (NLP) model. Keywords detected by the machine learning model can be stored in association with the keyword table 318. The speech system 504 can also cause the keywords detected by the machine learning model to be displayed on the client device 102. For example, the speech system 504 can use speech-to-text conversion software to display only the keywords on the client device 102. In some examples, the speech system 504 uses speech-to-text conversion software to display the entire voice command on the client device 102.
[0096] The prompt system 506 provides text prompts to the user who initiated the AR experience. The text prompts include prompts regarding which gestures the user can use regarding the AR experience, and prompts regarding which voice commands are available regarding the AR experience. The text prompts are displayed on the client device 102. The prompt system 506 can provide text prompts associated with various AR objects in the AR experience. For example, if the AR experience includes an AR hat and AR sunglasses, the prompt system 506 can provide text prompts for each of the AR hat and the sunglasses. The text prompts provided for the AR hat may be different from the prompts provided for the AR sunglasses.
[0097] The AR user configuration database 508 stores the user's previous configurations of AR objects. For example, the AR user configuration database 508 may store a combination of configurations for one or more AR objects within an AR experience. For example, if the AR experience includes an AR hat and AR sunglasses, the AR user configuration database 508 may store configurations such as: a red AR hat with yellow AR sunglasses, a wide-brimmed AR hat with heart-shaped AR sunglasses, etc. The user may have the option of storing specific content in the AR user configuration database 508 by selecting a user interface element on the client device (e.g., via a gesture, voice command, or tactile input).
[0098] Although the described flowcharts may show the operations as sequential processes, many of the operations may be performed in parallel or simultaneously. In addition, the order of the operations may be rearranged. The process terminates when its operations are completed. The process may correspond to a method, a program, an algorithm, etc. The operations of the method may be performed in whole or in part, may be performed in combination with some or all of the operations in other methods, and may be performed by any number of different systems (e.g., the systems described herein) or any part thereof (e.g., a processor included in any of the systems).
[0099] Figure 6 The method 600 for controlling augmented reality effects through multimodal interaction according to an example implementation is shown. In one example, the operations in the method 600 may be performed by a processor in the multimodal interaction system 130, a processor in the client device 102, a processor in the messaging server system 108, or any combination thereof.
[0100] At operation 602, the multimodal interaction system 130 receives a selection of an augmented reality experience within an application on a computer device. The selection can be received at the client device 102 as a gesture, a voice command, a tactile input, or any combination thereof. The application can be a messaging client 104. The augmented reality experience can be a lens or any other augmented reality effect applied to an image or video. AR experience, lens, AR effect, augmented reality content item, overlay, image transformation, AR image, and similar terms refer to modifications that can be applied to image data (e.g., video or image). The AR experience can be displayed as an optional user interface within an application (e.g., messaging client 104). For example, the AR experience can be displayed as a button, an optional icon, or any other suitable optional user interface element. The augmented reality experience can be configured to modify the image data received from one or more image sensors of the client device 102 in real time.
[0101] At operation 604 , the multimodal interaction system 130 causes a set of augmented reality objects associated with the augmented reality experience to be displayed on a graphical user interface (GUI) of a computer device.
[0102] At operation 606, the multimodal interaction system 130 causes a text prompt associated with the set of augmented reality objects to be displayed on the GUI. The text prompt may be generated by the prompt system 506. The text prompt includes a prompt that instructs the user how to identify and modify the AR objects within the AR experience. In some examples, the text prompt is temporarily displayed for a predetermined amount of time. The predetermined amount of time may be preconfigured by an operator of the multimodal interaction system 130. In some examples, the predetermined amount of time is based on receiving a gesture or voice command from the user. For example, the text prompt may be visible on the GUI of the client device 102 until the multimodal interaction system 130 receives a specified gesture or voice command.
[0103] At operation 608, in response to the displayed text prompt, the multimodal interaction system 130 receives gestures and voice commands from the computer device. The gesture is received by the gesture system 502. For example, the gesture system 502 uses one or more image sensors of the client device 102 to detect the user's hand. The image sensor can be used to capture a set of images. The gesture system 502 uses an object recognition algorithm to detect the user's hand. After detecting the user's hand, the gesture system 502 identifies a set of joint positions of the user's hand and identifies the hand posture based on the set of joint positions. The gesture system 502 further determines the gesture based on the posture. For example, the gesture system 502 uses a first machine learning model to determine the gesture. The gesture system 502 generates a first set of modification data based on the determined gesture. For example, the first set of modification data can identify a subset of AR objects that the user wishes to modify in the AR experience. The first set of modification data can also include highlighting, outlining, or otherwise emphasizing a subset of AR objects that the user wishes to modify.
[0104] The voice command is received by the voice system 504. The voice system 504 receives audio data from one or more microphones of the client device 102. The voice system 504 uses a second machine learning model to analyze the audio data. The second machine learning model is trained to recognize keywords from the audio data. The voice system 504 also generates a second set of modification data using the recognized keywords. The second set of modification data includes specific modifications to various aspects of the AR object recognized using the first set of modification data. Various aspects of the AR object that can be modified by the second set of modification data include, but are not limited to, shape, size, color, and pattern. In some examples, the multimodal interaction system 130 causes the recognized keywords to be displayed on the client device 102. In other examples, the multimodal interaction system 130 causes the entire received audio data to be displayed on the GUI of the client device 102. In some examples, the entire received audio data is displayed on a first portion of the GUI, and the keywords are displayed on a second portion of the GUI.
[0105] At operation 610, the multimodal interaction system 130 modifies a subset of augmented reality objects based on gestures and voice commands. For example, a first set of modification data is used to identify a subset of augmented reality objects, and a second set of modification data is used to modify the identified subset. In some examples, the identified subset is further modified using the first set of modification data. For example, the first set of modification data may include displaying an outline or highlighting the identified AR object. In some examples, the outline or highlighting of the identified AR object is temporary and is removed once the second set of modification data is applied. At operation 612, the multimodal interaction system 130 causes the modified subset of augmented reality objects to be displayed on the GUI.
[0106] Figures 7 to 9 is an example user interface generated and displayed by the multimodal interaction system 130. User interface 702 shows a user initiating an AR experience. The AR experience includes three AR objects: a hat 710, glasses 712, and a scarf 714. Interface 702 is shown to include a text prompt 704 and a text prompt 716. Text prompt 704 provides an indication of how the user can interact with the multimodal interaction system 130. Text prompt 716 provides a prompt to the user that the multimodal interaction system 130 is listening for voice commands. Interface 702 also shows a recognized gesture 706 and a corresponding AR element 708 associated with gesture 706. Gesture 706 is shown as a pointing gesture pointing to the AR hat 710. The hat 710 is identified as being "selected" by the user using a clear outline.
[0107] User interface 802 is an illustration of a user performing a second pointing gesture 810. Gesture 810 is represented by AR element 812, which is shown pointing to glasses 814. The selection of glasses 814 is shown by the clear outline of glasses 814. Interface 802 also shows a text prompt 828, which indicates that the multimodal interaction system 130 is listening for a voice command from the user. Interface 802 is also shown as including buttons 816, buttons 818, and buttons 820. Each of the buttons includes a previous user configuration of various aspects of the selected AR object (e.g., glasses 814). The previous user configuration can be retrieved from the AR user configuration database 508. The selection of buttons 816, buttons 818, and buttons 820 can cause the modification of various aspects of glasses 814. For example, the selection of button 816 can cause the modification of the style of the glasses, the selection of button 818 can cause the modification of the frame color of glasses 814, and the selection of button 820 can cause the modification of the lens color of glasses 814. In some examples, selection of button 816, button 818, and button 820 may cause a list of previous user configurations (not shown) to be displayed on interface 802. For example, selection of button 802 may cause a list of previous colors that the user has selected for the lens color (e.g., retrieved from AR user configuration database 508) to be displayed on interface 802. The list of previous colors may be displayed as selectable user interface elements. The user may select one or more of the selectable user interface elements, and in response to the selection, multimodal interaction system 130 changes the color of the lens.
[0108] Interface 804 is an illustration of a user after the user issues a voice command. The voice command is depicted in item 824 and item 826. The voice command instructs the multimodal interaction system 130 to show the next option for glasses 814 by changing the frame style to glasses 822. In some examples, before providing the voice command, the user selects button 816 and then issues a voice command "next". The multimodal interaction system 130 uses data from the AR user configuration database 508 to determine the next previously formulated user configuration for the style of glasses.
[0109] Interface 806 is an illustration of a user after the user issues a voice command. The voice command is depicted in item 830. The key words recognized in the voice command are depicted in item 832. The voice command instructs the multimodal interaction system 130 to change the color of the lens 838 to red.
[0110] Interface 808 is an illustration of a user after the user issues a voice command. The voice command is depicted in item 836, and the keywords recognized in the voice command are depicted in item 834. The voice command "hide it" (in item 836) instructs the multimodal interaction system 130 to remove the AR glasses from the user's face.
[0111] Interface 902 is an illustration of a user performing a third pointing gesture 908. Gesture 908 is represented by AR element 910, which is shown pointing at scarf 912. Scarf 912 is shown with a clear outline to indicate to the user that the scarf is the selected AR object to be manipulated by the user's voice command or selection of user-configured buttons (button 914, button 916). Selection of button 914 and button 916 will cause aspects of the scarf to be modified based on the scarf's previous user configuration (e.g., retrieved from AR user configuration database 508). For example, selection of button 914 will cause the primary color of the scarf to change, while selection of button 916 will cause the pattern color of the scarf to change.
[0112] Interface 904 is an illustration of a user after the user issues a voice command. The voice command is depicted in item 920. Based on the voice command (in item 920), multimodal interaction system 130 changes the primary color of scarf 912 to appear as a yellow scarf 918.
[0113] In some examples, voice commands and gestures may cause the appearance of all AR objects and the background of the image view including the user to be modified. For example, interface 906 is an illustration of a user after the user issues a voice command. The voice command is depicted in item 922. Based on the voice command (in item 922), multimodal interaction system 130 changes the view of the entire image view (including all AR objects) to show the user how the AR objects will look at night (e.g., with limited light). Fig. 9 As shown in , interface 906 appears darker than interface 902 and interface 904 (via shadow 924 ).
[0114] Machine Architecture
[0115] Fig.101000 within which instructions 1010 (e.g., software, programs, applications, applet, app, or other executable code) may be executed for causing the machine 1000 to perform any one or more of the methods discussed herein. For example, the instructions 1010 may cause the machine 1000 to perform any one or more of the methods described herein. The instructions 1010 convert a general purpose, unprogrammed machine 1000 into a specific machine 1000 that is programmed to perform the functions described and illustrated in the manner described. The machine 1000 may operate as a standalone device or may be coupled (e.g., networked) to other machines. In a networked deployment, the machine 1000 may operate as a server machine or a client machine in a server-client network environment or as a peer machine in a peer-to-peer (or distributed) network environment. The machine 1000 may include, but is not limited to, a server computer, a client computer, a personal computer (PC), a tablet computer, a laptop computer, a netbook, a set-top box (STB), a personal digital assistant (PDA), an entertainment media system, a cellular phone, a smart phone, a mobile device, a wearable device (e.g., a smart watch), a smart home device (e.g., a smart appliance), other smart devices, a web device, a network router, a network switch, a network bridge, or any machine capable of sequentially or otherwise executing instructions 1010 specifying specific actions to be taken by the machine 1000. In addition, although only a single machine 1000 is shown, the term "machine" should also be considered to include a collection of machines that individually or jointly execute instructions 1010 to perform any one or more of the methods discussed herein. For example, the machine 1000 may include a client device 102 or any of a number of server devices that form part of a messaging server system 108. In some examples, the machine 1000 may also include both a client system and a server system, wherein certain operations of a particular method or algorithm are performed on the server side and certain operations of a particular method or algorithm are performed on the client side.
[0116] The machine 1000 may include a processor 1004, a memory 1006, and an input / output I / O component 1002 that may be configured to communicate with each other via a bus 1040. In an example, the processor 1004 (e.g., a central processing unit (CPU), a reduced instruction set computing (RISC) processor, a complex instruction set computing (CISC) processor, a graphics processing unit (GPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a radio frequency integrated circuit (RFIC), another processor, or any suitable combination thereof) may include, for example, a processor 1008 that executes instructions 1010 and a processor 1012. The term "processor" is intended to include multi-core processors, which may include two or more independent processors (sometimes referred to as "cores") that may execute instructions simultaneously. Although Fig.10 Multiple processors 1004 are shown, but the machine 1000 may include a single processor with a single core, a single processor with multiple cores (e.g., a multi-core processor), multiple processors with a single core, multiple processors with multiple cores, or any combination thereof.
[0117] The memory 1006 includes a main memory 1014, a static memory 1016, and a storage unit 1018, all of which are accessible by the processor 1004 via a bus 1040. The main memory 1006, the static memory 1016, and the storage unit 1018 store instructions 1010 that embody any one or more of the methodologies or functions described herein. The instructions 1010 may also reside, completely or partially, within the main memory 1014, within the static memory 1016, within the machine-readable medium 1020 within the storage unit 1018, within at least one of the processors 1004 (e.g., within a cache memory of a processor), or within any suitable combination thereof during execution thereof by the machine 1000.
[0118] I / O components 1002 may include various components that receive input, provide output, generate output, send information, exchange information, capture measurements, etc. The specific I / O components 1002 included in a particular machine will depend on the type of machine. For example, a portable machine such as a mobile phone may include a touch input device or other such input mechanism, while a headless server machine will likely not include such a touch input device. It will be appreciated that I / O components 1002 may include Fig.101020 may include a plurality of other components not shown in the drawings. In various examples, the I / O components 1002 may include a user output component 1026 and a user input component 1028. The user output component 1026 may include a visual component (e.g., a display such as a plasma display panel (PDP), a light emitting diode (LED) display, a liquid crystal display (LCD), a projector, or a cathode ray tube (CRT)), an acoustic component (e.g., a speaker), a tactile component (e.g., a vibration motor, a resistance mechanism), other signal generators, etc. The user input component 1028 may include an alphanumeric input component (e.g., a keyboard, a touch screen configured to receive alphanumeric input, an optical keyboard, or other alphanumeric input component), a point-based input component (e.g., a mouse, a touch pad, a trackball, a joystick, a motion sensor, or other pointing instrument), a tactile input component (e.g., a physical button, a touch screen or other tactile input component that provides the location and force of a touch or a touch gesture), an audio input component (e.g., a microphone), etc.
[0119] In other examples, the I / O component 1002 may include a biometric component 1030, a motion component 1032, an environment component 1034, or a positioning component 1036, as well as various other components. For example, the biometric component 1030 includes components for detecting expressions (e.g., hand expressions, facial expressions, voice expressions, body postures, or eye tracking), measuring biosignals (e.g., blood pressure, heart rate, body temperature, sweat, or brain waves), identifying people (e.g., voice recognition, retinal recognition, facial recognition, fingerprint recognition, or EEG-based recognition), etc. The motion component 1032 includes an acceleration sensor component (e.g., an accelerometer), a gravity sensor component, and a rotation sensor component (e.g., a gyroscope).
[0120] Environmental components 1034 include, for example, one or more cameras (with still image / photo and video capabilities), lighting sensor components (e.g., a photometer), temperature sensor components (e.g., one or more thermometers that detect ambient temperature), humidity sensor components, pressure sensor components (e.g., a barometer), acoustic sensor components (e.g., one or more microphones that detect background noise), proximity sensor components (e.g., an infrared sensor that detects nearby objects), gas sensors (e.g., a gas detection sensor that detects concentrations of hazardous gases for safety or measures pollutants in the atmosphere), or other components that can provide indications, measurements, or signals corresponding to the surrounding physical environment.
[0121] With respect to cameras, client device 102 can have a camera system including, for example, a front-facing camera on a front surface of client device 102 and a rear-facing camera on a rear surface of client device 102. The front-facing camera can, for example, be used to capture still images and videos (e.g., “selfies”) of a user of client device 102, which can then be enhanced using the enhancement data (e.g., filters) described above. The rear-facing camera can, for example, be used to capture still images and videos in a more traditional camera mode, where the images are similarly enhanced using the enhancement data. In addition to the front-facing camera and the rear-facing camera, client device 102 can also include a 360° camera for capturing 360° photos and videos.
[0122] Additionally, the camera system of the client device 102 may include dual rear cameras (e.g., a main camera and a depth sensing camera), or even triple, quad, or quintuple rear camera configurations on the front and back sides of the client device 102. For example, these multi-camera systems may include a wide-angle camera, an ultra-wide-angle camera, a telephoto camera, a macro camera, and a depth sensor.
[0123] The positioning component 1036 includes a position sensor component (for example, a GPS receiver component), an altitude sensor component (for example, an altimeter or a barometer that detects air pressure, and the altitude can be obtained based on the air pressure), an orientation sensor component (for example, a magnetometer), etc.
[0124] A variety of technologies may be used to achieve communication. The I / O component 1002 also includes a communication component 1038 that is operable to couple the machine 1000 to the network 1022 or device 1024 via a corresponding coupling or connection. For example, the communication component 1038 may include a network interface component or other suitable device that interfaces with the network 1022. In other examples, the communication component 1038 may include: a wired communication component, a wireless communication component, a cellular communication component, a near field communication (NFC) component, Components (e.g. Low energy consumption), Device 1024 may be another machine or any of a variety of peripherals (eg, a peripheral coupled via USB).
[0125] In addition, the communication component 1038 can detect an indication or include a component operable to detect an identifier. For example, the communication component 1038 can include a radio frequency identification (RFID) tag reader component, an NFC smart tag detection component, an optical reader component (e.g., an optical sensor for detecting one-dimensional bar codes such as universal product code (UPC) bar codes, multi-dimensional bar codes such as quick response (QR) codes, Aztec codes, data matrix, data symbol (Dataglyph), MaxiCode, PDF417, UltraCode, UCC RSS-2D bar codes, and other optical codes) or an acoustic detection component (e.g., a microphone for identifying an audio signal of a tag). In addition, various information can be obtained via the communication component 1038, such as a location obtained via Internet Protocol (IP) geolocation, ... Location obtained by signal triangulation, location obtained via detection of NFC beacon signals that can indicate a specific location, etc.
[0126] Various memories (e.g., main memory 1014, static memory 1016, and memory of processor 1004) and storage unit 1018 may store one or more sets of instructions and data structures (e.g., software) implemented or used by any one or more of the methods or functions described herein. When executed by processor 1004, these instructions (e.g., instructions 1010) cause various operations to implement the disclosed examples.
[0127] The instructions 1010 may be sent or received over the network 1022 using a transmission medium via a network interface device (e.g., a network interface component included in the communication component 1038) and using any of a number of well-known transmission protocols (e.g., the Hypertext Transfer Protocol (HTTP)). Similarly, the instructions 1010 may be sent or received via a coupling (e.g., a peer-to-peer coupling) with the device 1024 using a transmission medium.
[0128] Software Architecture
[0129] Fig.111100 is a block diagram illustrating a software architecture 1104 that may be installed on any one or more of the devices described herein. The software architecture 1104 is supported by hardware, such as a machine 1102 including a processor 1120, a memory 1126, and an I / O component 1138. In this example, the software architecture 1104 may be conceptualized as a stack of layers, where each layer provides specific functionality. The software architecture 1104 includes layers such as an operating system 1112, a library 1110, a framework 1108, and an application 1106. In operation, the application 1106 invokes an API call 1150 through the software stack and receives a message 1152 in response to the API call 1150.
[0130] The operating system 1112 manages hardware resources and provides public services. The operating system 1112 includes, for example, a kernel 1114, services 1116, and drivers 1122. The kernel 1114 serves as an abstraction layer between the hardware and other software layers. For example, the kernel 1114 provides functions such as memory management, processor management (e.g., scheduling), component management, networking, and security settings. Services 1116 can provide other public services to other software layers. Drivers 1122 are responsible for controlling or interfacing with the underlying hardware. For example, drivers 1122 may include display drivers, camera drivers, or Low-power drivers, Flash drivers, Serial communication drivers (e.g., USB drivers), Drivers, audio drivers, power management drivers, etc.
[0131] The libraries 1110 provide a common low-level infrastructure used by the applications 1106. The libraries 1110 may include a system library 1118 (e.g., a C standard library) that provides functions such as memory allocation functions, string manipulation functions, mathematical functions, etc. In addition, the libraries 1110 may include an API library 1124, such as a media library (e.g., a library for supporting the presentation and manipulation of various media formats, such as Moving Picture Experts Group-4 (MPEG4), Advanced Video Coding (H.264 or AVC), Moving Picture Experts Group Layer-3 (MP3), Advanced Audio Coding (AAC), Adaptive Multi-Rate (AMR) audio codec, Joint Photographic Experts Group (JPEG or JPG), or Portable Network Graphics (PNG)), a graphics library (e.g., an OpenGL framework for presenting in two dimensions (2D) and three dimensions (3D) in graphical content on a display), a database library (e.g., SQLite providing various relational database functions), a web library (e.g., WebKit providing web browsing functions), etc. The library 1110 may also include various other libraries 1128 to provide many other APIs to the application 1106 .
[0132] The framework 1108 provides a common high-level infrastructure used by the applications 1106. For example, the framework 1108 provides various graphical user interface (GUI) functions, high-level resource management, and high-level positioning services. The framework 1108 can provide a wide range of other APIs that can be used by the applications 1106, some of which can be specific to a particular operating system or platform.
[0133] In an example, applications 1106 may include a home application 1136, a contacts application 1130, a browser application 1132, a book reader application 1134, a location application 1142, a media application 1144, a messaging application 1146, a game application 1148, and a variety of other applications such as third-party applications 1140. Applications 1106 are programs that perform functions defined in the program. Various programming languages may be used to create one or more of the applications 1106 structured in various ways, such as an object-oriented programming language (e.g., Objective-C, Java, or C++) or a procedural programming language (e.g., C or assembly language). In a specific example, third-party applications 1140 (e.g., applications created by an entity other than the vendor of a particular platform using ANDROID TM or IOS TM Software Development Kit (SDK) can be used to develop applications on platforms such as IOS TM ANDROID TM , Mobile software running on the mobile operating system of the phone or other mobile operating systems. In this example, the third-party application 1140 can activate the API call 1150 provided by the operating system 1112 to facilitate the functions described herein.
[0134] Glossary
[0135] "Carrier signal" refers to any intangible medium that can store, encode or carry instructions for execution by a machine and includes digital or analog communication signals or other intangible media that facilitates communication of such instructions. Instructions may be sent or received over a network using a transmission medium via a network interface device.
[0136] "Client Device" refers to any machine that interfaces with a communications network to obtain resources from one or more server systems or other client devices. A client device may be, but is not limited to, a mobile phone, a desktop computer, a laptop computer, a portable digital assistant (PDA), a smart phone, a tablet computer, an ultrabook, a netbook, a laptop computer, a multiprocessor system, a microprocessor-based or programmable consumer electronics, a game console, a set-top box, or any other communications device that a user may use to access a network.
[0137] "Communications network" means one or more parts of a network, which may be an ad hoc network, an intranet, an extranet, a virtual private network (VPN), a local area network (LAN), a wireless LAN (WLAN), a wide area network (WAN), a wireless WAN (WWAN), a metropolitan area network (MAN), the Internet, a part of the Internet, a part of the public switched telephone network (PSTN), a plain old telephone service (POTS) network, a cellular telephone network, a wireless network, A network, other type of network, or a combination of two or more such networks. For example, the network or a portion of the network may include a wireless network or a cellular network, and the coupling may be a code division multiple access (CDMA) connection, a global system for mobile communications (GSM) connection, or other type of cellular or wireless coupling. In this example, the coupling may implement any of various types of data transmission technologies, such as single carrier radio transmission technology (1xRTT), evolution data optimized (EVDO) technology, general packet radio service (GPRS) technology, enhanced data rates for GSM evolution (EDGE) technology, the third generation partnership project (3GPP) including 3G, fourth generation wireless (4G) networks, universal mobile telecommunications system (UMTS), high speed packet access (HSPA), world wide interoperability for microwave access (WiMAX), long term evolution (LTE) standards, other data transmission technologies defined by various standard setting organizations, other long distance protocols, or other data transmission technologies.
[0138] "Component" refers to a logic, device or physical entity with boundaries defined by function or subroutine calls, branch points, APIs or other technical definitions that provide partitioning or modularization for specific processing or control functions. Components can be combined with other components via their interfaces to perform machine processing. Components can be packaged functional hardware units designed for use with other components and can be part of a program that generally performs specific functions in related functions. Components can constitute software components (e.g., codes implemented on machine-readable media) or hardware components. "Hardware components" are tangible units that can perform certain operations and can be configured or arranged in a certain physical manner. In various examples, one or more computer systems (e.g., independent computer systems, client computer systems, or server computer systems) or one or more hardware components (e.g., processors or processor groups) of a computer system can be configured by software (e.g., applications or application parts) to operate to perform certain operations described herein. Hardware components can also be implemented mechanically, electronically, or any suitable combination thereof. For example, a hardware component may include a dedicated circuit system or logic that is permanently configured to perform certain operations. The hardware component may be a dedicated processor such as a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC). The hardware component may also include a programmable logic or circuit system that is temporarily configured to perform certain operations by software. For example, the hardware component may include software executed by a general-purpose processor or other programmable processor. Once configured by such software, the hardware component becomes a specific machine (or a specific component of a machine) that is uniquely customized to perform the configured function, and is no longer a general-purpose processor. It will be recognized that it can be determined for cost and time considerations whether to mechanically implement the hardware component in a dedicated and permanently configured circuit system or in a temporarily configured (e.g., configured by software) circuit system to implement the hardware component. Therefore, the phrase "hardware component" (or "hardware-implemented component") should be understood to include a tangible entity, that is, an entity that is physically constructed, permanently configured (e.g., hardwired) or temporarily configured (e.g., programmed) to operate in some way or perform certain operations described herein. Considering an example where a hardware component is temporarily configured (e.g., programmed), it is not necessary to configure or instantiate each hardware component in the hardware component at any one time. For example, in the case where a hardware component includes a general-purpose processor that is configured by software to be a special-purpose processor, the general-purpose processor can be configured into different special-purpose processors (e.g., including different hardware components) at different times. Software accordingly configures one or more specific processors to, for example, constitute a specific hardware component at one time and constitute different hardware components at different times. Hardware components can provide information to other hardware components and receive information from other hardware components. Therefore, the described hardware components can be considered to be communicatively coupled.In the case of multiple hardware components being present at the same time, communication can be achieved by signal transmission between two or more hardware components in the hardware components (for example, by appropriate circuits and buses). In examples where multiple hardware components are configured or instantiated at different times, communication between such hardware components can be achieved, for example, by storing information in a memory structure accessible to multiple hardware components and retrieving information in the memory structure. For example, a hardware component can perform an operation and store the output of the operation in a memory device to which it is communicatively coupled. Then, another hardware component can access the memory device at a subsequent time to retrieve the stored output and process the stored output. The hardware component can also initiate communication with an input device or an output device, and can operate on resources (for example, a collection of information). The various operations of the example methods described herein can be performed at least in part by one or more processors that are temporarily configured (for example, by software) or permanently configured to perform related operations. Whether it is temporarily configured or permanently configured, such a processor can constitute a processor-implemented component that operates to perform one or more operations or functions described herein. As used herein, "processor-implemented components" refer to hardware components implemented using one or more processors. Similarly, the method described in this article can be implemented at least in part by a processor, wherein one or more specific processors are examples of hardware. For example, at least some operations in the operation of the method can be performed by one or more processors 1004 or the parts implemented by the processor. In addition, the one or more processors can also operate to support the execution of related operations in the "cloud computing" environment or as "software as a service" (SaaS) operation. For example, at least some operations in the operation can be performed by a group of computers (as an example of a machine including a processor), wherein these operations can be accessed via a network (for example, the Internet) and via one or more appropriate interfaces (for example, API). The execution of some operations in the operation can be distributed between processors, not only resident in a single machine, but deployed across several machines. In some examples, a processor or a part implemented by a processor can be located in a single geographical location (for example, in a home environment, an office environment or a server group). In other examples, a processor or a part implemented by a processor can be distributed across several geographical locations.
[0139] "Computer-readable storage media" refers to both machine storage media and transmission media. Therefore, these terms include both storage devices / media and carrier / modulated data signals. The terms "machine-readable medium", "computer-readable medium" and "device-readable medium" mean the same thing and can be used interchangeably in this disclosure.
[0140] "Ephemeral messages" are messages that are accessible for a time-limited duration. Ephemeral messages can be text, images, videos, etc. The access time for ephemeral messages can be set by the message sender. Alternatively, the access time can be a default setting or a setting specified by the recipient. Regardless of the setting technique, the message is ephemeral.
[0141] "Machine storage media" refers to a single or multiple storage devices and media (e.g., centralized or distributed databases, and associated caches and servers) that store executable instructions, routines, and data. Thus, the term should be considered to include, but is not limited to, solid-state memory and optical and magnetic media, including memory internal or external to the processor. Specific examples of machine storage media, computer storage media, and device storage media include: non-volatile memory, including, for example, semiconductor memory devices such as erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), FPGA, and flash memory devices; magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The terms "machine storage media", "device storage media", and "computer storage media" mean the same thing and may be used interchangeably in this disclosure. The terms "machine storage media", "computer storage media", and "device storage media" expressly exclude carrier waves, modulated data signals, and other such media, at least some of which are encompassed by the term "signal media".
[0142] “Non-transitory computer-readable storage medium” refers to tangible media capable of storing, encoding, or carrying instructions to be executed by a machine.
[0143] "Signal medium" refers to any intangible medium that can store, encode or carry instructions executed by a machine and includes digital or analog communication signals or other intangible media that facilitate the communication of software or data. The term "signal medium" should be deemed to include any form of modulated data signals, carrier waves, etc. The term "modulated data signal" refers to a signal that has one or more of its characteristics set or changed to encode information in the signal. The terms "transmission medium" and "signal medium" refer to the same thing and can be used interchangeably in this disclosure.
Claims
1. A method, include: receiving, by a processor, a selection of an augmented reality experience within an application on a computer device; causing a set of augmented reality objects associated with the augmented reality experience to be displayed on a graphical user interface (GUI) of the computer device; causing display on the GUI of a text prompt associated with the set of augmented reality objects; receiving gestures and voice commands from the computer device in response to the displayed text prompt; modifying a subset of augmented reality objects of the set of augmented reality objects based on the gesture and the voice command; as well as The modified subset of augmented reality objects is caused to be displayed on the GUI.
2. The method according to claim 1, in, The selection is user input received at the computer device.
3. The method according to claim 1, in, The augmented reality experience is displayed as a selectable user interface element within the application.
4. The method according to claim 1, in, The text prompt is a prompt associated with the gesture and the voice command.
5. The method according to claim 1, in, The text prompt is temporarily displayed on the GUI for a predetermined duration.
6. The method according to claim 1, in, Receiving the gesture further includes: detecting a user's hand using one or more image sensors of the computer device; identifying a set of joint positions of a hand of the user; recognizing a pose based on the set of joint positions; determining the gesture based on the posture; and A first set of modification data is generated based on the determined gesture.
7. The method according to claim 6, in, Receiving the voice command further includes: receiving audio data from one or more microphones of the computer device; analyzing the audio data using a machine learning model trained to recognize keywords in the audio data; and The identified keywords are used to generate a second set of modified data.
8. The method according to claim 7, further comprising: include: The identified keywords are caused to be displayed on the GUI.
9. The method according to claim 7, in, Modifying the subset of augmented reality objects of the set of augmented reality objects further comprises: identifying a subset of the augmented reality objects using the first set of modification data; and The second set of modification data is applied to a subset of the augmented reality objects.
10. The method according to claim 9, in, Identifying the subset of augmented reality objects further comprises: generating a temporary outline of a subset of the augmented reality objects; and The temporary outline of a subset of the augmented reality objects is caused to be displayed.
11. A computing system, include: processor; as well as a memory storing instructions that, when executed by the processor, configure the system to: receiving a selection for an augmented reality experience within an application on a computer device; causing a set of augmented reality objects associated with the augmented reality experience to be displayed on a graphical user interface (GUI) of the computer device; causing display on the GUI of a text prompt associated with the set of augmented reality objects; receiving gestures and voice commands from the computer device in response to the displayed text prompt; modifying a subset of augmented reality objects of the set of augmented reality objects based on the gesture and the voice command; as well as The modified subset of augmented reality objects is caused to be displayed on the GUI.
12. The computing system according to claim 11, in, The selection is user input received at the computer device.
13. The computing system according to claim 11, in, The augmented reality experience is displayed as a selectable user interface element within the application.
14. The computing system according to claim 11, in, The text prompt is a prompt associated with the gesture and the voice command.
15. The computing system of claim 11, in, The text prompt is temporarily displayed on the GUI for a predetermined duration.
16. The computing system of claim 11, in, Receiving the gesture further includes: detecting a user's hand using one or more image sensors of the computer device; identifying a set of joint positions of a hand of the user; recognizing a pose based on the set of joint positions; determining the gesture based on the posture; and A first set of modification data is generated based on the determined gesture.
17. The computing system of claim 16, in, Receiving the voice command further includes: receiving audio data from one or more microphones of the computer device; analyzing the audio data using a machine learning model trained to recognize keywords in the audio data; and The identified keywords are used to generate a second set of modified data.
18. The computing system of claim 17, in, The system is also configured to: The identified keywords are caused to be displayed on the GUI.
19. A non-transitory computer-readable storage medium comprising instructions that, when executed by a computer, cause the computer to: receiving a selection for an augmented reality experience within an application on a computer device; causing a set of augmented reality objects associated with the augmented reality experience to be displayed on a graphical user interface (GUI) of the computer device; causing display on the GUI of a text prompt associated with the set of augmented reality objects; receiving gestures and voice commands from the computer device in response to the displayed text prompt; modifying a subset of augmented reality objects of the set of augmented reality objects based on the gesture and the voice command; as well as The modified subset of augmented reality objects is caused to be displayed on the GUI.
20. The computer-readable storage medium of claim 19, in, The selection is user input received at the computer device.
Citation Information
Patent Citations
Controlling augmented reality effects through multi-modal human interaction
US20230367397A1
Cited By
Man-machine interaction intelligent judgment system
CN119694128A
