System and method for capturing video in real time using image capture device of skeletal gesture system

By real-time identification and response to hand position information in the video and applying virtual effects, the problem of intricate application of virtual effects during video capture is solved, and the detailed visual modification effect is achieved.

CN119135647APending Publication Date: 2024-12-13SNAP INC
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411368929.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2020-06-30
Filing Date
2021-06-30
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

The prior art is difficult to apply virtual effects in real time during video capture, especially in the case of multi-hand position changes, resulting in insufficient granularity of visual modifications.

Method used

The image capture device recognizes the first and second hand position information in the video in real time, and applies the first and second virtual effects responsively, and visual modifications are performed respectively. The second virtual effects are based on the first virtual effects to achieve more detailed granularity control.

Benefits of technology

Real-time and meticulous virtual effect application during video capture is realized, enhancing the visual modification effect of the video, and meeting the visual needs of multi-hand position changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135647A_ABST
    Figure CN119135647A_ABST
Patent Text Reader

Abstract

Systems and methods for capturing video in real time by an image capture device using a skeletal gesture system are presented. The method identifies first hand position information in a video while capturing the video, the first hand position information being identified at a first distance from an image capture device; in response to the identified first hand position information, applying a first virtual effect to the video in real time, the first virtual effect enabling visual modification of the video; identifying second hand position information in the video, the second hand position information being identified at a second distance from the image capture device; and in response to identifying the second hand position information and applying the first virtual effect, applying a second virtual effect to the video while capturing the video, the second virtual effect modifying a granularity of the visual modification associated with the first virtual effect.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of invention patent application No. 202180047149.3, with the application date of June 30, 2021, international application number PCT / US2021 / 039855, and entered the Chinese national stage on December 30, 2022, with the invention name "Skeleton Tracking for Real-time Virtual Effects".

[0002] Priority claim

[0003] This application claims the benefit of priority to U.S. Provisional Patent Application Serial No. 63 / 046,551, filed on June 30, 2020, the entire contents of which are incorporated herein by reference. Technical Field

[0004] The present application generally relates to the technical field of image processing, and in particular, to skeleton tracking for real-time virtual effects. Background Art

[0005] In many videos today, effects such as screen shaking, color correction, etc. are added in post-processing after the video is shot. This is especially prevalent in dance videos that are repeated by different creators. Summary of the invention

[0006] In an embodiment, a method is disclosed, which identifies first-hand position information in a video while capturing the video, the first-hand position information being identified at a first distance from an image capture device; in response to identifying the first-hand position information, applies a first virtual effect to the video in real time, the first virtual effect causing a visual modification to the video; identifies second-hand position information in the video, the second-hand position information being identified at a second distance from the image capture device; and in response to identifying the second-hand position information and applying the first virtual effect, applies the second virtual effect to the video while capturing the video, the second virtual effect modifying the granularity of the visual modification associated with the first virtual effect.

[0007] In an embodiment, a system is disclosed, the system comprising: a processor; and a memory storing instructions, which, when executed by the processor, configure the system to perform operations, the operations comprising: capturing video in real time using an image capture device; identifying first-hand position information in the video while capturing the video, the first-hand position information being identified at a first distance from the image capture device; in response to identifying the first-hand position information, applying a first virtual effect to the video in real time, the first virtual effect causing a visual modification to the video; identifying second-hand position information in the video, the second-hand position information being identified at a second distance from the image capture device; and in response to identifying the second-hand position information and applying the first virtual effect, applying a second virtual effect to the video while capturing the video, the second virtual effect modifying the granularity of the visual modification associated with the first virtual effect.

[0008] In an embodiment, a non-transitory computer-readable storage medium is disclosed, the computer-readable storage medium including instructions, which when executed by a computer cause the computer to perform operations, the operations including: capturing a video in real time using an image capture device; identifying first-hand position information in the video while capturing the video, the first-hand position information being identified at a first distance from the image capture device; in response to identifying the first-hand position information, applying a first virtual effect to the video in real time, the first virtual effect causing a visual modification to the video; identifying second-hand position information in the video, the second-hand position information being identified at a second distance from the image capture device; and in response to identifying the second-hand position information and applying the first virtual effect, applying a second virtual effect to the video while capturing the video, the second virtual effect modifying the granularity of the visual modification associated with the first virtual effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In the drawings, which are not necessarily drawn to scale, like 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. Embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which:

[0010] Figure 1 is a diagrammatic representation of a networked environment in which the present disclosure may be deployed, according to some examples.

[0011] Figure 2 is a diagrammatic representation of a messaging system having both client-side and server-side functionality according to some examples.

[0012] Figure 3 is a diagrammatic representation of data structures maintained in a database according to some examples.

[0013] Figure 4is a graphical representation of messages according to some examples.

[0014] Figure 5 is a flow chart of an access restriction process according to some examples.

[0015] Figure 6 is a flow chart of a method for capturing video in real time via an image capture device according to some examples.

[0016] Figure 7 is an example user behavior flow for a skeletal gesture system according to some examples.

[0017] Figure 8 is an example user behavior flow for a skeletal gesture system according to some examples.

[0018] Fig. 9 is an example user behavior flow for a skeletal gesture system according to some examples.

[0019] Fig.10 is an example user behavior flow for a skeletal gesture system according to some examples.

[0020] Fig.11 is a block diagram illustrating a software architecture in which examples may be implemented.

[0021] Fig.12 is 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. DETAILED DESCRIPTION

[0022] The proposed system and method describe a skeletal gesture system that uses human motion to drive visual effects using augmented reality (AR). For example, the skeletal gesture system detects the user's posture (e.g., how the user's body is positioned and the angles between each joint) to "trigger" a virtual effect. In another example, the skeletal gesture system tracks the user's hands or joints to allow the user to control the level of virtual effects they desire. In one example, the skeletal gesture system detects the user's hands because the user's hands are involved in a reference point for triggering a virtual effect (e.g., if the user moves their hand toward the corner of the camera viewfinder, it will trigger a virtual effect). In another example, the skeletal gesture system detects hand gestures to trigger virtual effects. The skeletal gesture system can also link multiple virtual effects together as a sequence of effects.

[0023] Networked computing environment

[0024] 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 106, each hosting a number of applications, including a messaging client 108. Each messaging client 108 is communicatively coupled to other instances of the messaging client 108 and a messaging server system 104 via a network 102 (e.g., the Internet).

[0025] The messaging client 108 is able to communicate and exchange data with another messaging client 108 and a messaging server system 104 via the network 102. The data exchanged between the messaging clients 108 and between the messaging clients 108 and the messaging server system 104 includes functions (e.g., commands to activate functions) and payload data (e.g., text, audio, video, or other multimedia data).

[0026] The messaging server system 104 provides server-side functionality to specific messaging clients 108 via the network 102. Although certain functions of the messaging system 100 are described herein as being performed by the messaging client 108 or by the messaging server system 104, the location of certain functions within the messaging client 108 or messaging server system 104 may be a design choice. For example, it may be technically preferred to initially deploy certain technologies and functions within the messaging server system 104, but later migrate the technologies and functions to the messaging client 108 where the client device 106 has sufficient processing power.

[0027] The messaging server system 104 supports various services and operations provided to the messaging clients 108. Such operations include sending data to the messaging clients 108, receiving data from the messaging clients 108, and processing data generated by the messaging clients 108. As examples, the data may include message content, client device information, geolocation 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 108.

[0028] Turning now specifically to the messaging server system 104, an application program interface (API) server 112 is coupled to and provides a programming interface to the application server 110. The application server 110 is communicatively coupled to a database server 116, which facilitates access to a database 124 that stores data associated with messages processed by the application server 110. Similarly, a web server 126 is coupled to the application server 110 and provides a web-based interface to the application server 110. To this end, the web server 126 processes incoming network requests via the Hypertext Transfer Protocol (HTTP) and several other related protocols.

[0029] The application program interface (API) server 112 receives and sends message data (e.g., commands and message payloads) between the client device 106 and the application server 110. Specifically, the application program interface (API) server 112 provides a set of interfaces (e.g., routines and protocols) that the messaging client 108 can call or query to activate the functions of the application server 110. An application program interface (API) server 112 exposes various functions supported by application server 110, including: account registration; login functionality; sending messages from a particular messaging client 108 to another messaging client 108 via application server 110; sending media files (e.g., images or videos) from a messaging client 108 to messaging server 114 and for possible access by another messaging client 108; setting up a collection of media data (e.g., a story); retrieving a friend list of a user of client device 106; retrieving such a collection; retrieving messages and content; adding and removing entities (e.g., friends) from an entity graph (e.g., a social graph); locating friends in a social graph; and opening application events (e.g., related to messaging client 108).

[0030] The application server 110 hosts several server applications and subsystems, including, for example, a messaging server 114, an image processing server 118, and a social networking server 120. The messaging server 114 implements several 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 108. As will be described in further detail, text and media content from multiple sources can be aggregated into collections of content (e.g., referred to as stories or galleries). These collections are then made available to the messaging client 108. In view of the hardware requirements for such processing, other processor- and memory-intensive processing of data can also be performed on the server side by the messaging server 114.

[0031] The application server 110 also includes an image processing server 118 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 114 .

[0032] The social network server 120 supports various social networking functions and services and makes these functions and services available to the messaging server 114. To this end, the social network server 120 maintains and accesses the entity graph 308 (e.g., Figure 3 ). Examples of functions and services supported by social network server 120 include identifying other users in messaging system 100 that have a relationship with a particular user or that the particular user is "following," and identifying interests and other entities of a particular user.

[0033] The skeletal gesture system 122 uses the person's movements to drive visual effects using augmented reality. For example, the skeletal gesture system 122 receives a video of the person from an image capture device and recognizes gestures. In response to recognizing the gestures, the skeletal gesture system 122 applies virtual effects to the video in real time.

[0034] System Architecture

[0035] Figure 2 1 is a block diagram showing further details about the messaging system 100 according to some examples. Specifically, the messaging system 100 is shown to include a messaging client 108 and an application server 110. The messaging system 100 contains several subsystems that are supported on the client side by the messaging client 108 and on the server side by the application server 110. These subsystems include, for example, a transient timer system 202, a collection management system 204, an augmentation system 206, a map system 210, and a game system 212, as well as the skeletal gesture system 122.

[0036] The transient timer system 202 is responsible for enforcing temporary or time-limited access to content by the messaging client 108 and the messaging server 114. The transient timer system 202 includes a number of timers that selectively enable access (e.g., for presentation and display) of messages and associated content via the messaging client 108 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 galleries" or "event stories." Such collections can be made available for a specified time period (e.g., the duration of an event to which the content is related). 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 to the user interface of the messaging client 108 that provides notification that a particular collection exists.

[0038] In addition, the collection management system 204 also includes a curation interface 208 that enables collection managers to manage and curate specific collections of content. For example, the curation interface 208 enables an event organizer to curate a collection of content related to a specific event (e.g., to remove inappropriate content or redundant messages). In addition, the collection management system 204 employs machine vision (or image recognition technology) and content rules to automatically curate content collections. In some examples, users may be paid compensation 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 206 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 206 provides functions related to generating and publishing media overlays (media overlays) for messages processed by the messaging system 100. The enhancement system 206 is operable to provide media overlays or enhancements (e.g., image filters) to the messaging client 108 based on the geolocation of the client device 106. In another example, the enhancement system 206 is operable to provide media overlays to the messaging client 108 based on other information such as social network information of the user of the client device 106. 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 106. For example, the media overlay can include text or images that can be overlaid on photos taken by the client device 106. In another example, the media overlay includes a location identification (e.g., Venice Beach) overlay, the name of a live event, or a business name (e.g., Beach Cafe) overlay. In another example, the enhancement system 206 uses the geolocation of the client device 106 to identify a media overlay that includes the name of the business at the geolocation of the client device 106. The media overlay may include other tags associated with the business. The media overlay may be stored in the database 124 and accessed by the database server 116.

[0040] In some examples, the enhancement system 206 provides a user-based publishing platform that enables a user to select a geolocation on a map and upload content associated with the selected geolocation. The user can also specify situations where a particular media overlay should be provided to other users. The enhancement system 206 generates a media overlay that includes the uploaded content and associates the uploaded content with the selected geolocation.

[0041] In other examples, the enhancement system 206 provides a merchant-based publishing platform that enables merchants to select specific media coverage associated with a geographic location via a bidding process. For example, the enhancement system 206 associates the media coverage of the highest bidding merchant 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 108. For example, the mapping system 210 is capable of displaying user icons or avatars (e.g., stored in the profile data 318) 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 these friends within the context of the map. For example, on the map interface of the messaging client 108, messages posted by the user to the messaging system 100 from a specific location can be displayed to the "friends" of the specific user within the context of the specific location on the map. The user can also share his or her location and status information with other users of the messaging system 100 (e.g., using appropriate status avatars) via the messaging client 108, where the location and status information is similarly displayed to the selected user within the context of the mapping interface of the messaging client 108.

[0043] The gaming system 212 provides various gaming functions within the context of the messaging client 108. The messaging client 108 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 108 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 108. The messaging client 108 also supports both voice messaging and text messaging (e.g., chatting) in the context of game play, provides leaderboards for games, and also supports providing in-game rewards (e.g., items).

[0044] Skeletal gesture system 122 uses the motion of a person to drive visual effects using augmented reality. For example, skeletal gesture system 122 receives a video of a person from an image capture device and recognizes gestures. In response to recognizing gestures, skeletal gesture system 122 applies virtual effects to the video in real time. In some examples, skeletal gesture system 122 operates within the context of messaging client 108. In some examples, skeletal gesture system 122 may be supported by application server 110.

[0045] Data Architecture

[0046] Figure 3 is a schematic diagram illustrating a data structure 300 that may be stored in a database 124 of a messaging server system 104 according to some examples. Although the contents of the database 124 are illustrated as including several tables, it will be appreciated that data may be stored in other types of data structures (e.g., as an object-oriented database).

[0047] Database 124 includes message data stored in message table 302. For any particular message, the message data includes at least message sender data, message recipient (or receiver) data, and payload. Figure 4 Additional details regarding information that may be included in a message and included in the message data stored in message table 302 are described.

[0048] The entity table 306 stores entity data and is linked (e.g., by reference) to the entity graph 308 and profile data 318. The entities for which 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 104 stores data may be an identified entity. Each entity is provided with a unique identifier as well as an entity type identifier (not shown).

[0049] The entity graph 308 stores information about the relationships and associations between entities. As examples only, such relationships may be interest-based or activity-based social relationships, professional relationships (e.g., working in a common company or organization).

[0050] The profile data 318 stores multiple types of profile data about a particular entity. Based on the privacy settings specified by the particular entity, the profile data 318 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 318 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. A particular user can then selectively include one or more of these avatar representations in the content of messages transmitted via the messaging system 100 and on a map interface displayed to other users by the messaging client 108. The collection of avatar representations can include a "status avatar" that presents a graphical representation of the state or activity that a user may choose to communicate at a particular time.

[0051] Where the entity is a group, the profile data 318 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).

[0052] Database 124 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).

[0053] In one example, a filter is an overlay displayed as an overlay on an image or video during presentation to a recipient user. The filter can be of various types, including a filter selected by a user from a set of filters presented to a sending user by the messaging client 108 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 the messaging client 108 within a user interface based on geolocation information determined by a global positioning system (GPS) unit of the client device 106.

[0054] Another type of filter is a data filter, which can be selectively presented to the sending user by the messaging client 108 based on other input or information collected during the message creation process by the client device 106. 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 106, or the current time.

[0055] 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 sounds that may be added to an image or video.

[0056] As described above, augmented data includes augmented reality content items, overlays, image transformations, AR images, and similar terms refer to modifications that can be applied to image data (e.g., videos or images). This includes real-time modifications that modify the image when it is captured using the device sensor (e.g., one or more cameras) of the client device 106 and then display the image on the screen of the client device 106 with the modification. This also includes modifications to stored content, such as modifications to video clips in a gallery that can be modified. For example, in a client device 106 that can access 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 motion 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 106 will modify the captured data. Such data may simply be displayed on the screen without being stored in memory, or content captured by the device sensors may be recorded and stored in memory with or without modification (or both). In some systems, a preview function may simultaneously display how different augmented reality content items will look in different windows of the display. For example, this may enable viewing multiple windows with different pseudo-random animations on the display at the same time.

[0057] Thus, various systems using augmented reality content items or other such transformation systems and data that use the data to modify content may involve detection of objects (e.g., faces, hands, bodies, cats, dogs, surfaces, objects, etc.) in video frames, tracking of these objects as they leave the field of view, enter the field of view, and move around the field of view, and modification or transformation of these objects as they are tracked. In various embodiments, different methods for implementing such transformations may be used. Some examples may involve generating a 3-dimensional mesh model of one or more objects, and using transformations and animated textures of the model within the video to implement the transformation. 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 video frames may be used to place images, models, or textures in content (e.g., images or video frames). Thus, augmented reality content items refer to both images, models, and textures used to create transformations in content, as well as additional modeling and analysis information required to implement such transformations through object detection, tracking, and placement.

[0058] Real-time video processing can be performed using any type of video data (e.g., video stream, video file) stored in the memory of any type of computerized system. For example, a user can load a video file and save it in the memory of the device, or a video stream can be generated using the device's sensors. In addition, any object, such as a human face and parts of a human body, an animal, or a non-living thing (such as a chair, a car, or other objects) can be processed using computer animation models.

[0059] In some examples, when a specific modification is selected together with the content to be transformed, the element to be transformed is identified by the computing device, and then if the element to be transformed is present in the frame of the video, it is detected and tracked. The elements of the object are modified according to the modification request, thereby transforming the frame of the video stream. For different kinds of transformations, the transformation of the frame of the video stream can be performed by different methods. For example, for the transformation of the frame that mainly refers to the form of the elements of the object to be changed, the feature points of each element of the object are calculated (for example, using the active shape model (ASM) or other known methods). Then, a grid based on the feature points is generated for each of at least one element of the object. The grid is used for the subsequent stage of tracking the elements of the object in the video stream. During the tracking process, the grid of each element mentioned is aligned with the position of each element. Then, additional points are generated on the grid. A first set of first points is generated for each element based on the modification request, and a set of second points is generated for each element based on the set of first points and the modification request. Then, the frame of the video stream can be transformed by modifying the elements of the object based on the set of first points and the set of second points and the grid. In this method, the background of the modified object can also be changed or deformed by tracking and modifying the background.

[0060] In some examples, a transformation that changes some areas of an object using the elements of an object can be performed by calculating feature points of 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 are generated based on these points. Then, the elements of the object are tracked by aligning the area of ​​each element with the position of each of at least one element, and the properties of the area can be modified based on the request for modification, thereby converting 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 modification request; and modifying or deforming the elements of the area or object. In various embodiments, any combination of such modifications or other similar modifications may be used. For certain models to be animated, some feature points can be selected as control points for determining the entire state space of options for model animation.

[0061] 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.

[0062] In other examples, other methods and algorithms suitable for face detection can be used. For example, in some embodiments, landmarks are used to locate features, which represent distinguishable points that are present in most of the images considered. For example, for facial landmarks, the location of the left pupil can be used. If the initial landmarks are not recognizable (for example, if the person has an eye patch), 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 average shape is the average of the aligned training shapes.

[0063] In some examples, the landmark search begins with an average shape that aligns with the position and size of the face determined by a global face detector. Such a search then repeats the steps of suggesting tentative shapes by adjusting the positions of shape points by template matching of the image texture around each point, and then conforming the tentative shapes to the 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 resolution to fine resolution.

[0064] The transformation system can capture an image or video stream on a client device (e.g., client device 106) and perform complex image manipulations locally on the client device 106 while maintaining an appropriate user experience, computational time, and power consumption. Complex image manipulations can include size and shape changes, emotion transformations (e.g., changing a face from a frown to a smile), state transitions (e.g., aging an object, reducing apparent age, changing gender), style transfer, application of graphical elements, and any other suitable image or video manipulations enabled by a convolutional neural network that has been configured to execute efficiently on the client device 106.

[0065] 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 106 having a neural network that operates as part of a messaging client 108 operating on the client device 106. A transformation system operating within the messaging client 108 determines the presence of a face in 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 in association with an interface described herein. The modification icon includes the following changes, which can be the basis for modifying the user's face in 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 106. 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, once a modification icon is selected, the user can capture an image or video stream and be presented with the modification results in real time or near real time. In addition, when 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.

[0066] The graphical user interface presenting the modifications performed by the transformation system can provide additional interactive options for the user. Such options can be based on the interface for initiating content capture and selection of a specific computer animation model (e.g., initiated from a content creator user interface). In various embodiments, the modification can be persistent after the initial selection of the modification icon. The user can turn the modification on or off by tapping or otherwise selecting the face modified by the transformation system, and store it for later viewing or browsing to other areas of the imaging application. In the case of multiple faces modified by the transformation system, the user can globally turn the modification on or off by tapping or selecting a single face modified and displayed in the graphical user interface. In some embodiments, each face in a group of multiple faces can be modified individually by tapping or selecting a single face or a series of faces displayed in the graphical user interface, or such modifications can be switched individually.

[0067] The story table 314 stores data about a collection of messages and associated images, videos, or audio data that are compiled into a collection (e.g., a story or gallery). The creation of a particular collection can be initiated by a particular user (e.g., each user whose record is stored 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 108 may include a user-selectable icon to enable the sending user to add specific content to his or her personal story.

[0068] The collection may also constitute a "live story" as a collection of content from multiple users, the content being 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 different 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 108. Live stories may be identified to a user by the messaging client 108 based on his or her location. The end result is a "live story" told from a group perspective.

[0069] Another type of content collection is called a "location story," which enables users whose client devices 106 are located within 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).

[0070] As mentioned above, the video table 304 stores video data, which in one example is associated with a message whose record is stored in the message table 302. Similarly, the image table 312 stores image data, which is 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.

[0071] Database 124 may also store gesture information in gesture table 316. Gesture table 316 may be associated with various enhancements from enhancement table 310.

[0072] Data communication architecture

[0073] Figure 4is a schematic diagram illustrating the structure of a message 400 according to some examples, the message 400 being generated by a messaging client 108 for transmission to another messaging client 108 or a messaging server 114. The content of a particular message 400 is used to populate a message table 302 stored in a database 124, which is accessible by a messaging server 114. Similarly, the content of the message 400 is stored in memory as "in-flight" or "in-flight" data of a client device 106 or an application server 110. The message 400 is illustrated as including the following example components:

[0074] Message identifier 402 : a unique identifier that identifies the message 400 .

[0075] Message text payload 404 : Text to be generated by a user via the user interface of the client device 106 and included in the message 400 .

[0076] Message image payload 406 : image data captured by a camera component of the client device 106 or retrieved from a memory component of the client device 106 and included in the message 400 . The image data of a sent or received message 400 may be stored in the image table 312 .

[0077] Message video payload 408 : Video data captured by the camera component or retrieved from the memory component of the client device 106 and included in the message 400 . The video data of the message 400 sent or received may be stored in the video table 304 .

[0078] Message audio payload 410 : audio data captured by a microphone or retrieved from a memory component of the client device 106 and included in the message 400 .

[0079] 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.

[0080] Message duration parameter 414: A parameter value indicating the amount of time in seconds that the content of the message (e.g., message image payload 406, message video payload 408, message audio payload 410) will be presented to or made accessible to the user via the messaging client 108.

[0081] 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, with each of these parameter values ​​being associated with a content item included in the content (e.g., a specific image within a message image payload 406 or a specific video in a message video payload 408).

[0082] Message story identifier 418: An identifier value that identifies one or more content collections (e.g., "stories" identified in story table 314) with which a particular content item in message image payload 406 of message 400 is associated. For example, multiple images within message image payload 406 may each be associated with multiple content collections using an identifier value.

[0083] 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 indicating the relevant animal may be included in the message tags 420. The tag values ​​may be manually generated based on user input, or may be automatically generated using, for example, image recognition.

[0084] • 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 106 on which the message 400 was generated and from which the message 400 was sent.

[0085] • Message recipient identifier 424: An identifier (eg, a messaging system identifier, an email address, or a device identifier) ​​that indicates the user of the client device 106 to which the message 400 is addressed.

[0086] The content (e.g., value) of the various components of message 400 may be pointers to locations in a table in which the content data values ​​are stored. For example, the image value in message image payload 406 may be a pointer (or address) to a location in image table 312. Similarly, the value in message video payload 408 may point to data stored in video table 304, the value stored in message enhancement 412 may point to data stored in enhancement table 310, the value stored in message story identifier 418 may point to data stored in story table 314, and the values ​​stored in message sender identifier 422 and message recipient identifier 424 may point to user records stored in entity table 306.

[0087] Time-based access restriction architecture

[0088] Figure 5 is a schematic diagram illustrating an access restriction process 500, according to which access to content (e.g., a multimedia payload of an ephemeral message 502 and associated data) or a collection of content (e.g., an ephemeral message group 504) can be time-restricted (e.g., made ephemeral).

[0089] The ephemeral message 502 is shown associated with a message duration parameter 506, the value of which determines the amount of time that the messaging client 108 will display the ephemeral message 502 to the receiving user of the ephemeral message 502. In one example, the receiving user may view the ephemeral message 502 for up to 10 seconds, depending on the amount of time specified by the sending user using the message duration parameter 506.

[0090] The message duration parameter 506 and the message recipient identifier 424 are shown as inputs to a message timer 510, which is responsible for determining the amount of time that the transient message 502 is shown to a particular receiving user identified by the message recipient identifier 424. In particular, the transient message 502 is shown to the associated receiving user only for a period of time determined by the value of the message duration parameter 506. The message timer 510 is shown as providing an output to a more general transient timer system 202, which is responsible for the overall timing of displaying content (e.g., the transient message 502) to the receiving user.

[0091] Figure 5 502 is included in a transient message group 504 (e.g., a collection of messages in a personal story or an event story). The transient message group 504 has an associated group duration parameter 508, the value of which determines the duration for which the transient message group 504 is presented and accessible to users of the messaging system 100. For example, the group duration parameter 508 may be the duration of a concert, wherein the transient message group 504 is a collection of content related to the concert. Alternatively, a user (an owning user or a curator user) may specify a value for the group duration parameter 508 when performing setup and creation of the transient message group 504.

[0092] In addition, each ephemeral message 502 within the ephemeral message group 504 has an associated group participation parameter 512, the value of which determines the duration for which the ephemeral message 502 will be accessible within the context of the ephemeral message group 504. Thus, a particular ephemeral message group 504 may "expire" and become inaccessible within the context of the ephemeral message group 504 before the ephemeral message group 504 itself expires according to the group duration parameter 508. The group duration parameter 508, the group participation parameter 512, and the message recipient identifier 424 each provide inputs to a group timer 514, which is operable to first determine whether a particular ephemeral message 502 of the ephemeral message group 504 is to be displayed to a particular receiving user, and if so, how long to display it. Note that the identity of the particular receiving user is also known to the ephemeral message group 504 due to the message recipient identifier 424.

[0093] Thus, the group timer 514 is operable to control the total life span of the associated ephemeral message group 504 and the individual ephemeral messages 502 included in the ephemeral message group 504. In one example, each ephemeral message 502 within the ephemeral message group 504 remains viewable and accessible for a period of time specified by the group duration parameter 508. In another example, within the context of the ephemeral message group 504, a particular ephemeral message 502 may expire based on the group participation parameter 512. Note that even within the context of the ephemeral message group 504, the message duration parameter 506 may still determine the duration for which a particular ephemeral message 502 is displayed to a receiving user. Thus, the message duration parameter 506 determines the duration for which a particular ephemeral message 502 is displayed to a receiving user, regardless of whether the receiving user is viewing the ephemeral message 502 within or outside the context of the ephemeral message group 504.

[0094] The transient timer system 202 may also be operable to remove a particular transient message 502 from the transient message group 504 based on determining that the particular transient message 502 has exceeded the associated group participation parameter 512. For example, when the sending user has established a group participation parameter 512 of 24 hours from posting, the transient timer system 202 will remove the associated transient message 502 from the transient message group 504 after the specified 24 hours. The transient timer system 202 is also operable to remove a transient message group 504 when the group participation parameter 512 for each transient message 502 within the transient message group 504 has expired, or when the transient message group 504 itself has expired according to the group duration parameter 508.

[0095] In some use cases, the creator of a particular ephemeral message group 504 may specify an indefinite group duration parameter 508. In this case, the expiration of the group participation parameter 512 for the last remaining ephemeral message 502 within the ephemeral message group 504 will determine when the ephemeral message group 504 itself expires. In this case, a new ephemeral message 502 with a new group participation parameter 512 added to the ephemeral message group 504 effectively extends the life of the ephemeral message group 504 to equal the value of the group participation parameter 512.

[0096] In response to the transient timer system 202 determining that the transient message group 504 has expired (e.g., is no longer accessible), the transient timer system 202 communicates with the messaging system 100 (and, for example, in particular, the messaging client 108) to cause the indicia (e.g., icon) associated with the relevant transient message group 504 to no longer be displayed within the user interface of the messaging client 108. Similarly, when the transient timer system 202 determines that the message duration parameter 506 for a particular transient message 502 has expired, the transient timer system 202 causes the messaging client 108 to no longer display the indicia (e.g., icon or text identification) associated with the transient message 502.

[0097] Figure 6 is an example method for using human gesture information to drive virtual effects in real time. Although the described flowcharts may show the operations as sequential processing, many operations may be performed in parallel or simultaneously. In addition, the order of the operations may be rearranged. A process terminates when its operations are completed. A process may correspond to a method, a procedure, an algorithm, etc. The operations of a 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 (such as the systems described herein) or any part thereof (such as a processor included in any system).

[0098] In operation 602, the skeletal gesture system 122 identifies first gesture information in a video during capture of the video by an image capture device. The first gesture information includes a first plurality of joint positions of a person depicted in the video. It should be understood that the first gesture information may also include, for example, gesture information of an animal, a face, or an animated creature or an avatar. At operation 604, in response to identifying the first gesture information, the skeletal gesture system 122 applies a first virtual effect to the video. The first virtual effect may be an augmented reality content item. Additional details about the augmented reality content item may be combined with the above Figure 3 A first virtual effect is applied to the video in real time or near real time while the video is being captured.

[0099] At operation 606, the skeletal gesture system 122 identifies second gesture information in the video. For example, the second gesture information is a second plurality of joint positions of a person depicted in the video. The second gesture information is different from the first gesture information. In addition, the second gesture information is identified at a time point after the first gesture information is identified. For example, the second gesture information includes a new joint position of the person (e.g., the person has moved, or the person is performing a different gesture). At operation 608, in response to identifying the second gesture information, the skeletal gesture system 122 applies a second virtual effect to the video. The second virtual effect may be a second augmented reality content item. The second virtual effect is based on the first virtual effect. For example, the second virtual effect may be applied only after the first visual effect. In some examples, the second virtual effect describes a lower level of granularity of the first visual effect. In another example, the second virtual effect enhances the first virtual effect. For example, the first virtual effect may add a color filter to the video during the capture of the video. The second virtual effect may darken or lighten the color of the video applied by the first virtual effect based on the second gesture information.

[0100] In some examples, skeletal gesture system 122 stores a modified video including a first visual effect and a second visual effect, and sends the video as a transient message to a computing device. The modified video includes a first virtual effect appearing at a first time point in the video and a second virtual effect appearing at a second time point in the video.

[0101] In some examples, skeletal gesture system 122 identifies a hand in the video.Skeletal gesture system 122 tracks the movement of the hand in the video from a first position to a second position, and modifies the granularity level of the first visual effect based on the tracked movement of the hand.

[0102] Figure 7702. It is an example user behavior flow of the skeletal gesture system 122 according to some examples. For example, when the user shows his left hand, the skeletal gesture system 122 identifies the left hand (operation 702). If the user moves the hand up or down, the skeletal gesture system 122 applies such a virtual effect that changes the opacity of the video captured by the image capture device by increasing the opacity (e.g., based on detecting each time the user moves the hand up in operation 706) or reducing the opacity (e.g., based on detecting each time the user moves the hand down in operation 708) (operation 704). If the user moves the hand to the left or right, the skeletal gesture system 122 applies such a virtual effect that changes the saturation level in the video by increasing the saturation (e.g., based on detecting each time the hand is moved to the right in operation 714) or reducing the saturation (e.g., based on detecting each time the hand is moved to the left in operation 712) (operation 710). When the user shows his right hand, the skeletal gesture system 122 identifies the right hand (operation 716). Similarly, if the user moves his hand up or down, the skeletal gesture system 122 applies a virtual effect that changes the opacity of the video captured by the image capture device by increasing the opacity (e.g., based on detecting that the user moves his hand up each time operation 720) or decreasing the opacity (e.g., based on detecting that the user moves his hand down each time operation 722) (operation 718). If the user moves his hand left or right, the skeletal gesture system 122 applies a virtual effect that changes the saturation level in the video by increasing the saturation (e.g., based on detecting that the user moves his hand right each time operation 728) or decreasing the saturation (e.g., based on detecting that the user moves his hand left each time operation 726) (operation 724).

[0103] Figure 8 804) or move her hand downward (operation 806) to change the opacity. For example, at operation 804, the user can move her hand upward to increase the opacity. Then, at operation 808, the user can again show that her left hand is in a static position. This indicates to the skeletal gesture system 122 that the user wants to maintain the increased opacity effect on the video. After her left hand is shown in a static position again at operation 808, the user can move her hand to the left (operation 810) or move her hand to the right (operation 812) to change the saturation. Therefore, the skeletal gesture system 122 can use the user to move to increase the opacity of the video and increase the saturation of the modified video.

[0104] Fig. 9is an example of a user behavior flow in the skeletal gesture system 122 according to some examples. For example, if the user claps (operation 902) in the upper right of the camera view (e.g., the upper right portion in the camera view of the image capture device per operation 904), the skeletal gesture system 122 applies a "screen shake" and a red filter to the video. For example, the screen shake effect increases the blur and shake of the entire screen displayed within the graphical user interface of the image capture device. When the skeletal gesture system 122 is capturing the video using the image capture device, the skeletal gesture system 122 applies the screen shake and the red filter in real time. If the user claps (operation 906) a second time in the upper left of the camera view (operation 908), the skeletal gesture system 122 applies the "screen shake" effect and a blue filter. If the user claps (operation 910) a third time in the lower right of the camera view (operation 912), the skeletal gesture system 122 applies a green filter and a "screen shake" effect. If the user claps a fourth time (operation 914) at the bottom left of the camera view (operation 916), the skeletal gesture system 122 applies a "screen shake" effect to the video and applies a yellow filter. If the user moves to the left side of the camera view (operation 918), the skeletal gesture system 122 applies a virtual track to the left side of the camera view. If the user walks backward (operation 920) away from the camera (e.g., image capture device), the skeletal gesture system 122 applies a virtual track in front of the user. If the user jumps (operation 922), the skeletal gesture system 122 applies an augmented reality effect that causes virtual confetti to fall on the user. If the user stomps his left foot (operation 926), the skeletal gesture system 122 applies a screen shift effect that shifts the screen to the left. If the user stomps his right foot (operation 924), the skeletal gesture system 122 applies a screen shift effect that shifts the screen to the right. In some examples, Fig. 9 The user behavior flow in the example may be initiated when the skeletal gesture system 122 recognizes an audio cue. For example, the skeletal gesture system 122 may initiate the user behavior flow after recognizing a particular song or a particular part of a song. Fig. 9 Therefore, according to the user's posture, the skeleton posture system 122 applies different virtual effects. In addition, the applied virtual effects are intuitive to the user's posture.

[0105] Fig.10 1004. is an example of a user behavior flow in the skeletal gesture system 122. The skeletal gesture system 122 may be used in the context of a gaming application. For example, if a user successfully replicates a first gesture 1002 displayed on a graphical user interface of a client device, the skeletal gesture system 122 generates a puzzle 1004. To solve the puzzle, the user may need to perform a second gesture 1006. If the user successfully performs the second gesture, the skeletal gesture system 122 determines that the user has won the game 1008.

[0106] Software Architecture

[0107] Fig.11 1100 is a block diagram illustrating a software architecture 1104 that can 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 can be conceptualized as a stack of layers in which 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.

[0108] The operating system 1112 manages hardware resources and provides public services. The operating system 1112 includes, for example, a kernel 1114, a service 1116, and a driver 1122. The kernel 1114 acts as an abstraction layer between the hardware layer and other software layers. For example, the kernel 1114 provides memory management, processor management (e.g., scheduling), component management, network and security settings, and other functions. The service 1116 can provide other public services to other software layers. The driver 1122 is responsible for controlling the underlying hardware or interfacing with the underlying hardware. For example, the driver 1122 may include a display driver, a camera driver, or Low-power drivers, Flash drivers, Serial communication drivers (e.g., USB drivers), Drivers, audio drivers, power management drivers, etc.

[0109] The libraries 1110 provide a common low-level infrastructure used by the applications 1106. The libraries 1110 may include system libraries 1118 (e.g., C standard libraries) that provide functions such as memory allocation functions, string manipulation functions, mathematical functions, etc. In addition, the libraries 1110 may include API libraries 1124, such as media libraries (e.g., libraries for supporting 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)), graphics libraries (e.g., OpenGL framework for presentation in two dimensions (2D) and three dimensions (3D) in graphics content on a display), database libraries (e.g., SQLite providing various relational database functions), web libraries (e.g., WebKit providing web browsing functions), etc. The library 1110 may also include a variety of other libraries 1128 to provide many other APIs to the application 1106 .

[0110] 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.

[0111] 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 execute functions defined in the program. Various programming languages ​​may be used to create one or more of the applications 1106 constructed 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 entities 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, third-party applications 1140 can activate API calls 1150 provided by the operating system 1112 to facilitate the functions described herein.

[0112] Machine Architecture

[0113] Fig.12 1200 within which instructions 1210 (e.g., software, programs, applications, applet, app, or other executable code) may be executed for causing the machine 1200 to perform any one or more of the methods discussed herein. For example, the instructions 1210 may cause the machine 1200 to perform any one or more of the methods described herein. The instructions 1210 convert a general-purpose, non-programmed machine 1200 into a specific machine 1200 that is programmed to perform the functions described and illustrated in the manner described. The machine 1200 may operate as a standalone device or may be coupled (e.g., networked) to other machines. In a networked deployment, the machine 1200 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 1200 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 appliance, a network router, a network switch, a network bridge, or any machine capable of sequentially or otherwise executing instructions 1210 specifying actions to be taken by the machine 1200. In addition, although only a single machine 1200 is shown, the term "machine" should also be construed to include a collection of machines that individually or jointly execute instructions 1210 to perform any one or more of the methods discussed herein. For example, the machine 1200 may include any of the client device 106 or a number of server devices that form part of the messaging server system 104. In some examples, the machine 1200 may also include both a client and server system, where 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.

[0114] The machine 1200 may include a processor 1204, a memory 1206, and an input / output (I / O) component 638 that may be configured to communicate with each other via a bus 1240. In an example, the processor 1204 (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 1208 that executes instructions 1210 and a processor 1212. The term "processor" is intended to include a multi-core processor that may include two or more independent processors (sometimes referred to as "cores") that may execute instructions simultaneously. Although Fig.12 Multiple processors 1204 are shown, but the machine 1200 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.

[0115] The memory 1206 includes a main memory 1214, a static memory 1216, and a storage unit 1218 that can be accessed by the processor 1204 via the bus 1240. The main memory 1206, the static memory 1216, and the storage unit 1218 store instructions 1210 that implement any one or more of the methods or functions described herein. The instructions 1210 may also reside, completely or partially, within the main memory 1214, within the static memory 1216, within the machine-readable medium 1220 within the storage unit 1218, within at least one of the processors 1204 (e.g., within a cache memory of a processor), or within any suitable combination thereof during execution thereof by the machine 1200.

[0116] I / O components 1202 may include a variety of components for receiving input, providing output, generating output, sending information, exchanging information, capturing measurements, etc. The specific I / O components 1202 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 be less likely to include such a touch input device. It will be appreciated that I / O components 1202 may include Fig.121202. In various examples, the I / O components 1202 may include a user output component 1226 and a user input component 1228. The user output component 1226 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 1228 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 that provides the location and force of a touch or touch gesture, or other tactile input component), an audio input component (e.g., a microphone), etc.

[0117] In other examples, the I / O component 1202 may include a biometric component 1230, a motion component 1232, an environmental component 1234, or a positioning component 1236, as well as various other components. For example, the biometric component 1230 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, sweating, or brain waves), identifying people (e.g., voice recognition, retinal recognition, facial recognition, fingerprint recognition, or EEG-based recognition), etc. The motion component 1232 includes an acceleration sensor component (e.g., an accelerometer), a gravity sensor component, and a rotation sensor component (e.g., a gyroscope).

[0118] Environmental components 1234 include, for example, one or more cameras (with still image / photo and video capabilities), an illumination sensor component (e.g., a photometer), a temperature sensor component (e.g., one or more thermometers that detect ambient temperature), a humidity sensor component, a pressure sensor component (e.g., a barometer), an acoustic sensor component (e.g., one or more microphones that detect background noise), a proximity sensor component (e.g., an infrared sensor that detects nearby objects), a gas sensor (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.

[0119] With respect to cameras, client device 106 can have a camera system including, for example, a front-facing camera on a front surface of client device 106 and a rear-facing camera on a rear surface of client device 106. The front-facing camera can, for example, be used to capture still images and videos of a user of client device 106 (e.g., a "selfie"), which can then be enhanced with the enhancement data (e.g., filters) described above. For example, the rear-facing camera can be used to capture still images and videos in a more traditional camera mode, which are similarly enhanced using the enhancement data. In addition to the front-facing camera and the rear-facing camera, client device 106 can also include a 360° camera for capturing 360° photos and videos.

[0120] Additionally, the camera system of the client device 106 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 106. 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.

[0121] The positioning component 1236 includes a position sensor component (e.g., a GPS receiver component), an altitude sensor component (e.g., an altimeter or a barometer that detects air pressure that can obtain the altitude), an orientation sensor component (e.g., a magnetometer), and the like.

[0122] A variety of technologies may be used to implement communications. The I / O components 1202 also include a communication component 1238 that is operable to couple the machine 1200 to the network 1222 or device 1224 via a corresponding coupling or connection. For example, the communication component 1238 may include a network interface component or another suitable device to interface with the network 1222. In other examples, the communication component 1238 may include a wired communication component, a wireless communication component, a cellular communication component, a near field communication (NFC) component, Parts (e.g. Low power consumption), Device 1224 may be any peripheral device (eg, a peripheral device coupled via USB) from another machine or a variety of peripheral devices.

[0123] In addition, the communication component 1238 can detect an identifier or include a component operable to detect an identifier. For example, the communication component 1238 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, 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 derived via the communication component 1238, such as a location via Internet Protocol (IP) geolocation, a location via Internet Protocol (IP), ... The location of signal triangulation, the location of an NFC beacon signal via detection that can indicate a specific location, etc.

[0124] Various memories (e.g., main memory 1214, static memory 1216, and memory of processor 1204) and storage unit 1218 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. These instructions (e.g., instructions 1210) when executed by processor 1204 cause various operations to implement the disclosed examples.

[0125] The instructions 1210 may be sent or received via a network interface device (e.g., a network interface component included in the communication component 1238) using a transmission medium and using any of several well-known transmission protocols (e.g., Hypertext Transfer Protocol (HTTP)) over the network 1222. Similarly, the instructions 1210 may be sent or received via a coupling (e.g., a peer-to-peer coupling) to the device 1224 using a transmission medium.

[0126] In addition, the technology of the present disclosure may also be configured as follows:

[0127] Solution 1. A method for capturing video in real time by an image capture device, comprising:

[0128] recognizing first posture information in the video while capturing the video;

[0129] In response to recognizing the first gesture information, applying a first virtual effect to the video;

[0130] identifying second posture information in the video, the second posture information being identified after the first posture information; and

[0131] In response to recognizing the second gesture information, applying a second virtual effect to the video while capturing the video, the second virtual effect being based on the first virtual effect.

[0132] Option 2. A method according to Option 1, wherein the first posture information represents a first plurality of joint positions of a person depicted in the video.

[0133] Option 3. A method according to Option 1, wherein the second posture information represents a second plurality of joint positions of the person depicted in the video.

[0134] Option 4. The method according to Option 1, wherein the first virtual effect is a first augmented reality content item.

[0135] Option 5. The method of Option 4, wherein the first augmented reality content item is applied to the video in real time during capture.

[0136] Option 6. The method according to Option 1, wherein the second virtual effect is a second augmented reality content item.

[0137] Solution 7. The method according to Solution 1 further includes:

[0138] storing the video including the first virtual effect at a first time and the second virtual effect at a second time; and

[0139] The video is sent to a computing device as a transient message.

[0140] Solution 8. The method according to Solution 1, wherein identifying the first posture information further comprises:

[0141] identifying a hand in the video;

[0142] tracking movement of the hand from a first position to a second position; and

[0143] A level of granularity of the first virtual effect is modified based on the tracked movement of the hand.

[0144] Solution 9. A system comprising:

[0145] Processor; and

[0146] a memory storing instructions that, when executed by the processor, configure the system to perform operations comprising:

[0147] Use an image capture device to capture video in real time;

[0148] recognizing first posture information in the video while capturing the video;

[0149] In response to recognizing the first gesture information, applying a first virtual effect to the video;

[0150] identifying second posture information in the video, the second posture information being identified after the first posture information; and

[0151] In response to recognizing the second gesture information, applying a second virtual effect to the video while capturing the video, the second virtual effect being based on the first virtual effect.

[0152] Option 10. A system according to Option 9, wherein the first posture information represents a first plurality of joint positions of a person depicted in the video.

[0153] Option 11. A system according to Option 9, wherein the second posture information represents a second plurality of joint positions of the person depicted in the video.

[0154] Option 12. A system according to Option 9, wherein the first virtual effect is a first augmented reality content item.

[0155] Option 13. A system according to Option 12, wherein the first augmented reality content item is applied to the video in real time during capture.

[0156] Option 14. A system according to Option 9, wherein the second virtual effect is a second augmented reality content item.

[0157] Solution 15. The system according to Solution 9, wherein the operation further comprises:

[0158] storing the video including the first virtual effect at a first time and the second virtual effect at a second time; and

[0159] The video is sent to a computing device as a transient message.

[0160] Solution 16. The system according to Solution 9, wherein identifying the first posture information further comprises:

[0161] identifying a hand in the video;

[0162] tracking movement of the hand from a first position to a second position; and

[0163] A level of granularity of the first virtual effect is modified based on the tracked movement of the hand.

[0164] Solution 17. A non-transitory computer-readable storage medium, the computer-readable storage medium comprising instructions, the instructions, when executed by a computer, causing the computer to perform operations, the operations comprising:

[0165] Use an image capture device to capture video in real time;

[0166] recognizing first posture information in the video while capturing the video;

[0167] In response to recognizing the first gesture information, applying a first virtual effect to the video;

[0168] identifying second posture information in the video, the second posture information being identified after the first posture information; and

[0169] In response to recognizing the second gesture information, applying a second virtual effect to the video while capturing the video, the second virtual effect being based on the first virtual effect.

[0170] Option 18. A computer-readable storage medium according to Option 17, wherein the first posture information represents a first plurality of joint positions of a person depicted in the video.

[0171] Option 19. A computer-readable storage medium according to Option 17, wherein the second posture information represents a second plurality of joint positions of the person depicted in the video.

[0172] Option 20. A computer-readable storage medium according to Option 17, wherein the first virtual effect is a first augmented reality content item.

Claims

1. A method comprising: identifying first hand position information in the video while capturing the video, the first hand position information being identified at a first distance from the image capture device; In response to identifying the first hand position information, applying a first virtual effect to the video in real time, the first virtual effect causing a visual modification to the video; identifying second-hand position information in the video, the second-hand position information being identified at a second distance from the image capture device; as well as In response to identifying the second hand position information and applying the first virtual effect, applying a second virtual effect to the video while capturing the video, the second virtual effect modifying a granularity of the visual modification associated with the first virtual effect.

2. The method according to claim 1, wherein: The first hand position information represents a first plurality of joint positions of a person depicted in the video.

3. The method according to claim 1, wherein: The second hand position information represents a second plurality of joint positions of a person depicted in the video.

4. The method according to claim 1, wherein: The first virtual effect is a first augmented reality content item.

5. The method according to claim 4, wherein: The first augmented reality content item is applied to the video in real-time during capture.

6. The method according to claim 1, wherein: The second virtual effect is a second augmented reality content item.

7. The method according to claim 1, further comprising: storing the video including the first virtual effect at a first time and the second virtual effect at a second time; as well as The video is sent to a computing device as a transient message.

8. The method according to claim 1, wherein: Identifying the first-hand location information further includes: identifying a hand in the video; tracking movement of the hand from a first position to a second position; and A level of granularity of the first virtual effect is modified based on the tracked movement of the hand.

9. A system comprising: processor; as well as a memory storing instructions that, when executed by the processor, configure the system to perform operations comprising: Capture video in real time using an image capture device; identifying first hand position information in the video while capturing the video, the first hand position information being identified at a first distance from the image capture device; In response to identifying the first hand position information, applying a first virtual effect to the video in real time, the first virtual effect causing a visual modification to the video; identifying second-hand position information in the video, the second-hand position information being identified at a second distance from the image capture device; and In response to identifying the second hand position information and applying the first virtual effect, applying a second virtual effect to the video while capturing the video, the second virtual effect modifying a granularity of the visual modification associated with the first virtual effect.

10. The system according to claim 9, wherein: The first hand position information represents a first plurality of joint positions of a person depicted in the video.

11. The system according to claim 9, wherein: The second hand position information represents a second plurality of joint positions of a person depicted in the video.

12. The system according to claim 9, wherein: The first virtual effect is a first augmented reality content item.

13. The system according to claim 12, wherein: The first augmented reality content item is applied to the video in real-time during capture.

14. The system according to claim 9, wherein: The second virtual effect is a second augmented reality content item.

15. The system according to claim 9, wherein: The operations also include: storing the video including the first virtual effect at a first time and the second virtual effect at a second time; and The video is sent to a computing device as a transient message.

16. The system of claim 9, wherein: Identifying the first-hand location information further includes: identifying a hand in the video; tracking movement of the hand from a first position to a second position; and A level of granularity of the first virtual effect is modified based on the tracked movement of the hand.

17. A non-transitory computer-readable storage medium comprising instructions that, when executed by a computer, cause the computer to perform operations comprising: Capture video in real time using an image capture device; identifying first hand position information in the video while capturing the video, the first hand position information being identified at a first distance from the image capture device; In response to identifying the first hand position information, applying a first virtual effect to the video in real time, the first virtual effect causing a visual modification to the video; identifying second-hand position information in the video, the second-hand position information being identified at a second distance from the image capture device; as well as In response to identifying the second hand position information and applying the first virtual effect, applying a second virtual effect to the video while capturing the video, the second virtual effect modifying a granularity of the visual modification associated with the first virtual effect.

18. The computer-readable storage medium of claim 17, wherein: The first hand position information represents a first plurality of joint positions of a person depicted in the video.

19. The computer-readable storage medium of claim 17, wherein: The second hand position information represents a second plurality of joint positions of a person depicted in the video.

20. The computer-readable storage medium of claim 17, wherein: The first virtual effect is a first augmented reality content item.

Citation Information

Cited By

  • User interface for pose driven virtual effects

    US12452384B2

  • Skeletal tracking for real-time virtual effects

    US12531959B2