Interface carousel for use with the Image Processing SDK

By providing a modular SDK and augmented reality content generator on portable devices, it solves the problem of image capture and processing under changing conditions, realizes augmented reality processing, and improves the visual effects and user experience of the app.

CN115698927BActive Publication Date: 2024-10-18SNAP INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202180041371.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-01
Publication Date
2024-10-18
Estimated Expiration
2041-06-01

AI Technical Summary

Technical Problem

Existing technology is difficult to achieve efficient capture and processing of images under various changing conditions on portable computing devices, especially in the case of image ratio, noise, lighting, movement or geometric distortion. Third-party developers lack the ability to provide enhanced visual effects. technology and resources.

Method used

By providing a modular software development kit (SDK), third-party developers can receive image processing API calls, display image modification features, apply selected graphic items, and generate modified images, implementing the functionality of an augmented reality content generator, including objects Detect, track and transform images using AR content generator data in real time on the client device.

Benefits of technology

It enables complex augmented reality processing of images on portable devices, provides enhanced visual effects, meets the needs of third-party developers to provide augmented reality experiences in apps, and improves the interactivity and media richness of the user interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115698927B_ABST
    Figure CN115698927B_ABST
Patent Text Reader

Abstract

A user interface method is provided by an SDK embedded in a third party resource running on a portable device including a camera and a display. The method includes receiving an API call to display an image processing user interface, and in response, displaying a first user interface including a list of selectable graphical items corresponding to a set of available image modification features. If a user selection of a desired graphical item from the list of selectable graphical items is received, the image modification feature corresponding to the desired graphical item is applied to an image received from the camera, thereby generating a modified image. Then, a second user interface including the modified image is displayed on the display.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of U.S. Provisional Patent Application Serial No. 63 / 037,225, filed on June 10, 2020, and U.S. Patent Application Serial No. 17 / 302,432, filed on May 3, 2021, the contents of each of which are incorporated herein by reference in their entirety. Background Art

[0003] With the increase in the use of digital images, the affordability of portable computing devices, the availability of increased capacity of digital storage media, and the increased bandwidth and accessibility of network connections, digital images and videos have become part of the daily lives of more and more people. In addition, the expectation of device users is that the experience of using apps on portable computing devices will continue to become more sophisticated and media-rich. BRIEF DESCRIPTION OF THE DRAWINGS

[0004] In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. To easily identify the discussion of any particular element or action, the highest digit or digits in the reference numeral refer to the figure number in which the element is first introduced. In the figures of the accompanying drawings, embodiments are illustrated by way of example and not limitation, in which:

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

[0006] Figure 2 yes Figure 1 The app architecture shown in Figure 1 A graphical representation of the relationship between the developer database and the SDK server system.

[0007] Figure 3 It is shown Figure 2 Block diagram of the various modules of the annotation system.

[0008] Figure 4 An example user interface depicting a carousel for selecting and applying AR content generator data to media content is shown.

[0009] Figure 5 shows that depictions can be provided to Figure 4 An example user interface of optional features of the user interface.

[0010] Figure 6 Shows that it is possible to Figure 4 and Figure 5 Further user actions on the user interface generate an example user interface.

[0011] Figure 7 A user interface is shown that may be displayed if there is only one available AR content generator.

[0012] Figure 8 is shown for navigation Figures 4 to 7 A flowchart of an example method of providing a user interface.

[0013] Fig. 9 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, causing the machine to perform any one or more of the methodologies discussed herein.

[0014] Fig.10 is a block diagram illustrating a software architecture in which examples may be implemented. DETAILED DESCRIPTION

[0015] Users with a range of interests and from different locations can capture digital images of a variety of subjects and make the captured images available to others via a network, such as the Internet. Enabling a computing device to perform image processing or image enhancement operations on a variety of objects and / or features captured under a wide variety of varying conditions (e.g., changes in image scale, noise, lighting, motion, or geometric distortion) can be challenging and computationally intensive.

[0016] In addition, third-party developers of apps for use on personal devices may want to provide enhanced visual effects, but may not have the technical knowledge or budget to provide such effects in their apps. The original developer of the systems and technologies that support enhanced visual effects (SDK providers) can enable the use of such effects in apps published by third-party app developers by providing a modular software development kit (SDK), as described in more detail below. As used herein, the terms "third-party developer," "app developer," and "developer" are not limited to the actual developers themselves, but include people and entities that host, provide, or own related software, apps, SDKs, or services that may have been originally developed by others.

[0017] In some cases, the provider of the SDK also provides a messaging application including image modification capabilities as described herein. The SDK provides access to such image modification capabilities to third parties so that the third party can provide image modification features in the third party's app independently of launching the messaging application of the SDK provider.

[0018] As discussed herein, the theme infrastructure supports the creation, viewing, and / or sharing of interactive or enhanced two-dimensional or three-dimensional media in apps published by app developers. The theme system also supports the creation, storage, and loading of external effects and asset data by third-party developers for use by apps running on client devices.

[0019] As described herein, images, videos, or other media for augmentation may be captured from a live camera, or retrieved from a local or remote data store. In one example, a theme system is used to render an image in addition to conventional image textures to visualize spatial details / geometry as seen by the camera. When a viewer interacts with the image through a mobile client device, the movement triggers a corresponding change in the perspective at which the image and geometry are presented to the viewer.

[0020] As referred to herein, the phrase "augmented reality experience" includes or refers to various image processing operations corresponding to image modifications, filters, media overlays, transformations, etc. as further described herein. In some examples, these image processing operations provide an interactive experience of a real-world environment, in which objects, surfaces, backgrounds, lighting, etc. in the real world are enhanced by computer-generated perceptual information. In this context, an "augmented reality content generator" includes a collection of data, parameters, and other assets required to apply a selected augmented reality experience to an image or video feed. In some examples, the augmented reality content generator is provided by Snap Inc. under the registered trademark LENSES.

[0021] In some examples, the augmented reality content generator includes augmented reality (or "AR") content that is configured to modify or transform image data presented within the GUI of the client device in some manner. For example, AR content generator data can be used to perform complex additions or transformations to content images, such as adding bunny ears to the head of a person in a video clip, adding a floating heart with background coloring to a video clip, changing the scale of a person's features within a video clip, adding enhancements to landmarks in a scene viewed on a client device, or many other such transformations. This includes real-time modifications to stored content (e.g., video clips in a gallery), which modify the image when it is captured using a camera associated with the client device, which is then displayed on the screen of the client device with the AR content generator modification, and the stored content, for example, can be modified using the AR content generator. For example, in a creator profile with multiple AR content generators, an authorized third-party developer can use a single video clip with multiple AR content generators to see how different AR content generators will modify the stored clip. Similarly, real-time video capture can be used with an AR content generator to show the user of the client device on its display how the video image currently being captured by the device's sensor will modify the captured data. Such data may simply be displayed on a screen without being stored in memory, content captured by device sensors may be recorded and stored in memory with or without AR content generator modifications (or both), or content captured by device sensors may be sent along with AR content generator modifications to a server or another client device via network 102.

[0022] Thus, an AR content generator and associated systems and modules for modifying content using the AR content generator may involve: detection of objects (e.g., faces, hands, bodies, cats, dogs, surfaces, objects, etc.), tracking of such objects as they leave, enter, and move around the field of view in a video frame, and modification or transformation of such objects as they are tracked. In various examples, different methods for implementing such transformations may be used. For example, some examples may involve generating a 3D mesh model of one or more objects, and using transformations of the model and animated textures within a video to implement the transformations. In other examples, tracking of points on an object may be used to place an image or texture (which may be two-dimensional or three-dimensional) at the tracked location. In further examples, neural network analysis of video frames may be used to place images, models, or textures in content (e.g., frames or images of a video). Thus, AR content generator data may include both: images, models, and textures used to create transformations in content, and additional modeling and analysis information required to implement such transformations through object detection, tracking, and placement.

[0023] In one aspect, a method for providing a user interface through a messaging application software development kit (SDK) included by a third-party resource, the third-party resource running on a portable device including a camera and a display, the method comprising: receiving, by the SDK, an API call for displaying an image processing user interface; displaying a first user interface on the display of the portable device, the first user interface including a list of selectable graphical items corresponding to a set of available image modification features; receiving a user selection of a desired graphical item from the list of selectable graphical items; applying the image modification feature corresponding to the desired graphical item to an image received from the camera to generate a modified image; and displaying a second user interface including the modified image on the display of the portable device.

[0024] The first user interface or the second user interface may include a logo associated with a provider of the SDK. The second user interface may also include a text overlay including the name of a creator of an image modification feature corresponding to the desired graphical item. The second user interface may also include a user interface element that is customizable by a developer of a third-party resource and that, when selected, causes an action associated with the third-party resource or with a developer of the third-party resource.

[0025] The last item in the list of selectable graphical items is a logo associated with the provider of the SDK. The method may also include receiving a user selection of the logo, and opening a messaging application provided by the provider of the SDK. The messaging application may be opened to a user interface in which the image modification feature corresponding to the desired graphical item is effective, or to a profile specified by a third-party resource.

[0026] The method may also include receiving a user selection of a logo, and opening a messaging application provided by a provider of the SDK to a user interface having additional image modification features available for user selection.

[0027] In one aspect, a system includes one or more processors, a camera, and a display of a machine. The system also includes a memory storing instructions, the instructions including an SDK included by a third-party software application, the instructions causing the machine to perform operations when executed by at least one of the one or more processors, the operations including: receiving, by the SDK, an API call to display an image processing user interface; displaying a first user interface on the display, the first user interface including a list of selectable graphical items corresponding to a set of available image modification features; receiving a user selection of a desired graphical item from the list of selectable graphical items; applying, by the SDK, the image modification feature corresponding to the desired graphical item to an image received from the camera to generate a modified image; and displaying, on the display, a second user interface including the modified image.

[0028] The first user interface or the second user interface may include a logo associated with a provider of the SDK. The second user interface may also include a text overlay including the name of a creator of an image modification feature corresponding to the desired graphical item. The second user interface may also include a user interface element that is customizable by a developer of a third-party resource and that, when selected, causes an action associated with the third-party resource or with a developer of the third-party resource.

[0029] The last item in the list of selectable graphical items is a logo associated with the provider of the SDK. The method may also include receiving a user selection of the logo, and opening a messaging application provided by the provider of the SDK. The messaging application may be opened to a user interface in which the image modification feature corresponding to the desired graphical item is effective, or to a profile specified by a third-party resource.

[0030] The operation may also include receiving a user selection of a logo and opening a messaging application provided by the provider of the SDK. The messaging application may be opened to a user interface in which the image modification feature corresponding to the desired graphical item is valid, or to a profile specified by a third-party software application. The operation may also include receiving a user selection of a logo and opening the messaging application provided by the provider of the SDK to a user interface having additional image modification features available for selection by the user.

[0031] In one aspect, a non-transitory machine-readable storage medium containing instructions, the instructions including an SDK included by a third-party resource, which instructions, when executed by a portable device including a camera and a display, cause the portable device to perform operations, the operations including: receiving, by the SDK, an API call to display an image processing user interface; displaying a first user interface on the display of the portable device, the first user interface including a list of selectable graphical items corresponding to a set of available image modification features; receiving a user selection of a desired graphical item from the list of selectable graphical items; applying, by the SDK, the image modification features corresponding to the desired graphical item to an image received from the camera to generate a modified image; and displaying a second user interface including the modified image on the display of the portable device.

[0032] The first user interface or the second user interface may include a logo associated with a provider of the SDK. The second user interface may also include a text overlay including the name of a creator of an image modification feature corresponding to the desired graphical item. The second user interface may also include a user interface element that is customizable by a developer of a third-party resource and that, when selected, causes an action associated with the third-party resource or with a developer of the third-party resource.

[0033] The last item in the list of selectable graphical items is a logo associated with the provider of the SDK. The method may also include receiving a user selection of the logo, and opening a messaging application provided by the provider of the SDK. The messaging application may be opened to a user interface in which the image modification feature corresponding to the desired graphical item is effective, or to a profile specified by a third-party resource.

[0034] The operation may also include receiving a user selection of a logo and opening a messaging application provided by the provider of the SDK. The messaging application may be opened to a user interface in which the image modification feature corresponding to the desired graphical item is valid, or to a profile specified by a third-party software application. The operation may also include receiving a user selection of a logo and opening the messaging application provided by the provider of the SDK to a user interface having additional image modification features available for selection by the user.

[0035] Other technical features may be readily apparent to those skilled in the art from the following drawings, descriptions and claims.

[0036] Figure 1 1 is a block diagram illustrating an example system 100 for exchanging data (e.g., messages, AR content generators, media, and associated content) over a network. The system 100 includes multiple instances of client devices 106, each hosting multiple applications including apps 110. Each client device 106 can be communicatively coupled to other client devices 106 also running instances of apps 110, an SDK server system 104, and a developer database 132 via a network 102 (e.g., the Internet). The client devices can also be coupled to an app store via the network, from which the app 110 can be downloaded and installed on the client devices 106. The app 110 can be any kind of app that can be run on the client device 106. It can be, but need not be, a type of app that is not traditionally associated with augmented reality (AR) interactivity or effects (e.g., a messaging or social networking app).

[0037] App 110 is able to communicate and exchange data with another app 110 and with SDK server system 104 via network 102. The data exchanged between apps 110 depends on the specific app and is defined by the developer of the app, and may include text, audio, video, or other multimedia data that may or may not be modified using the systems and methods described herein. The information exchanged between app 110 and SDK server system 104 may include functions and commands to activate functions, payload data (e.g., text, audio, video, or other multimedia data and augmented reality content generator data), and performance or usage metrics. The data exchanged between app 110 and developer database 132 includes any data that is specific to or required by a specific app 110, or is specific to the user of the app and hosted by or for the app developer.

[0038] The system may also include a developer device 108 that hosts effects software 112 that can be used by developers to create custom AR content generators for use by app 110. Effects software 112 may be provided by the SDK provider as a cloud service or downloadable software via the SDK server system 104. The developer device 108 may also include app development software 114 or for accessing an app development platform used by developers when developing app 110.

[0039] The SDK server system 104 includes an application programming interface (API) with functions that can be called or activated by the app 110 or the effect software 112. In some examples, the SDK server system 104 includes a JavaScript library that provides third-party developers with access to certain features and assets of the SDK server system 104, but applications and resources based on other technologies can be used.

[0040] To integrate the SDK functionality (see further Figure 2 The SDK 216 (and the associated description thereof) is integrated into the app 110, which is downloaded by the developer device 108 from the SDK server system 104 or otherwise received by the developer device 108. Once downloaded or received, the SDK is included as part of the application code of the app 110. The code of the app 110 created by the developer can then call or activate certain functions of the SDK to integrate image processing techniques and features that are traditionally provided in apps released by the SDK provider.

[0041] The SDK server system 104 also provides server-side functionality to certain apps 110 and to effects software 112 hosted on developer devices 108 via the network 102. Although certain functions of the system 100 are described herein as being performed by the app 110, the SDK server system 104, or the effects software 112, the location of certain functions within the app 110, the SDK server system 104, or the effects software 112 may be a design choice. For example, it may be technically preferable to initially deploy certain technologies and functions within the SDK server system 104, but later migrate the technologies and functions to the app 110 when the client device 106 has sufficient processing power. Similarly, the functionality provided by the effects software 112 may be hosted by the SDK server system 104 as a web or cloud service.

[0042] The SDK server system 104 supports various services and operations provided to the app 110, the effect software 112, and the app development software 114, as will be described in more detail below. Such operations include sending data to the effect software 112, receiving data from the effect software, and processing data generated by the effect software, hosting a modular SDK for developers to use in conjunction with the app development software 114, and providing an AR content generator for use by the app 110. When the SDK is integrated with an app developed by a third-party developer, the SDK provides all the core functions required to download, cache, and execute an AR content generator built using the effect software 112. Data exchange within the system 100 is activated and controlled by functions available through the user interface (UI) of the effect software 112 and the app 110.

[0043] Turning now specifically to the SDK server system 104, an application program interface (API) server 118 is coupled to and provides a programming interface to the application server 116. The application server 116 is communicatively coupled to a database server 122, which facilitates access to a database 130 that stores data associated with the functionality of the application server 116. Similarly, a web server 134 is coupled to the application server 116 and provides a web-based interface to the application server 116. To this end, the web server 134 handles incoming network requests via the Hypertext Transfer Protocol (HTTP) and several other related protocols.

[0044] The application program interface (API) server 118 receives and sends data (e.g., commands and other payloads, such as AR content generators and associated metadata) between the client device 106 and the application server 116, and between the developer device 108 and the application server 116. Specifically, the application program interface (API) server 118 provides a set of interfaces (e.g., routines and protocols) that can be called or queried to activate the functions of the application server 116. The application program interface (API) server 118 exposes various functions supported by the application server 116, as described in more detail below.

[0045] The application server 116 hosts several server applications and subsystems, including, for example, an effects submission service 120, an effects scheduler 124, an SDK hosting service 126, and a web UI module 128. The effects submission service 120 implements several technologies and functions, particularly those related to the aggregation, storage, and access of AR content generators of visual effects that have been generated by developers on developer devices 108 using the effects software 112. As will be described in further detail, the AR content generators generated by the developer can be uploaded from the developer device 108 to the SDK server system 104, where the AR content generators are aggregated by the effects submission service 120 into a collection of AR content generators, associated with individual developers, and stored in a database 130. These collections are then made available to the app 110 specified by the effects scheduler 124.

[0046] The application server 116 also includes an effects scheduler 124, which is a management tool that can be used by developers to manage their AR content generators. The effects scheduler 124 is accessed via a web-based interface provided by the web UI module 128 for managing AR content generators and associated metadata. The metadata associated with each AR content generator may include an AR content generator ID (a unique identifier for all transactions involving an AR content generator), a public AR content generator name, an AR content generator icon image, any preview media, visibility settings, a preferred activation camera (e.g., a rear camera or a front camera), and the date when the AR content generator was last submitted by the effects software 112. The associated metadata may also, for example, specify visibility (i.e., whether the AR content generator is public or private, or turned on or off), a "start date" and "end date" for limiting the availability of any AR content generator within the group, and advanced scheduling options such as recurrence time (daily, weekly, monthly, yearly). The associated metadata may also, for example, specify geo-fence restrictions so that the AR content generator is only available in certain locations.

[0047] The web interface for accessing the effects scheduler 124 provides various views to the developer, including a view with a total list of all AR content generators associated with the developer, and a group view in which AR content generators in developer-defined groups are listed. Only AR content generators created or owned by a particular developer will appear in the list of AR content generators shown when the developer accesses the effects scheduler 124. Each developer and its app 110 are registered under an organization name in an SDK portal (not shown) through which the developer registers with the SDK server system 104.

[0048] To provide additional flexibility to developers in developing use cases, the effects scheduler 124 also provides the ability to add developer data to each AR content generator or each group of AR content generators, which can enhance the use of the AR content generator by the app 110. All developer data included in the AR content generator metadata is provided to the client device 106 for use by the app 110. This developer data may include, for example, search keywords, advanced benefits, additional UI guides, or other visibility labels (e.g., "This is a birthday LENS"). This developer data is primarily intended for interaction between a user of the client device 106 and the app 110. Although not impossible, in one example, neither the effects scheduler 124 nor the SDK 216 operates on this data.

[0049] AR content generator groups provide a way to collect AR content generators into an ordered list for delivery to app 110, which is typically visually presented to the user by app 110, as will be described in more detail below. Since AR content generators are delivered to app 110 in groups, in order for the AR content generators to be presented in the app, they need to be associated with a group. Groups can be created and defined by developers based on use cases, such as named "Los Angeles" and "Tokyo" for building different content in different locations. Each group has a specific group ID that can be used for group management.

[0050] The effects scheduler 124 provides an interface for creating and deleting groups, adding or removing AR content generators from various groups, and applying additional developer data to all AR content generators associated with the developer (global metadata), to grouped AR content generators (group metadata), and to individual AR content generators, either directly to an AR content generator or when an AR content generator is added to a group. Global, group, and individual AR content generator metadata are nested within separate keys in the metadata, so the app 110 can choose to override metadata in one level with metadata in another level. The app 110 can use or render a group of AR content generators as is, or filter the grouped AR content generators based on any metadata in the metadata associated with the AR content generators.

[0051] The effects scheduler 124 also receives performance and usage data from the app 110. This can involve both the performance of the SDK (e.g., statistics on tracking, rendering, AR content generator initialization and teardown time, etc.) and usage metrics of the AR content generators themselves (e.g., which AR content generators are used, when and for how long, events in the app triggered during AR content generator use). This performance and usage data and the analysis derived therefrom can be provided to the developer in a performance and metrics dashboard generated by the effects scheduler 124.

[0052] The web UI module 128 supports various functions and services and makes these functions and services directly available to third-party developers and / or available to the effects software 112 .

[0053] SDK hosting service 126 provides developers with access to the SDK (see below). Figure 2 more fully described in the SDK documentation).

[0054] In use of the system 100, developers, after registering with the SDK portal, download the SDK from the SDK hosting service 126 for developing apps 110. The SDK provides all the core functionality required to download, cache, and execute AR content generators built with the effects software 112. Developers integrate the SDK into their apps 110 using the app development software 114. The app 110 is then made available for download by users via known means, such as via an app store.

[0055] The developer also generates AR content generators using the effect software 112, which are then uploaded to the SDK server system 104 via the effect submission service 120, where the AR content generators are aggregated by the effect submission service 120 into a collection of AR content generators associated with the developer and stored in the database 130. The developer can then manage the collection of AR content generators using the effect scheduler 124 as discussed above to group the AR content generators and manage the AR content generator metadata. Then, in response to a user prompt provided in the app 110, by inclusion in an update of the app 110, or pushed from the SDK server system 104 in response to instructions from the developer, a set of AR content generators can be downloaded to the client device 106 for use by the app 110. In addition, when initially downloaded, for example, from an app store, the app 110 may include an AR content generator or one or more groups of AR content generators.

[0056] Figure 2 Shows Figure 1 The architecture of app 110 and its Figure 1 The relationship between the developer database 132 and the SDK server system 104. As can be seen from the figure, the app 110 includes the app logic 202 and the SDK 216, and the SDK 216 includes the API 204, the SDK toolkit logic 206, the annotation system 208, the SDK UI 218 and the local data storage device 210.

[0057] The app logic 202 is developer specific and provides the functionality and user interface expected by the user of the app 110. When the app 110 is running but the SDK 216 has not yet been invoked, the app logic 202 defines all visible interactive UI elements and presents them to the user of the client device 106. The app logic 202 receives input from user input components 928, which include, for example, a touch screen, camera 212, and microphone 214. The app logic 202 communicates with the developer database 132 and / or any other required information resources required for the normal operation of the app 110 over the network 102. The app logic 202 also provides the SDK 216 with access to the camera 212 and microphone 214.

[0058] The app logic 202 interacts with the SDK 216 via calls provided to the API 204. Examples of such calls may be to obtain an AR content generator group, obtain AR content generator metadata for an AR content generator in a group, and prefetch an AR content generator for caching. "Downloading" generally refers to downloading on demand as far as obtaining an AR content generator group, an AR content generator, or any additional AR content generator assets is concerned. If something is needed but it is not available in the local data storage device 210, it will be downloaded. "Prefetching" is predictive downloading of an asset that is not available in the local data storage device 210 before it is needed, based on the user's expected or possible interaction with the app 110 or client device. "Caching" refers to the storage of all assets being downloaded or prefetched in the local data storage device 210, which means that these assets are immediately available and also means that the corresponding AR content generator can be used offline.

[0059] In one example, the SDK 216 receives calls and parameters from the app logic 202 and, based on the calls and parameters, receives and enhances a feed from the camera 212. The camera feed is processed by the SDK 216, as described in more detail below, and the rendered experience is composited into a return video feed for output and display on the client device 106. In another example, based on the calls and parameters received from the app logic 202, the SDK 216 enhances one or more image or video files stored on or received by the client device 106.

[0060] The API 204 is the integration link between the app logic 202 and the SDK 216 to allow the app logic 202 to access features and services provided by the SDK 216. The API 204 receives commands and parameters from the app logic 202 (e.g., get an AR content generator group, get AR content generator metadata for an AR content generator in a group, pre-fetch an AR content generator for caching, apply an AR content generator with a specific AR content generator ID, user input, AR content generator parameters, etc.), and converts them appropriately for provision to the SDK toolkit logic 206.

[0061] The SDK toolkit logic 206 may communicate with the SDK server system 104 over the network 102 to receive or request appropriate AR content generator assets (one or more sets of AR content generators and associated metadata) from the SDK server system 104 for storage in the local data store 210. As described above, the SDK toolkit logic 206 also provides performance and usage data from the client device 106 to the SDK server system 104. For such purposes, the SDK toolkit logic 206 also handles authentication between the client device 106 and the SDK server system 104, and calls the correct endpoint to obtain the AR content generator set and associated metadata.

[0062] The SDK toolkit logic 206 is also responsible for coordinating the interactions between the API 204, the annotation system 208, and the local data store 210. In one example, the SDK toolkit logic 206 receives converted commands and parameters from the API 204 and provides appropriate AR content generator assets (specified AR content generators and associated metadata), device configurations, and tracking models (e.g., algorithms and parameters for performing image homography on image sequences to detect and track objects in a feed from the camera 212) from the local data store 210 to the annotation system 208. The SDK toolkit logic 206 also provides appropriate instructions, converted or otherwise, to the annotation system 208 based on commands or gesture inputs (e.g., touch, swipe, double-click, etc.) received from the API 204 from the user.

[0063] The annotation system 208 is responsible for processing the camera feed based on the selected AR content generator and its metadata, the device's configuration, the specified tracking model, user input, and sensor data (e.g., position sensor data) or other data received from the app logic 202 or via the app logic 202 or directly from components that make up the client device 106 (e.g., the camera 212 or the microphone 214). For example, in some cases, the annotation system 208 tracks objects based on components or parameters within the AR content generator. Examples include facial tracking (including monitoring facial action triggers such as opening the mouth, raising eyebrows, etc.), surface tracking, pet tracking, etc. The annotation system 208 also renders assets in the AR content generator and processes any JavaScript within the AR content generator package to execute any logic contained within the AR content generator (e.g., movement of objects, modifying colors, etc.). Refer to the following Figure 3 The tagging system 208 is described in more detail.

[0064] SDK UI 218 is responsible for cooperating with SDK toolkit logic 206 to present the user interface elements displayed when SDK 216 has been invoked. SDK UI 218 receives relevant data such as user interactions from SDK toolkit logic 206 and passes appropriate responses back to SDK toolkit logic 206.

[0065] The SDK UI 218 enables display of selectable graphical items, which in an example are presented in a carousel arrangement, as shown below with reference to Figures 3 to 8 As described and shown. By way of example, a user can utilize various inputs to rotate selectable graphical items onto and off the display screen in a manner corresponding to the carousel, thereby providing a cyclical viewing of the graphical items. The carousel arrangement enables multiple graphical items to occupy a particular graphical area on the display screen. In an example, AR content generators can be organized into groups for inclusion on the carousel arrangement, thereby enabling rotational traversal of the AR content generators in groups.

[0066] The local data storage 210 is a repository for device configuration information, tracking models, and AR content generator assets. If the device configuration information and tracking models are not originally included in the SDK 216 as part of the app 110, they can be downloaded from the SDK server system 104 by the SDK toolkit logic 206. The device configuration information specifies how the SDK 216's application of the AR content generator can vary based on the actual configuration of the client device 106.

[0067] Figure 3306 is a block diagram illustrating various modules of the annotation system 208 according to a particular example implementation. The annotation system 208 is shown to include an image and depth data receiving module 302, a sensor data receiving module 304, an image and depth data processing module 306, an AR effect module 308, and a rendering module 310. The various modules of the annotation system 208 are configured to communicate with each other (e.g., via a bus, a shared memory, or a switch). Any one or more of these modules can be implemented using one or more computer processors 312 (e.g., a collection of processors provided by the client device 106).

[0068] Any one or more of the described modules may be implemented using hardware alone (e.g., one or more of the computer processors 904 of a machine (e.g., machine 900)) or a combination of hardware and software. For example, any described module of the annotation system 208 may physically include an arrangement of one or more computer processors 312 (e.g., a subset of or among one or more computer processors of a machine (e.g., machine 900)) configured to perform the operations described herein for that module. As another example, any module of the annotation system 208 may include software, hardware, or both software and hardware that configures an arrangement of one or more computer processors 312 (e.g., in one or more computer processors of a machine (e.g., machine 900)) to perform the operations described herein for that module. Thus, different modules of the annotation system 208 may include and configure a single arrangement of such computer processors 312 at different points in time or different arrangements of such computer processors 312. Furthermore, any two or more modules of the annotation system 208 may be combined into a single module, and the functionality described herein for a single module may be subdivided among multiple modules. Furthermore, according to various examples, modules described herein as being implemented within a single machine, database, or device may be distributed across multiple machines, databases, or devices.

[0069] In one example, the image and depth data receiving module 302 receives an image and depth data captured by the client device 106. For example, the image may be a frame captured by an optical sensor (e.g., a camera) of the client device 106. The image may include one or more real-world features, such as a user's face or a real-world object detected in the image. In some examples, the image includes metadata describing the image. For example, the depth data may include data corresponding to a depth map, which includes depth information based on light emitted from a light module directed to an object (e.g., a user's face) having features (e.g., eyes, ears, nose, lips, etc.) with different depths. By way of example, a depth map is similar to an image, but instead of providing a color for each pixel, the depth map indicates the distance from the camera to that portion of the image (e.g., in absolute terms or relative to other pixels in the depth map).

[0070] The sensor data receiving module 304 receives sensor data from the client device 106. Sensor data is any type of data captured by a sensor of the client device 106. In an example, the sensor data may include motion of the client device 106 collected by a gyroscope, touch input or gesture input from a touch sensor (e.g., a touch screen), GPS, or another sensor of the client device 106 describing the current geographic location and / or movement of the client device 106. As another example, the sensor data may include temperature data indicating the current temperature detected by a sensor of the client device 106. As another example, the sensor data may include light sensor data indicating whether the client device 106 is in a dark environment or a bright environment.

[0071] The image and depth data processing module 306 performs operations on the received image and / or depth data. Various image processing and / or depth processing operations may be performed by the image and depth data processing module 306. For example, the image and depth data processing module 306 provides the ability to track different objects supported by the effects software 112, including faces, pets, hands, bodies, skeletal joints, landmarks (i.e., physical landmarks that can be recognized by the annotation system 208 and the AR content generator can be applied to the physical landmarks for landmark-specific effects), and image markers (i.e., specific images that can be recognized by the annotation system 208). Some of these features may require additional device data, which will be requested by the API 204 to the app logic 202 using appropriate user permission requests for protected device data such as gyroscope, compass, and location information.

[0072] To optimize tracking, each client device 106 device has its own configuration profile and associated tracking models optimized for each device for tracking different objects. The SDK toolkit logic 206 will request these from the SDK server system 104 if and as needed.

[0073] The AR effects module 308 performs various operations based on algorithms or techniques corresponding to animation and / or providing visual and / or auditory effects to received images and / or depth data. In an example, a given image can be processed by the AR effects module 308 to perform operations such as rendering an AR effect (e.g., including a 3D effect or 2D effect using depth data) specified by a selected AR content generator.

[0074] The rendering module 310 performs rendering of an image based on data provided by at least one of the above-mentioned modules for display by the client device 106. In an example, the rendering module 310 utilizes a graphics processing pipeline to perform graphics operations to render an image for display. In an example, the rendering module 310 implements an extensible rendering engine that supports multiple image processing operations corresponding to various AR content generators.

[0075] In some implementations, the rendering module 310 provides a graphics system that renders two-dimensional (2D) objects or objects from a three-dimensional (3D) world (real or imaginary) onto a 2D display screen. In some implementations, such a graphics system (e.g., a graphics system included on a client device 106) includes a graphics processing unit (GPU) for performing image processing operations and rendering graphical elements for display.

[0076] In an implementation, the GPU includes a logical graphics processing pipeline that can receive a representation of a 2D or 3D scene and provide an output of a bitmap representing a 2D image for display. Existing application programming interfaces (APIs) have implemented a graphics pipeline model. Examples of such APIs include the Open Graphics Library (OPENGL) API and the METAL API. The graphics processing pipeline includes multiple stages that convert a set of vertices, textures, buffers, and state information into image frames on the screen. In an implementation, one of the stages of the graphics processing pipeline is a shader, which can be used as part of a specific AR content generator applied to an input frame (e.g., a still image or a video frame). The shader can be implemented as code running on a dedicated processing unit (also referred to as a shader unit or shader processor) that typically executes several computing threads, and the code is programmed to generate appropriate levels of color and / or special effects for the fragment being rendered. For example, a vertex shader processes the attributes of a vertex (position, texture coordinates, color, etc.), and a pixel shader processes the attributes of a pixel (texture value, color, z depth, and alpha value). In some instances, a pixel shader is referred to as a fragment shader.

[0077] It should be appreciated that other types of shader processing may be provided. In an example, a particular sampling rate is utilized within a graphics processing pipeline to render an entire frame, and / or pixel shading is performed at a particular per-pixel rate. In this manner, a given electronic device (e.g., client device 106) operates a graphics processing pipeline to convert information corresponding to an object into a bitmap that can be displayed by the electronic device.

[0078] A 3D model of a subject or scene may also be obtained or generated for use in the examples described herein, for example, by performing homography on the image stream received from the camera 212, for example, by the image and depth data processing module 306. In some examples, an existing 3D model of a location may be downloaded from a server based on the location of the client device reported by the location component 936. Such a 3D model may be combined with an AR content generator within the subject system to provide additional interactivity elements for users of the app 110.

[0079] In some examples, by using depth and image data, 3D facial and scene reconstruction can be performed that adds a Z-axis dimension (e.g., a depth dimension) to a conventional 2D photograph (e.g., X-axis and Y-axis dimensions). This format enables the viewer to interact with the image, change the angle / perspective at which the image is rendered by the subject system, and affect particles and shaders used in rendering the image.

[0080] In one example, viewer interaction input comes from movement while viewing the image (e.g., from a motion sensor of a device displaying the image to the viewer), which in turn is translated into changes in the perspective of how content, particles, and shaders are rendered. Interactions can also come from on-screen touch gestures and other device motions.

[0081] Figure 4 An example user interface depicting a carousel for selecting AR content generator data and applying the selected AR content generator data to media content (e.g., images or video generated by camera 212) and presenting the results of the applied AR content generator in app 110 according to some examples is shown.

[0082] In an example of such a user interface, selectable graphical items such as AR content generator icon 408, AR content generator icon 422, etc. may be presented in a carousel arrangement in which a portion or subset of the selectable graphical items are visible on a display screen of a given computing device (e.g., client device 106). By way of example, a user may utilize various inputs to rotate the selectable graphical items in the carousel arrangement onto and off the display screen, thereby providing a cyclic viewing of the graphical items. Thus, the carousel arrangement provided in the user interface enables multiple graphical items to occupy a particular graphical area on the display screen.

[0083] In an example, individual AR or image modification experiences corresponding to different AR content generators can be organized into groups to be included in a carousel arrangement, enabling a user to scroll or "spin" through the available AR content generators. Although a carousel interface is provided as an example, it should be appreciated that other graphical interfaces may also be utilized. For example, the AR content generator icons may be shown as a graphical list, a scrolling list, a scrolling graphic, or another graphical interface that enables navigation and / or selection. As used herein, a carousel interface refers to displaying graphical items in an arrangement similar to a circular list, enabling navigation through the circular list to select or scroll through the graphical items based on user input (e.g., touch or gesture). In an example, a group of graphical items may be presented on a horizontal (or vertical) line or axis, where each graphical item is represented as a specific thumbnail image (or icon, avatar, etc.).

[0084] At any one time, some of the graphic items in the carousel interface can be hidden. If the user wants to view the hidden graphic items, in the example, the user can provide user input (e.g., sliding or other touch gestures, etc.) to scroll through the graphic items in a specific direction (e.g., left, right, up or down, etc.). In response to the user input, the updated view of the carousel interface is displayed via the following animation: the animation presents one or more additional graphic items to be included in the interface and some of the graphic items previously presented in the animation can be hidden. In one example, in this way, the user can navigate back and forth in a circular manner to traverse the grouped graphic items. Therefore, it should be recognized that the carousel interface can optimize the screen space by displaying only a subset of graphic items from a group of graphic items in a scrollable view. In some cases, the carousel is continuous (the graphic items leaving one side can re-enter the other side) or the start and end points have been defined (there are the first graphic element and the last graphic element, and the carousel will not scroll beyond the first graphic element and the last graphic element).

[0085] As described herein, AR content generator icons are included on a carousel arrangement (or another interface as discussed above), enabling rotational traversal and selection of one of the AR content generators. As discussed in more detail above, the AR content generator icons shown in the carousel arrangement correspond to a set of available AR content generators that have been curated and filtered based on metadata, where the metadata may define the times or locations at which the AR content generators are available. Figure 4 In the carousel arrangement of the user interface example of , the AR content generator icons shown in the carousel arrangement are from the available AR content generators provided by the app 110.

[0086] like Figure 4 As shown in the user interface shown in , selectable AR content generator icons 408 and 422 are displayed in a carousel 406 on a display screen of an electronic device (e.g., client device 106). In one example, a left or right swipe gesture is received along the carousel 406 via the touch screen of the client device 106, and in response to receiving the swipe gesture, a left or right movement of the items in the carousel is implemented to facilitate selection of a specific AR content generator corresponding to one of the AR content generator icons 408, 422. Then, the desired AR content generator icon (e.g., AR content generator icon 408) is selected via a user's touch input on the AR content generator icon of interest, or by scrolling through the carousel and stopping when the desired AR content generator icon is located at the center position 410 as can be seen in the user interface 404. The carousel parameters can also be defined by the provider of the SDK and / or the developer of the app. For example, the maximum number of AR content generator icons in the carousel can be specified to be a certain number, such as 25.

[0087] The user interface 402 corresponds to the initial screen shown in response to the app logic 202 calling the SDK 216, in which the AR content generator is inactive, as can be seen by the lack of the AR content generator icon in the center position 410. That is, the user's view captured by the camera 212 and displayed on the display screen of the client device 106 is undecorated. The user interface 402 also includes a logo 412 corresponding to an application (e.g., a messaging application) provided by the provider of the SDK or the provider of the SDK. Also included are a front / rear camera flip icon 414 and a flash enable icon 416, which the user can interact with to swap between the front camera and the rear camera and enable different flash modes, as known in the art. The user interface 402 also includes a close and return icon 418, on which the user can tap or swipe down to exit the user interface 402 and return to the user interface provided by the app 110.

[0088] exist Figure 4 In a second example, as shown in user interface 404, upon selection of a particular AR content generator icon now occupying center position 410, an AR effect 420 is presented for display on client device 106 in conjunction with the camera feed. In this example, AR effect 420 includes a 3D object (e.g., a rose wreath as shown) and any other effects defined by the AR content generator corresponding to the selected AR content generator icon. Effects may include particle-based effects that are spatially presented and move in response to sensor information (e.g., gyroscope data, etc.) on the viewer's electronic device (e.g., client device 106). Effects may also include color filters and shader effects that can or may also move in response to sensor information. Examples of color filters include a daylight effect that matches the time of day corresponding to the location where the message was created (e.g., based on location metadata included in the message). Examples of shader effects include, but are not limited to, liquid moving around the screen, a glittering effect, a blossoming effect, a rainbow effect, a text effect, a background that changes based on movement, and the like.

[0089] A carousel return icon 424 is also provided in the user interface 404 . When the user touches the carousel return icon, the user interface 402 is displayed while the state in which the AR content generator is not enabled is returned to.

[0090] Figure 5An example user interface depicting optional features that may be provided in an intended user interface is shown. In user interface 502, a text overlay 506 showing the names of valid AR content generators and / or the names of their creators is provided. Tapping the creator name enables viewing the creator's profile on an application (e.g., a messaging application) provided by the provider of the SDK. In addition, a product action UI element 508 may be provided for display and use by the developer of app 110. The content of this element and the result of tapping this element may be customized by the developer of app 110. For example, it may contain a product name and a link to a web page or to another part of app 110 related to the product.

[0091] If the logo 412 is tapped, the user interface 504 may be displayed. Tapping the logo provides a response related to the provider of the SDK or to an app or service provided by the provider of the SDK. In this example, tapping the logo 412 causes a dialog box 510 to be presented to the user. In the example shown, the user of the app 110 is provided with the following options: open the messaging application with its default view with the AR content generator active or view the profile of the app developer in the messaging application. The profile to be viewed when the latter option is selected can be set by the developer and may also be, for example, the profile of the creator of the AR content generator. A cancel button is also included, which returns the user interface to the previous interface, such as the user interface 404 or the user interface 502.

[0092] Figure 6 An example user interface that may be generated by further user actions is shown. In user interface 602, the user of app 110 has scrolled carousel 406 to the left until there are no more available AR content generators to display. In such a case, logo icon 606 is shown as the last option, with the text "MORE LENSES" below. Tapping logo icon 606 takes the user to a repository of additional AR content generators that can be used, such as in an app store or in an AR content generator store or application (e.g., a messaging application) provided by the provider of the SDK. Whether logo icon 606 is displayed at the end of carousel 406 may also depend on various parameters that may be defined by the developer of the SDK and / or the developer of the app. For example, it may be specified that logo icon 606 applies only to carousels with more than 10 AR content generators. In one example, carousel 406 does not allow further scrolling to the left after the last icon (logo icon 606 in user interface 602) has appeared in carousel 406. Alternatively, further scrolling to the left by the user will cause the carousel 406 to continue with the first icon in the carousel at the center position 410 , or return to the user interface 402 .

[0093] User interface 604 is an example of an interface shown after a user takes an action to capture an augmented camera feed, e.g., by tapping on center location 410 when the AR content generator is active to capture an image, or by pressing and holding center location 410 when the AR content generator is active to record a video clip. Once this user action has been completed, a representation of the modified and captured image or video clip is shown in user interface 604. The user can save the image or video clip to local data storage 210 by tapping save icon 608, or the user can open a dialog box providing various options for forwarding the image or video clip by tapping forward icon 610, as is known in the art.

[0094] Additionally, an app action icon 612 may be provided that has the resulting steps that have been defined by the developer of the app 110. For example, the user interface may return to the user interface of the app where the captured image or video clip may be used or integrated with the app experience, or otherwise shared on the app platform or with other users of the app 110. The user interface 604 also includes an exit icon 614 that discards the captured video clip or image and returns to a previous user interface, such as the user interface 404, the user interface 502, or the user interface 602.

[0095] Figure 7 A user interface is shown that may be displayed if there is only one available AR content generator when the SDK 216 is called by the app logic 202. In such a case, the user interface 702 may be immediately presented with a single AR content generator being active and the associated AR content generator icon being in the center position 410. In this case, the carousel 406 and the carousel return icon 424 need not be shown because there is only one active AR content generator by default. Other user interface features will be or may be provided as needed or preferred and as specified by the app developer, including text overlay 506, product action UI element 508, logo 412, and close and return icon 418. Interaction with these features will provide the same responses as discussed above.

[0096] Figure 8 is shown for navigation Figures 4 to 7Flowchart of an example method for providing a user interface for an AR content generator. The method begins at operation 804 after start operation 802, when the API 204 receives a call from the app logic 202 to provide image enhancement through the SDK 216. In response, at operation 806, the SDK UI 218 generates and displays the user interface 402. The user then navigates the carousel 406 and selects an AR content generator icon 408, 422, etc. corresponding to the desired AR content generator. The navigation of the carousel 406 and the display of the resulting updated user interface (e.g., as shown in reference to FIG. 1 ) in response to user input (e.g., the user scrolls left / right, selects a button or action item, etc.) Figures 4 to 7 ) is performed by SDK UI 218.

[0097] After the SDK 216 receives the selection of an AR content generator at operation 808, the SDK toolkit logic 206 obtains the AR content generator from the local data storage 210 if it has been downloaded or pre-cached, or obtains the AR content generator from the SDK server system 104 or other server hosting the AR content generator over the network 102. The SDK toolkit logic then provides the AR content generator and any associated data, such as the device configuration and tracking model, to the annotation system 208. 208 then processes the camera feed based on the selected AR content generator and its metadata, the device's configuration, the specified tracking model, user input, and sensor data (e.g., position sensor data) or other data received from or via the app logic 202 to generate and display the user interface 404 at operation 810 (in conjunction with the SDK UI 218), the user interface 404 including the camera feed that has been modified as defined by the selected AR content generator and associated data. Coordination between the SDK UI 218 , the annotation system 208 , the local data store 210 , and any remote servers is managed by the SDK toolkit logic 206 .

[0098] Alternatively, if the user does not select the AR content generator icon in the carousel 406 at operations 806 and 808 , but scrolls to the end of the carousel, the method continues from operation 830 .

[0099] Beginning at operation 810, the product action UI element 508 and the logo 412 may be provided by the SDK UI 218 for display at operation 812 or operation 818, respectively, if so defined in the selected AR content generator or specified in the API call from the app logic 202. If a selection of the logo 412 is received at operation 820, further options are displayed by the SDK UI 218 at operation 822, as shown in the user interface 504 and as described above with reference to Figure 5Receiving a selection of an option (other than "Cancel") at operation 824 causes the SDK 216 to open an app (e.g., a messaging application) provided by the SKD provider at operation 826 in a state specified by the selected option. Alternatively, upon receiving a selection of the logo 412 at operation 820, the SDK 216 may directly open the app provided by the SKD provider at operation 826.

[0100] At operation 828, upon returning from the app opened at operation 826 (e.g., upon receiving a user interaction to close or exit the open app), the user interface of app 110 may be displayed. Alternatively, SDK UI 218 may display user interface 402 or user interface 404, and the method may then continue at operation 806 or operation 808, respectively.

[0101] At operation 814, if a selection of product action UI element 508 is received in response to operation 812, the action associated with the UI element defined by the app developer is performed at operation 816. Once the action is completed, app 110 can return to user interface 402 or user interface 404, or to an app-specific user interface.

[0102] If at operation 806 or operation 810, a user input corresponding to scrolling to the end of the carousel is received as at operation 830, then at operation 832, the last icon in the carousel, i.e., the logo icon 606, is displayed by the SDK UI 218. If a selection of the logo icon 606 is received at operation 834, a repository of additional AR content generators available for use or selection by the user is opened at operation 836. This can be achieved, for example, by the SDK 216 providing a call to an app store or an AR content generator store or application (e.g., a messaging application) provided by the provider of the SDK. The user's selection of an additional AR content generator will cause the icon corresponding to the additional AR content generator to be included in the carousel 406 by the SDK UI 218. After obtaining or rejecting the additional AR content generator, at operation 838, the method can return and the user interface 402 or the user interface 404 can be displayed, and then the method can continue at operation 806 or operation 810, respectively.

[0103] Additionally, beginning at operation 810, an image or video capture input may be received at operation 840. In response, the SDKUI 218 may display the user interface 604 at operation 842, including presenting the save icon 608, the forward icon 610, the app action icon 612, and the exit icon 614. If a selection of the app action icon 612 is received at operation 844, an action that has been defined by the developer of the app 110 is performed at operation 846. For example, a user interface defined by the app logic 202 may be presented in which the captured image or video clip may be used or integrated with the app experience, or otherwise shared on the app platform or with other users of the app 110. In the event that the method is returned to from the app action performed in 846 in response to user input at operation 848, the method continues at one of the user interfaces, such as user interface 402, user interface 404, or user interface 502.

[0104] Machine Architecture

[0105] Fig. 9900 is a diagrammatic representation of a machine 900 within which instructions 910 (e.g., software, programs, applications, applet, app, or other executable code) may be executed for causing the machine 900 to perform any one or more of the methods discussed herein. For example, the instructions 910 may cause the machine 900 to perform any one or more of the methods described herein. The instructions 910 transform a general-purpose, non-programmed machine 900 into a specific machine 900 that is programmed to perform the functions described and illustrated in the manner described. The machine 900 may operate as a standalone device or may be coupled (e.g., networked) to other machines. In a networked deployment, the machine 900 may operate in the capacity of 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 900 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 910 specifying actions to be taken by the machine 900. In addition, although only a single machine 900 is shown, the term "machine" should also be considered to include a collection of machines that individually or jointly execute instructions 910 to perform any one or more of the methods discussed herein. For example, the machine 900 may include any of the client device 106 or a plurality of server devices that form part of the SDK server system 104. In some examples, the machine 900 may also include both a client and a server system, wherein certain operations of a particular method or algorithm are performed on the server side and certain operations of a particular method or algorithm are performed on the client side.

[0106] The machine 900 may include a processor 904, a memory 906, and an input / output (I / O) component 902 that may be configured to communicate with each other via a bus 940. In an example, the processor 904 (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 908 and a processor 912 that execute instructions 910. 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. 9Multiple processors 904 are shown, but the machine 900 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.

[0107] The memory 906 includes a main memory 914, a static memory 916, and a storage unit 918 that are accessible to the processor 904 via the bus 940. The main memory 906, the static memory 916, and the storage unit 918 store instructions 910 that implement any one or more of the methods or functions described herein. The instructions 910 may also reside, completely or partially, within the main memory 914, within the static memory 916, within the machine-readable medium 920 within the storage unit 918, within at least one of the processors 904 (e.g., within a cache memory of a processor), or any suitable combination thereof during execution thereof by the machine 900.

[0108] The I / O components 902 may include various components for receiving input, providing output, generating output, sending information, exchanging information, capturing measurements, etc. The specific I / O components 902 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 the I / O components 902 may include Fig. 9 928. In various examples, the I / O components 902 may include a user output component 926 and a user input component 928. The user output component 926 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 928 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.

[0109] In another example, the I / O component 902 may include a biometric component 930, a motion component 932, an environment component 934, or a position component 936, as well as various other components. For example, the biometric component 930 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 932 includes an acceleration sensor component (e.g., an accelerometer), a gravity sensor component, and a rotation sensor component (e.g., a gyroscope).

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

[0111] With respect to cameras, client device 106 can have a camera system including, for example, a front camera on a front surface of client device 106 and a rear camera on a rear surface of client device 106. The front 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 camera can be used to capture still images and videos in a more conventional camera mode, which are similarly enhanced with the enhancement data. In addition to the front and rear cameras, client device 106 can also include a 360° camera for capturing 360° photos and videos.

[0112] 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 multiple camera systems may include a wide-angle camera, an ultra-wide-angle camera, a telephoto camera, a macro camera, and a depth sensor.

[0113] The position component 936 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, from which the altitude can be obtained), an orientation sensor component (e.g., a magnetometer), and the like.

[0114] Various technologies may be used to achieve communication. The I / O component 902 also includes a communication component 938 that is operable to couple the machine 900 to the network 922 or device 924 via a corresponding coupling or connection. For example, the communication component 938 may include a network interface component or another suitable device to interface with the network 922. In other examples, the communication component 938 may include a wired communication component, a wireless communication component, a cellular communication component, a near field communication (NFC) component, Components (e.g. Low energy consumption), Components, and other communication components for providing communication via other modalities. Device 924 can be any peripheral device among other machines or various peripheral devices (e.g., a peripheral device coupled via USB).

[0115] In addition, the communication component 938 can detect the identifier or include components operable to detect the identifier. For example, the communication component 938 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, Ultra Code, 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 938, 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.

[0116] Various memories (e.g., main memory 914, static memory 916, and memory of processor 904) and storage unit 918 may store one or more sets of instructions and data structures (e.g., software) used by or implementing any one or more of the methods or functions described herein. These instructions (e.g., instructions 910) when executed by processor 904 cause various operations to implement the disclosed examples.

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

[0118] Software Architecture

[0119] Fig.10 1000 is a block diagram illustrating a software architecture 1004 that can be installed on any one or more of the devices described herein. The software architecture 1004 is supported by hardware, such as a machine 1002, including a processor 1020, a memory 1026, and an I / O component 1038. In this example, the software architecture 1004 can be conceptualized as a stack of layers in which each layer provides specific functionality. The software architecture 1004 includes layers such as an operating system 1012, a library 1010, a framework 1008, and an application 1006. In operation, the application 1006 invokes an API call 1050 through the software stack and receives a message 1052 in response to the API call 1050.

[0120] The operating system 1012 manages hardware resources and provides public services. The operating system 1012 includes, for example, a kernel 1014, services 1016, and drivers 1022. The kernel 1014 acts as an abstraction layer between the hardware layer and other software layers. For example, the kernel 1014 provides memory management, processor management (e.g., scheduling), component management, networking and security settings, and other functions. Services 1016 can provide other public services to other software layers. Drivers 1022 are responsible for controlling or interfacing with the underlying hardware. For example, drivers 1022 may include display drivers, camera drivers, or Low-power drivers, Flash drivers, Serial communication drivers (e.g., USB drivers), Drivers, audio drivers, power management drivers, etc.

[0121] The library 1010 provides a common low-level infrastructure used by the application 1006. The library 1010 may include a system library 1018 (e.g., a C standard library) that provides functions such as memory allocation functions, string manipulation functions, mathematical functions, etc. In addition, the library 1010 may include an API library 1024, such as a media library (e.g., a library for supporting the presentation and manipulation of various media formats, such as Moving Picture Experts Group-4 (MPEG4), Advanced Video Coding (H.264 or AVC), Moving Picture Experts Group Layer-3 (MP3), Advanced Audio Coding (AAC), Adaptive Multi-Rate (AMR) audio codec, Joint Photographic Experts Group (JPEG or JPG), or Portable Network Graphics (PNG)), a graphics library (e.g., an OpenGL framework for presenting in two dimensions (2D) and three dimensions (3D) in graphics content on a display), a database library (e.g., SQLite providing various relational database functions), a web library (e.g., WebKit providing web browsing functions), etc. The library 1010 may also include various other libraries 1028 to provide many other APIs to the application 1006 .

[0122] The framework 1008 provides a common high-level infrastructure used by the applications 1006. For example, the framework 1008 provides various graphical user interface (GUI) functions, advanced resource management, and advanced location services. The framework 1008 can provide a wide range of other APIs that can be used by the applications 1006, some of which may be specific to a particular operating system or platform.

[0123] In an example, applications 1006 may include a home application 1036, a contacts application 1030, a browser application 1032, a book reader application 1034, a location application 1042, a media application 1044, a messaging application 1046, a game application 1048, and a variety of other applications such as third-party applications 1040. Application 1006 is a program that executes the functions defined in the program. Various programming languages ​​can be used to create one or more applications 1006 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 language or assembly language). In a specific example, third-party applications 1040 (e.g., used by an entity other than the vendor of a particular platform using ANDROID TM or IOS TM Software Development Kit (SDK) can be used to develop applications on platforms such as IOS TM ANDROID TM , Mobile software running on the mobile operating system of the phone or other mobile operating systems. In this example, the third-party application 1040 can activate the API call 1050 provided by the operating system 1012 to facilitate the functions described in this article.

[0124] Glossary

[0125] "Carrier signal" refers to any intangible medium that can store, encode or carry instructions for execution by a machine and includes digital or analog communications signals or other intangible media to facilitate communication of such instructions. Instructions may be sent or received over a network using a transmission medium via a network interface device.

[0126] "Client Device" refers to any machine that interfaces with a communications network to obtain resources from one or more server systems or other client devices. A client device may be, but is not limited to, a mobile phone, a desktop computer, a laptop computer, a portable digital assistant (PDA), a smart phone, a tablet computer, an ultrabook, a netbook, a laptop computer, a multiprocessor system, a microprocessor-based or programmable consumer electronics product, a game console, a set-top box, or any other communications device that a user may use to access a network.

[0127] "Communications network" means one or more parts of a network, which may be an ad hoc network, an intranet, an extranet, a virtual private network (VPN), a local area network (LAN), a wireless LAN (WLAN), a wide area network (WAN), a wireless WAN (WWAN), a metropolitan area network (MAN), the Internet, a part of the Internet, a part of the public switched telephone network (PSTN), a plain old telephone service (POTS) network, a cellular telephone network, a wireless network, A network, other type of network, or a combination of two or more such networks. For example, the network or a portion of the network may include a wireless network or a cellular network, and the coupling may be a code division multiple access (CDMA) connection, a global system for mobile communications (GSM) connection, or other type of cellular or wireless coupling. In this example, the coupling may implement any of various types of data transmission technologies, such as single carrier radio transmission technology (1xRTT), evolution data optimized (EVDO) technology, general packet radio service (GPRS) technology, enhanced data rate for GSM evolution (EDGE) technology, including the third generation partnership project (3GPP) of 3G, fourth generation wireless (4G) network, universal mobile telecommunications system (UMTS), high speed packet access (HSPA), world wide interoperability for microwave access (WiMAX), long term evolution (LTE) standard, other data transmission technologies defined by various standard setting organizations, other long distance protocols, or other data transmission technologies.

[0128] "Component" refers to a device, physical entity or logic with the following boundaries, which is defined by function or subroutine calls, branch points, APIs or other technologies that provide partitioning or modularization for specific processing or control functions. Components can be combined with other components via their interfaces to perform machine processing. Components can be packaged functional hardware units designed for use with other components, and can be part of a program that generally performs specific functions in related functions. Components can constitute software components (e.g., codes implemented on machine-readable media) or hardware components. "Hardware components" are tangible units that can perform certain operations and can be configured or arranged in a certain physical manner. In various example embodiments, one or more computer systems (e.g., independent computer systems, client computer systems, or server computer systems) or one or more hardware components (e.g., processors or processor groups) of a computer system can be configured by software (e.g., applications or application parts) to operate to perform certain operations described herein. Hardware components can also be implemented mechanically, electronically, or in any suitable combination thereof. For example, a hardware component may include a dedicated circuit system or logic that is permanently configured to perform certain operations. The hardware component can be a dedicated processor such as a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC). The hardware component can also include a programmable logic or circuit system that is temporarily configured to perform certain operations by software. For example, the hardware component can include software executed by a general-purpose processor or other programmable processor. Once configured by such software, the hardware component becomes a specific machine (or a specific component of a machine) that is uniquely customized to perform the configured function, and is no longer a general-purpose processor. It will be recognized that it can be decided to implement the hardware component mechanically, in a dedicated and permanently configured circuit system, or in a temporarily configured (e.g., configured by software) circuit system for cost and time considerations. Accordingly, the phrase "hardware component" (or "hardware-implemented component") should be understood to include a tangible entity, that is, an entity that is physically constructed, permanently configured (e.g., hardwired) or temporarily configured (e.g., programmed) to operate in some way or perform certain operations described herein. Considering an embodiment in which the hardware component is temporarily configured (e.g., programmed), it is not necessary to configure or instantiate each of the hardware components at any time. For example, in the case where a hardware component includes a general-purpose processor that is configured by software to become a special-purpose processor, the general-purpose processor can be configured as different special-purpose processors (e.g., including different hardware components) at different times. The software configures one or more specific processors accordingly to constitute a specific hardware component, for example, at one time, and to constitute different hardware components at different times. Hardware components can provide information to other hardware components and receive information from other hardware components. Therefore, the described hardware components can be considered to be communicatively coupled.In the case of multiple hardware components being present at the same time, communication can be achieved by signal transmission between or among two or more hardware components (e.g., by appropriate circuits and buses). In an embodiment in which multiple hardware components are configured or instantiated at different times, communication between such hardware components can be achieved, for example, by storing information in a memory structure accessed by multiple hardware components and retrieving information in the memory structure. For example, a hardware component can perform an operation, and the output of the operation is stored in a memory device to which it is communicatively coupled. Then, other hardware components can access the memory device at a subsequent time to retrieve and process the stored output. The hardware component can also initiate communication with an input device or an output device, and can operate on resources (e.g., a collection of information). The various operations of the example methods described herein can be performed at least in part by one or more processors that are temporarily configured (e.g., by software) or permanently configured to perform related operations. Whether temporarily configured or permanently configured, such a processor can constitute a processor-implemented component that operates to perform one or more operations or functions described herein. As used herein, "processor-implemented components" refer to hardware components implemented using one or more processors. Similarly, the method described herein can be implemented at least in part by a processor, wherein specific one or more processors are examples of hardware. For example, at least some operations in the operation of the method can be performed by one or more processors 1020 or the parts implemented by the processor. In addition, one or more processors can also be operated to support the execution of related operations in a "cloud computing" environment or operate as "software as a service" (SaaS). For example, at least some operations in the operation can be performed by a group of computers (as an example of a machine including a processor), wherein these operations can be accessed via a network (for example, the Internet) and via one or more appropriate interfaces (for example, API). The execution of certain operations can be distributed between processors, not only resident in a single machine, but deployed across multiple machines. In some example embodiments, a processor or a part implemented by a processor can be located in a single geographical location (for example, in a home environment, an office environment, or a server cluster). In other example embodiments, a processor or a part implemented by a processor can be distributed across multiple geographical locations.

[0129] "Computer-readable storage media" refers to both machine storage media and transmission media. Therefore, these terms include both storage devices / media and carrier / modulated data signals. The terms "machine-readable medium", "computer-readable medium" and "device-readable medium" mean the same thing and can be used interchangeably in this disclosure.

[0130] “Machine storage media” refers to a single or multiple storage devices and media (e.g., centralized or distributed databases, and associated caches and servers) that store executable instructions, routines, and data. Thus, the term should be considered to include, but is not limited to, solid-state memory and optical and magnetic media, including memory internal or external to the processor. Specific examples of machine storage media, computer storage media, and device storage media include: non-volatile memory, including, for example, semiconductor memory devices such as erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), FPGA, and flash memory devices; magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The terms “machine storage media,” “device storage media,” and “computer storage media” mean the same thing and are used interchangeably in this disclosure. The terms “machine storage media,” “computer storage media,” and “device storage media” expressly exclude carrier waves, modulated data signals, and other such media, at least some of which are encompassed by the term “signal media.”

[0131] “Non-transitory computer-readable storage medium” refers to tangible media capable of storing, encoding, or carrying instructions to be executed by a machine.

[0132] "Signal medium" refers to any intangible medium that is capable of storing, encoding or carrying instructions to be executed by a machine, and includes digital or analog communication signals or other intangible media to facilitate the communication of software or data. The term "signal medium" should be deemed to include any form of modulated data signal, carrier wave, etc. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The terms "transmission medium" and "signal medium" mean the same thing and may be used interchangeably in this disclosure.

Claims

1. A method for providing a user interface through a messaging application software development kit (SDK) included by a third-party resource, the third-party resource running on a portable device including a camera and a display, the method include: The SDK receives an API call for displaying an image processing user interface; displaying a first user interface on a display of the portable device, the first user interface comprising a list of selectable graphical items corresponding to a set of available image modification features, wherein a last item in the list of selectable graphical items is a logo identifying a provider of the SDK; receiving a user selection of a desired graphical item from the list of selectable graphical items; applying an image modification feature corresponding to the desired graphical item to an image received from the camera device to generate a modified image; displaying a second user interface including the modified image on a display of the portable device; receiving a user selection of the logo; and A call to an app store or to an application provided by a provider of the SDK is provided by the SDK included by the third party resource to open the messaging application provided by the provider of the SDK to a user interface having additional image modification features available for selection by a user.

2. The method according to claim 1, in, The first user interface or the second user interface includes another logo related to a provider of the SDK.

3. The method according to claim 2, further comprising: include: receiving a user selection of the another logo; as well as Open the messaging application provided by the SDK provider.

4. The method according to claim 3, in, The messaging application is opened to a user interface in which an image modification feature corresponding to the desired graphical item is active, or to a profile specified by the third party resource.

5. The method according to claim 1, in, The second user interface also includes a text overlay that includes a name of a creator of the image-modifying feature corresponding to the desired graphical item.

6. The method according to claim 1, in, The second user interface also includes a user interface element that is customizable by a developer of the third-party resource and that, when selected, causes an action related to the third-party resource or to the developer of the third-party resource.

7. A system, include: one or more processors of a machine; Camera device; monitor; as well as a memory storing instructions, the instructions comprising a software development kit (SDK) included by a third-party software application, the instructions, when executed by at least one of the one or more processors, causing the machine to perform operations, the operations comprising: The SDK receives an API call for displaying an image processing user interface; displaying on the display a first user interface, the first user interface comprising a list of selectable graphical items corresponding to a set of available image modification features, wherein a last item in the list of selectable graphical items is a logo identifying a provider of the SDK; receiving a user selection of a desired graphical item from the list of selectable graphical items; applying, by the SDK, an image modification feature corresponding to the desired graphical item to an image received from the camera device to generate a modified image; displaying a second user interface including the modified image on the display; receiving a user selection of the logo; and A call to an app store or to an application provided by a provider of the SDK is provided by the SDK included with the third party software application to open the messaging application provided by the provider of the SDK to a user interface having additional image modification features available for selection by the user.

8. The system according to claim 7, in, The first user interface or the second user interface includes another logo related to a provider of the SDK.

9. The system according to claim 8, in, The operations also include: receiving a user selection of the another logo; and Open the messaging application provided by the SDK provider.

10. The system according to claim 9, in, The messaging application is opened to a user interface in which an image modification feature corresponding to the desired graphical item is active, or to a profile specified by the third party software application.

11. The system according to claim 7, in, The second user interface also includes a text overlay that includes a name of a creator of the image-modifying feature corresponding to the desired graphical item.

12. The system according to claim 7, in, The second user interface also includes a user interface element that is customizable by a developer of the third-party software application and that, when selected, causes an action related to the third-party software application or to the developer of the third-party software application.

13. A non-transitory machine-readable storage medium containing instructions, the instructions comprising an SDK included by a third-party resource, the instructions, when executed by a portable device including a camera and a display, causing the portable device to perform an operation, the operation include: The SDK receives an API call for displaying an image processing user interface; displaying a first user interface on a display of the portable device, the first user interface comprising a list of selectable graphical items corresponding to a set of available image modification features, wherein a last item in the list of selectable graphical items is a logo identifying a provider of the SDK; receiving a user selection of a desired graphical item from the list of selectable graphical items; applying, by the SDK, an image modification feature corresponding to the desired graphical item to an image received from the camera device to generate a modified image; displaying a second user interface including the modified image on a display of the portable device; receiving a user selection of the logo; and A messaging application provided by the provider of the SDK is opened to a user interface having additional image modification features available for user selection by the SDK provided by the SDK included by the third party resource to an app store or to an application provided by the provider of the SDK.

14. The non-transitory machine-readable storage medium of claim 13, in, The first user interface or the second user interface includes another logo related to a provider of the SDK.

15. The non-transitory machine-readable storage medium of claim 14, in, The operations also include: receiving a user selection of the another logo; and Open the messaging application provided by the SDK provider.

16. The non-transitory machine-readable storage medium of claim 13, in, The second user interface also includes a user interface element that is customizable by a developer of the third-party resource and that, when selected, causes an action related to the third-party resource or to the developer of the third-party resource.

Citation Information

Patent Citations

  • Interface carousel for use with image processing software development kit

    US11604562B2

  • Creative camera

    CN110460797A

  • Creative camera

    CN110460799A