Social network systems often enable users to upload media content such as photos, and enable users to create photo albums. Social network systems also enable users to share photos with each other. For example, users can share photos with friends and family, which provides enjoyable and bonding experiences among users of a social network system.
Implementations generally relate to providing recommended actions for photos. In some implementations, a method includes obtaining activity data associated with one or more actions of a performing user, where the activity data involves at least one first photo. The method further includes performing or suggesting one or more actions to one or more second photos based on one or more predetermined similarity criteria.
With further regard to the method, in some implementations, the activity data is historical activity data. In some implementations, the activity data includes sharing the at least one first photo. In some implementations, the activity data includes posting the at least one first photo. In some implementations, the activity data includes adding the at least one first photo to a photo album. In some implementations, at least one of the one or more actions includes recommending that the performing user share the one or more second photos. In some implementations, at least one of the one or more actions includes adding the one or more second photos to a photo album. In some implementations, the predetermined similarity criteria includes a determination of visual similarity between the one or more second photos and the at least one first photo. In some implementations, the predetermined similarity criteria includes a determination of categorical similarity between the one or more second photos and the at least one first photo. In some implementations, the method further includes predicting a desired action of the performing user based on the activity data.
In some implementations, a method includes obtaining activity data associated with one or more actions of a performing user, where the activity data involves at least one first photo, where the activity data is historical activity data, and where the activity data includes sharing the at least one first photo. The method further includes performing or suggesting one or more actions to one or more second photos based on one or more predetermined similarity criteria, where the predetermined similarity criteria includes a determination of visual similarity between the one or more second photos and the at least one first photo.
With further regard to the method, in some implementations, at least one of the one or more actions includes recommending that the performing user share the one or more second photos. In some implementations, at least one of the one or more actions includes adding the one or more second photos to a photo album. In some implementations, the method further includes predicting a desired action of the performing user based on the activity data.
In some implementations, a system includes one or more processors, and logic encoded in one or more tangible media for execution by the one or more processors. When executed, the logic is operable to perform operations including: obtaining activity data associated with one or more actions of a performing user, where the activity data involves at least one first photo; and performing or suggesting one or more actions to one or more second photos based on one or more predetermined similarity criteria.
With further regard to the system, in some implementations, the activity data is historical activity data. In some implementations, the activity data includes sharing the at least one first photo. In some implementations, the activity data includes posting the at least one first photo. In some implementations, the activity data includes adding the at least one first photo to a photo album. In some implementations, at least one of the one or more actions includes recommending that the performing user share the one or more second photos.
Implementations described herein provide recommended actions associated with photos. In various implementations, a system obtains activity data associated with one or more actions of a user. For example, the activity data may involve a given first photo. In some implementations, the activity data includes historical activity data associated with that first photo. For example, the activity data may be associated with the user who captured the photo sending particular photos to one or more other users (e.g., one or more family members) in a social network system. Such activity data may also include the user posting particular photos to other users (e.g., to more family members). In some implementations, the activity data may include the user adding particular photos to a photo album (e.g., an existing photo album called “Family Reunion 2013” or a newly created photo album called “Family Reunion 2014”).
The system then performs one or more actions to one or more other photos based on one or more predetermined similarity criteria. Such other photos may include, for example, new photos that the user has taken. In some implementations, at least one of the actions may include the system recommending that the user share the photos or add the photos to a photo album. In some implementations, the predetermined similarity criteria may include a determination of visual similarity between the one or more other photos and the at least one first photo. For example, the system may determine that the photos are of the same person. In some implementations, the predetermined similarity criteria includes a determination of categorical similarity between the one or more second photos and the at least one first photo. For example, the system may determine that the photos are of similar landmarks. In some implementations, the system further predicts a desired action of the performing user based on the activity data. For example, the system may predict that the user would want to share particular photos with particular people.
For ease of illustration,
In various implementations, users U1, U2, U3, and U4 may communicate with each other using respective client devices 110, 120, 130, and 140. For example, users U1, U2, U3, and U4 may share media such as photos with each other, where respective client devices 110, 120, 130, and 140 transmit media to each other.
In the various implementations described herein, the processor of system 102 causes the elements described herein (e.g., photos, recommendations, etc.) to be displayed in a user interface on one or more display screens.
In various implementations, system 102 may utilize a recognition algorithm to detect and/or recognize faces and other objects in photos. Example implementations of recognition algorithms are described in more detail below.
The following examples are actions that the performing user might take with regard to a given photo. For ease of illustration, in various implementations, the given photo may be referred to a first photo. Also, for ease of illustration, various example implementations are described in the context of a single, first photo. These implementations and others may also apply to multiple photos. Such photos may be referred to as photos of a first set, or referred to as a set of first photos.
In various implementations, the activity data may include sharing one or more photos of a first set. For example, referring to
In some implementations, the activity data may include posting the at least one first photo. For example, still referring to
In some implementations, the activity data includes adding the at least one first photo to a photo album. For example, system 102 may log that user U1 added Photo 1 to a particular photo album (e.g., Album 1). In another example, user U1 may, at a future time, add Photo 1 to one or more other photo albums.
Still referring to
In block 204 of
While some implementations have been describe in the context of adding a new photo to the same photo album as an older, similar photo, these implementations and others also apply to adding the new photo to another photo album. System 102 may create a new photo album after a predetermined amount of time has passed. For example, instead of adding new photos to a family reunion 2013 photo album, system 102 may add the new photos to a newly created family reunion 2014 photo album.
In various implementations, system 102 predicts one or more desired actions of the performing user based on activity data. For example, system 102 may predict that the user would want to share one or more particular photos with one or more particular people. In another example, system 102 may predict that the user would want to post one or more particular photos. In another example, system 102 may predict that the user would want to add one or more particular photos to one or more particular photo albums. Particular example implementations are described in more detail below.
In various implementations, the predetermined similarity criteria may include a determination of visual similarity between the one or more second photos and the at least one first photo. For example, the system may determine that the photos are of the same person. As such, referring again to
As indicated above, in various implementations, system 102 may utilize a recognition algorithm to detect and/or recognize faces and other objects in photos. Example implementations of recognition algorithms are described in more detail below.
In various implementations, the predetermined similarity criteria may include a determination of categorical similarity between the one or more second photos and the at least one first photo. For example, the system may determine that the photos are of landmarks. As such, referring still to
In various implementations described herein, system 102 may use machine-learning algorithms (e.g., supervised learning). Such machine-learning algorithms may deal with conflicting and/or incomplete signals, which are inevitable in practice. In various implementations, other signals (e.g., location data, etc.) may be used when applying a machine-learning algorithms. In some implementations, when the number of similarity signals and potential actions is significant, system 102 may use a supervised learning algorithm to collect the necessary historical data and make predictions and this allows usage of other signals.
Implementations described herein provide various benefits. For example, implementations described herein increase overall engagement among users in a social networking environment. Implementations facilitate the sharing of photos among users in a social networking environment.
Although the steps, operations, or computations may be presented in a specific order, the order may be changed in particular implementations. Other orderings of the steps are possible, depending on the particular implementation. In some particular implementations, multiple steps shown as sequential in this specification may be performed at the same time. Also, some implementations may not have all of the steps shown and/or may have other steps instead of, or in addition to, those shown herein.
While system 102 is described as performing the steps as described in the implementations herein, any suitable component or combination of components of system 102 or any suitable processor or processors associated with system 102 may perform the steps described.
In various implementations, system 102 may utilize a variety of recognition algorithms to recognize faces, landmarks, objects, etc. in images. Such recognition algorithms may be integral to system 102. System 102 may also access recognition algorithms provided by software that is external to system 102 and that system 102 accesses.
In various implementations, system 102 enables users of the social network system to specify and/or consent to the use of personal information, which may include system 102 using their faces in images or using their identity information in recognizing people identified in images. For example, system 102 may provide users with multiple selections directed to specifying and/or consenting to the use of personal information. For example, selections with regard to specifying and/or consenting may be associated with individual images, all images, individual photo albums, all photo albums, etc. The selections may be implemented in a variety of ways. For example, system 102 may cause buttons or check boxes to be displayed next to various selections. In some implementations, system 102 enables users of the social network to specify and/or consent to the use of using their images for facial recognition in general. Example implementations for recognizing faces and other objects are described in more detail below.
In situations in which the systems discussed here collect personal information about users, or may make use of personal information, the users may be provided with an opportunity to control whether programs or features collect user information (e.g., information about a user's social network, social actions or activities, profession, a user's preferences, or a user's current location), or to control whether and/or how to receive content from the content server that may be more relevant to the user. In addition, certain data may be treated in one or more ways before it is stored or used, so that personally identifiable information is removed. For example, a user's identity may be treated so that no personally identifiable information can be determined for the user, or a user's geographic location may be generalized where location information is obtained (such as to a city, ZIP code, or state level), so that a particular location of a user cannot be determined. Thus, the user may have control over how information is collected about the user and used by a content server.
In various implementations, system 102 obtains reference images of users of the social network system, where each reference image includes an image of a face that is associated with a known user. The user is known, in that system 102 has the user's identity information such as the user's name and other profile information. In some implementations, a reference image may be, for example, a profile image that the user has uploaded. In some implementations, a reference image may be based on a composite of a group of reference images.
In some implementations, to recognize a face in an image, system 102 may compare the face (e.g., image of the face) and match the face to reference images of users of the social network system. Note that the term “face” and the phrase “image of the face” are used interchangeably. For ease of illustration, the recognition of one face is described in some of the example implementations described herein. These implementations may also apply to each face of multiple faces to be recognized.
In some implementations, system 102 may search reference images in order to identify any one or more reference images that are similar to the face in the image. In some implementations, for a given reference image, system 102 may extract features from the image of the face in an image for analysis, and then compare those features to those of one or more reference images. For example, system 102 may analyze the relative position, size, and/or shape of facial features such as eyes, nose, cheekbones, mouth, jaw, etc. In some implementations, system 102 may use data gathered from the analysis to match the face in the image to one more reference images with matching or similar features. In some implementations, system 102 may normalize multiple reference images, and compress face data from those images into a composite representation having information (e.g., facial feature data), and then compare the face in the image to the composite representation for facial recognition.
In some scenarios, the face in the image may be similar to multiple reference images associated with the same user. As such, there would be a high probability that the person associated with the face in the image is the same person associated with the reference images.
In some scenarios, the face in the image may be similar to multiple reference images associated with different users. As such, there would be a moderately high yet decreased probability that the person in the image matches any given person associated with the reference images. To handle such a situation, system 102 may use various types of facial recognition algorithms to narrow the possibilities, ideally down to one best candidate.
For example, in some implementations, to facilitate in facial recognition, system 102 may use geometric facial recognition algorithms, which are based on feature discrimination. System 102 may also use photometric algorithms, which are based on a statistical approach that distills a facial feature into values for comparison. A combination of the geometric and photometric approaches could also be used when comparing the face in the image to one or more references.
Other facial recognition algorithms may be used. For example, system 102 may use facial recognition algorithms that use one or more of principal component analysis, linear discriminate analysis, elastic bunch graph matching, hidden Markov models, and dynamic link matching. It will be appreciated that system 102 may use other known or later developed facial recognition algorithms, techniques, and/or systems.
In some implementations, system 102 may generate an output indicating a likelihood (or probability) that the face in the image matches a given reference image. In some implementations, the output may be represented as a metric (or numerical value) such as a percentage associated with the confidence that the face in the image matches a given reference image. For example, a value of 1.0 may represent 100% confidence of a match. This could occur, for example, when compared images are identical or nearly identical. The value could be lower, for example 0.5 when there is a 50% chance of a match. Other types of outputs are possible. For example, in some implementations, the output may be a confidence score for matching.
For ease of illustration, some example implementations described above have been described in the context of a facial recognition algorithm. Other similar recognition algorithms and/or visual search systems may be used to recognize objects such as landmarks, logos, entities, events, etc. in order to implement implementations described herein.
For ease of illustration,
Although the description has been described with respect to particular embodiments thereof, these particular embodiments are merely illustrative, and not restrictive. Concepts illustrated in the examples may be applied to other examples and implementations. For example, some implementations are described herein in the context of a social network system. However, the implementations described herein may apply in contexts other than a social network. For example, implementations may apply locally for an individual user.
Note that the functional blocks, methods, devices, and systems described in the present disclosure may be integrated or divided into different combinations of systems, devices, and functional blocks as would be known to those skilled in the art.
Any suitable programming languages and programming techniques may be used to implement the routines of particular embodiments. Different programming techniques may be employed such as procedural or object-oriented. The routines may execute on a single processing device or multiple processors. Although the steps, operations, or computations may be presented in a specific order, the order may be changed in different particular embodiments. In some particular embodiments, multiple steps shown as sequential in this specification may be performed at the same time.
A “processor” includes any suitable hardware and/or software system, mechanism or component that processes data, signals or other information. A processor may include a system with a general-purpose central processing unit, multiple processing units, dedicated circuitry for achieving functionality, or other systems. Processing need not be limited to a geographic location, or have temporal limitations. For example, a processor may perform its functions in “real-time,” “offline,” in a “batch mode,” etc. Portions of processing may be performed at different times and at different locations, by different (or the same) processing systems. A computer may be any processor in communication with a memory. The memory may be any suitable data storage, memory and/or non-transitory computer-readable storage medium, including electronic storage devices such as random-access memory (RAM), read-only memory (ROM), magnetic storage device (hard disk drive or the like), flash, optical storage device (CD, DVD or the like), magnetic or optical disk, or other tangible media suitable for storing instructions for execution by the processor. For example, a tangible medium such as a hardware storage device can be used to store the control logic, which can include executable instructions. The software instructions can also be contained in, and provided as, an electronic signal, for example in the form of software as a service (SaaS) delivered from a server (e.g., a distributed system and/or a cloud computing system).