雨果巴拉:行业北极星Vision Pro过度设计不适合市场

Facebook Patent | Image segmentation with touch interaction

Patent: Image segmentation with touch interaction

Drawings: Click to check drawins

Publication Number: 20210004963

Publication Date: 20210107

Applicant: Facebook

Abstract

In one embodiment, a method includes detecting objects in an image. The method includes accessing a mask for each object. The method includes receiving an input in relation to the image. The input corresponds to an input region and an input type. The method includes identifying a region of the image corresponding to the input region of the input. The identified region of the image includes one or more of the masks. The method includes providing feedback regarding the one or objects in the identified region of the image based on the input type.

Claims

  1. A method comprising: by a computing device, detecting a plurality of objects in an image; by the computing device, accessing a mask for each object of the plurality of objects; by the computing device, receiving an input in relation to the image, wherein the input corresponds to an input region and an input type; by the computing device, identifying a region of the image corresponding to the input region of the input, wherein the identified region of the image comprises one or more of the plurality of masks; and by the computing device, providing feedback regarding the one or objects in the identified region of the image based on the input type.

  2. The method of claim 1, further comprising: accessing a classification based on the one or more objects in the identified region of the image, wherein the feedback further includes information about the classification for the one or more objects.

  3. The method of claim 2, further comprising: identifying the one or more objects in the identified region of the image based on the accessed classification, wherein the feedback further includes information about the identification of the one or more objects in the identified region of the image.

  4. The method of claim 1, wherein the input type of the input is a point input, the method further comprising: identifying a location in the input region associated with the input; and selecting an object of the one or more objects in the identified region of the image based on the location in the input region associated with the input.

  5. The method of claim 1, wherein the input type of the input is a gesture input, the method further comprising: identifying a first location in the input region associated with the input and a second location in the input region associated with the input, wherein the feedback is based on the first location and second location or a relationship between the first location and the second location.

  6. The method of claim 1, further comprising: accessing contextual data associated with the image, wherein the feedback regarding the one or more objects in the identified region of the image is further based on the contextual data associated with the image.

  7. The method of claim 6, wherein the contextual data associated with the image comprises: geo-location data associated with the image; or one or more related images.

  8. The method of claim 1, wherein the mask for each object of the plurality of objects is defined by a corresponding perimeter, the method further comprising determining that the identified region of the image comprises one or more of the plurality of masks by comparing the identified region to the corresponding perimeter of the masks.

  9. The method of claim 1, further comprising: identifying a relationship between the one or more objects, wherein the feedback comprises information about the relationship between the one or more objects.

  10. The method of claim 9, wherein the relationship between the one or more objects is identified using an image segmentation algorithm or image classification algorithm.

  11. The method of claim 1, further comprising: determining a size ratio between a first object of the one or more objects and a second object of the one or more objects in the identified region, wherein the feedback describes the size ratio between the first object and the second object.

  12. The method of claim 1, further comprising: determining a position of a first object of the one or more objects relative to a second object of the one or more objects in the identified region, wherein the feedback describes the position of the first object relative to the second object.

  13. The method of claim 1, further comprising: determining that a first object of the one or more objects overlaps a second object of the one or more objects in the identified region, wherein the feedback indicates that the first object overlaps the second object.

  14. The method of claim 1, further comprising: determining that a first object of the one or more objects contains one or more second objects of the one or more objects in the identified region, wherein the feedback indicates that the first object contains the second objects.

  15. The method of claim 14, wherein the feedback further includes a list of the one or more second objects contained within the first object.

  16. The method of claim 14, wherein a size threshold is associated with one or more of the second objects, and wherein the feedback further includes descriptions of the second objects that satisfy the size threshold.

  17. The method of claim 1, wherein the feedback regarding the one or more objects comprises: a description of the one or more objects; a name associated with the one or more objects; or information associated with the one or more objects accessed from a social-networking system.

  18. The method of claim 1, wherein the feedback comprises: audio output; text output; haptic feedback; or Braille script.

  19. One or more computer-readable non-transitory storage media embodying software that is operable when executed by one or more processors, cause the one or more processors to perform operations comprising: detecting a plurality of objects in an image; accessing a mask for each object of the plurality of objects; receiving an input in relation to the image, wherein the input corresponds to an input region and an input type; identifying a region of the image corresponding to the input region of the input, wherein the identified region of the image comprises one or more of the plurality of masks; and providing feedback regarding the one or objects in the identified region of the image based on the input type.

  20. A system comprising: one or more processors; and a memory coupled to the processors comprising instructions executable by the processors, the processors being operable when executing the instructions to perform operations comprising: detecting a plurality of objects in an image; accessing a mask for each object of the plurality of objects; receiving an input in relation to the image, wherein the input corresponds to an input region and an input type; identifying a region of the image corresponding to the input region of the input, wherein the identified region of the image comprises one or more of the plurality of masks; and providing feedback regarding the one or objects in the identified region of the image based on the input type.

Description

PRIORITY

[0001] This application is a continuation under 35 U.S.C. .sctn. 120 of U.S. patent application Ser. No. 16/369,750, filed 29 Mar. 2019, now U.S. patent Ser. No. __, which is a continuation under 35 U.S.C. .sctn. 120 of U.S. patent application Ser. No. 15/395,512, filed 30 Dec. 2016, now U.S. Pat. No. 10,249,044.

TECHNICAL FIELD

[0002] This disclosure generally relates to recognition of and interaction with objects in digital images or videos.

BACKGROUND

[0003] A social-networking system, which may include a social-networking website, may enable its users (such as persons or organizations) to interact with it and with each other through it. The social-networking system may, with input from a user, create and store in the social-networking system a user profile associated with the user. The user profile may include demographic information, communication-channel information, and information on personal interests of the user. The social-networking system may also, with input from a user, create and store a record of relationships of the user with other users of the social-networking system, as well as provide services (e.g., wall posts, photo-sharing, event organization, messaging, games, or advertisements) to facilitate social interaction between or among users.

[0004] The social-networking system may send over one or more networks content or messages related to its services to a mobile or other computing device of a user. A user may also install software applications on a mobile or other computing device of the user for accessing a user profile of the user and other data within the social-networking system. The social-networking system may generate a personalized set of content objects to display to a user, such as a newsfeed of aggregated stories of other users connected to the user.

SUMMARY OF PARTICULAR EMBODIMENTS

[0005] In particular embodiments, a system may use image segmentation and classification techniques to automatically identify and classify objects displayed in images, and use the resulting information about the displayed objects and their types to interact with users in ways that may have previously been difficult or impractical to implement. An object may be any suitable identifiable item in an image (e.g., a person, an animal, an arm, a table, a cup, etc.). For example, the information about the objects may be used to describe the content of photos to blind users. An audio description such as “photo contains a girl, a man in a hat, and a table” may be played or spoken by a text-to-speech system. The techniques disclosed herein can, for example, provide immersive experiences that allow users to perceive the objects in a photo by swiping their finger across an image on a touch screen display and having the system describe the objects that are touched.

[0006] In particular embodiments, a user of a virtual reality environment may request that an image be made of a portion of the user’s view, and a mask be generated based on the image. The mask may be generated using image segmentation techniques. The user may then apply the mask to a 3D object in the virtual reality environment. When the mask is applied to a 3D object, the object depicted in the image that corresponds to the mask is incorporated into the 3D object to form a virtual object. The incorporated image or portion thereof may then appear in association with, e.g., as if attached to or rendered onto a surface of, the 3D object in the virtual reality environment, thus forming a new virtual object. For example, the incorporated image may be represented as a photograph attached to the 3D object at a location on the 3D object designated by the user. As another example, the incorporated image may be represented as if it is painted onto the 3D object at a location designated by the user. That is, the mask may be used like a sticker that depicts the incorporated image, and can be affixed to the 3D object while molding its shape to conform to the shape of the 3D object as appropriate.

BRIEF DESCRIPTION OF THE DRAWINGS

[0007] FIG. 1 illustrates an example network environment associated with a social-networking system.

[0008] FIG. 2 illustrates an example social graph.

[0009] FIG. 3 illustrates example objects in an image.

[0010] FIG. 4 illustrates example perimeters of masks for objects in an image.

[0011] FIG. 5 illustrates example masks for objects in an image.

[0012] FIG. 6 illustrates an example method for generating interactive objects based on an image.

[0013] FIG. 7 illustrates an example of applying a mask generated from an image to a three-dimensional object in a virtual reality environment.

[0014] FIG. 8 illustrates an example method for generating a mask from an image and applying the mask object to a three-dimensional object in a virtual reality environment.

[0015] FIG. 9 illustrates an example computer system.

DESCRIPTION OF EXAMPLE EMBODIMENTS

[0016] FIG. 1 illustrates an example network environment 100 associated with a social-networking system. Network environment 100 includes a user 101, a client system 130, a social-networking system 160, and a third-party system 170 connected to each other by a network 110. Although FIG. 1 illustrates a particular arrangement of user 101, client system 130, social-networking system 160, third-party system 170, and network 110, this disclosure contemplates any suitable arrangement of user 101, client system 130, social-networking system 160, third-party system 170, and network 110. As an example and not by way of limitation, two or more of client system 130, social-networking system 160, and third-party system 170 may be connected to each other directly, bypassing network 110. As another example, two or more of client system 130, social-networking system 160, and third-party system 170 may be physically or logically co-located with each other in whole or in part. Moreover, although FIG. 1 illustrates a particular number of users 101, client systems 130, social-networking systems 160, third-party systems 170, and networks 110, this disclosure contemplates any suitable number of users 101, client systems 130, social-networking systems 160, third-party systems 170, and networks 110. As an example and not by way of limitation, network environment 100 may include multiple users 101, client system 130, social-networking systems 160, third-party systems 170, and networks 110.

[0017] In particular embodiments, user 101 may be an individual (human user), an entity (e.g., an enterprise, business, or third-party application), or a group (e.g., of individuals or entities) that interacts or communicates with or over social-networking system 160. In particular embodiments, social-networking system 160 may be a network-addressable computing system hosting an online social network. Social-networking system 160 may generate, store, receive, and send social-networking data, such as, for example, user-profile data, concept-profile data, social-graph information, or other suitable data related to the online social network. Social-networking system 160 may be accessed by the other components of network environment 100 either directly or via network 110. In particular embodiments, social-networking system 160 may include an authorization server (or other suitable component(s)) that allows users 101 to opt in to or opt out of having their actions logged by social-networking system 160 or shared with other systems (e.g., third-party systems 170), for example, by setting appropriate privacy settings. A privacy setting of a user may determine what information associated with the user may be logged, how information associated with the user may be logged, when information associated with the user may be logged, who may log information associated with the user, whom information associated with the user may be shared with, and for what purposes information associated with the user may be logged or shared. Authorization servers may be used to enforce one or more privacy settings of the users of social-networking system 30 through blocking, data hashing, anonymization, or other suitable techniques as appropriate. Client system 130 may be any suitable computing device, such as, for example, a personal computer, a laptop computer, a cellular telephone, a smartphone, a tablet computer, or an augmented/virtual reality device.

[0018] This disclosure contemplates any suitable network 110. As an example and not by way of limitation, one or more portions of network 110 may include 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), a portion of the Internet, a portion of the Public Switched Telephone Network (PSTN), a cellular telephone network, or a combination of two or more of these. Network 110 may include one or more networks 110.

[0019] Links 150 may connect client system 130, social-networking system 160, and third-party system 170 to communication network 110 or to each other. This disclosure contemplates any suitable links 150. In particular embodiments, one or more links 150 include one or more wireline (such as for example Digital Subscriber Line (DSL) or Data Over Cable Service Interface Specification (DOCSIS)), wireless (such as for example Wi-Fi or Worldwide Interoperability for Microwave Access (WiMAX)), or optical (such as for example Synchronous Optical Network (SONET) or Synchronous Digital Hierarchy (SDH)) links. In particular embodiments, one or more links 150 each include an ad hoc network, an intranet, an extranet, a VPN, a LAN, a WLAN, a WAN, a WWAN, a MAN, a portion of the Internet, a portion of the PSTN, a cellular technology-based network, a satellite communications technology-based network, another link 150, or a combination of two or more such links 150. Links 150 need not necessarily be the same throughout network environment 100. One or more first links 150 may differ in one or more respects from one or more second links 150.

[0020] FIG. 2 illustrates example social graph 200. In particular embodiments, social-networking system 160 may store one or more social graphs 200 in one or more data stores. In particular embodiments, social graph 200 may include multiple nodes–which may include multiple user nodes 202 or multiple concept nodes 204–and multiple edges 206 connecting the nodes. Example social graph 200 illustrated in FIG. 2 is shown, for didactic purposes, in a two-dimensional visual map representation. In particular embodiments, a social-networking system 160, client system 130, or third-party system 170 may access social graph 200 and related social-graph information for suitable applications. The nodes and edges of social graph 200 may be stored as data objects, for example, in a data store (such as a social-graph database). Such a data store may include one or more searchable or queryable indexes of nodes or edges of social graph 200.

[0021] In particular embodiments, a user node 202 may correspond to a user of social-networking system 160. As an example and not by way of limitation, a user may be an individual (human user), an entity (e.g., an enterprise, business, or third-party application), or a group (e.g., of individuals or entities) that interacts or communicates with or over social-networking system 160. In particular embodiments, when a user registers for an account with social-networking system 160, social-networking system 160 may create a user node 202 corresponding to the user, and store the user node 202 in one or more data stores. Users and user nodes 202 described herein may, where appropriate, refer to registered users and user nodes 202 associated with registered users. In addition or as an alternative, users and user nodes 202 described herein may, where appropriate, refer to users that have not registered with social-networking system 160. In particular embodiments, a user node 202 may be associated with information provided by a user or information gathered by various systems, including social-networking system 160. As an example and not by way of limitation, a user may provide his or her name, profile picture, contact information, birth date, sex, marital status, family status, employment, education background, preferences, interests, or other demographic information. In particular embodiments, a user node 202 may be associated with one or more data objects corresponding to information associated with a user. In particular embodiments, a user node 202 may correspond to one or more webpages.

[0022] In particular embodiments, a concept node 204 may correspond to a concept. As an example and not by way of limitation, a concept may correspond to a place (such as, for example, a movie theater, restaurant, landmark, or city); a website (such as, for example, a website associated with social-network system 160 or a third-party website associated with a web-application server); an entity (such as, for example, a person, business, group, sports team, or celebrity); a resource (such as, for example, an audio file, video file, digital photo, text file, structured document, or application) which may be located within social-networking system 160 or on an external server, such as a web-application server; real or intellectual property (such as, for example, a sculpture, painting, movie, game, song, idea, photograph, or written work); a game; an activity; an idea or theory; an object in a augmented/virtual reality environment; another suitable concept; or two or more such concepts. A concept node 204 may be associated with information of a concept provided by a user or information gathered by various systems, including social-networking system 160. As an example and not by way of limitation, information of a concept may include a name or a title; one or more images (e.g., an image of the cover page of a book); a location (e.g., an address or a geographical location); a website (which may be associated with a URL); contact information (e.g., a phone number or an email address); other suitable concept information; or any suitable combination of such information. In particular embodiments, a concept node 204 may be associated with one or more data objects corresponding to information associated with concept node 204. In particular embodiments, a concept node 204 may correspond to one or more webpages.

[0023] In particular embodiments, a node in social graph 200 may represent or be represented by a webpage (which may be referred to as a “profile page”). Profile pages may be hosted by or accessible to social-networking system 160. Profile pages may also be hosted on third-party websites associated with a third-party server 170. As an example and not by way of limitation, a profile page corresponding to a particular external webpage may be the particular external webpage and the profile page may correspond to a particular concept node 204. Profile pages may be viewable by all or a selected subset of other users. As an example and not by way of limitation, a user node 202 may have a corresponding user-profile page in which the corresponding user may add content, make declarations, or otherwise express himself or herself. As another example and not by way of limitation, a concept node 204 may have a corresponding concept-profile page in which one or more users may add content, make declarations, or express themselves, particularly in relation to the concept corresponding to concept node 204.

[0024] In particular embodiments, a concept node 204 may represent a third-party webpage or resource hosted by a third-party system 170. The third-party webpage or resource may include, among other elements, content, a selectable or other icon, or other inter-actable object (which may be implemented, for example, in JavaScript, AJAX, or PHP codes) representing an action or activity. As an example and not by way of limitation, a third-party webpage may include a selectable icon such as “like,” “check-in,” “eat,” “recommend,” or another suitable action or activity. A user viewing the third-party webpage may perform an action by selecting one of the icons (e.g., “check-in”), causing a client system 130 to send to social-networking system 160 a message indicating the user’s action. In response to the message, social-networking system 160 may create an edge (e.g., a check-in-type edge) between a user node 202 corresponding to the user and a concept node 204 corresponding to the third-party webpage or resource and store edge 206 in one or more data stores.

[0025] In particular embodiments, a pair of nodes in social graph 200 may be connected to each other by one or more edges 206. An edge 206 connecting a pair of nodes may represent a relationship between the pair of nodes. In particular embodiments, an edge 206 may include or represent one or more data objects or attributes corresponding to the relationship between a pair of nodes. As an example and not by way of limitation, a first user may indicate that a second user is a “friend” of the first user. In response to this indication, social-networking system 160 may send a “friend request” to the second user. If the second user confirms the “friend request,” social-networking system 160 may create an edge 206 connecting the first user’s user node 202 to the second user’s user node 202 in social graph 200 and store edge 206 as social-graph information in one or more of data stores 164. In the example of FIG. 2, social graph 200 includes an edge 206 indicating a friend relation between user nodes 202 of user “A” and user “B” and an edge indicating a friend relation between user nodes 202 of user “C” and user “B.” Although this disclosure describes or illustrates particular edges 206 with particular attributes connecting particular user nodes 202, this disclosure contemplates any suitable edges 206 with any suitable attributes connecting user nodes 202. As an example and not by way of limitation, an edge 206 may represent a friendship, family relationship, business or employment relationship, fan relationship (including, e.g., liking, etc.), follower relationship, visitor relationship (including, e.g., accessing, viewing, checking-in, sharing, etc.), subscriber relationship, superior/subordinate relationship, reciprocal relationship, non-reciprocal relationship, another suitable type of relationship, or two or more such relationships. Moreover, although this disclosure generally describes nodes as being connected, this disclosure also describes users or concepts as being connected. Herein, references to users or concepts being connected may, where appropriate, refer to the nodes corresponding to those users or concepts being connected in social graph 200 by one or more edges 206.

[0026] In particular embodiments, an edge 206 between a user node 202 and a concept node 204 may represent a particular action or activity performed by a user associated with user node 202 toward a concept associated with a concept node 204. As an example and not by way of limitation, as illustrated in FIG. 2, a user may “like,” “attended,” “played,” “listened,” “cooked,” “worked at,” or “watched” a concept, each of which may correspond to an edge type or subtype. A concept-profile page corresponding to a concept node 204 may include, for example, a selectable “check in” icon (such as, for example, a clickable “check in” icon) or a selectable “add to favorites” icon. Similarly, after a user clicks these icons, social-networking system 160 may create a “favorite” edge or a “check in” edge in response to a user’s action corresponding to a respective action. As another example and not by way of limitation, a user (user “C”) may listen to a particular song (“Rainbow”) using a particular application (Music, which is an online music application). In this case, social-networking system 160 may create a “listened” edge 206 and a “used” edge (as illustrated in FIG. 2) between user nodes 202 corresponding to the user and concept nodes 204 corresponding to the song and application to indicate that the user listened to the song and used the application. Moreover, social-networking system 160 may create a “played” edge 206 (as illustrated in FIG. 2) between concept nodes 204 corresponding to the song and the application to indicate that the particular song was played by the particular application. In this case, “played” edge 206 corresponds to an action performed by an external application (Music) on an external audio file (the song “Rainbow”). Although this disclosure describes particular edges 206 with particular attributes connecting user nodes 202 and concept nodes 204, this disclosure contemplates any suitable edges 206 with any suitable attributes connecting user nodes 202 and concept nodes 204. Moreover, although this disclosure describes edges between a user node 202 and a concept node 204 representing a single relationship, this disclosure contemplates edges between a user node 202 and a concept node 204 representing one or more relationships. As an example and not by way of limitation, an edge 206 may represent both that a user likes and has used at a particular concept. Alternatively, another edge 206 may represent each type of relationship (or multiples of a single relationship) between a user node 202 and a concept node 204 (as illustrated in FIG. 2 between user node 202 for user “E” and concept node 204 for “Music”).

[0027] In particular embodiments, social-networking system 160 may create an edge 206 between a user node 202 and a concept node 204 in social graph 200. As an example and not by way of limitation, a user viewing a concept-profile page (such as, for example, by using a web browser or a special-purpose application hosted by the user’s client system 130) may indicate that he or she likes the concept represented by the concept node 204 by clicking or selecting a “Like” icon, which may cause the user’s client system 130 to send to social-networking system 160 a message indicating the user’s liking of the concept associated with the concept-profile page. In response to the message, social-networking system 160 may create an edge 206 between user node 202 associated with the user and concept node 204, as illustrated by “like” edge 206 between the user and concept node 204. In particular embodiments, social-networking system 160 may store an edge 206 in one or more data stores. In particular embodiments, an edge 206 may be automatically formed by social-networking system 160 in response to a particular user action. As an example and not by way of limitation, if a first user uploads a picture, watches a movie, or listens to a song, an edge 206 may be formed between user node 202 corresponding to the first user and concept nodes 204 corresponding to those concepts. Although this disclosure describes forming particular edges 206 in particular manners, this disclosure contemplates forming any suitable edges 206 in any suitable manner.

[0028] In particular embodiments, an advertisement may be text (which may be HTML-linked), one or more images (which may be HTML-linked), one or more videos, audio, other suitable digital object files, a suitable combination of these, or any other suitable advertisement in any suitable digital format presented on one or more webpages, in one or more e-mails, or in connection with search results requested by a user. In addition or as an alternative, an advertisement may be one or more sponsored stories (e.g., a news-feed or ticker item on social-networking system 160). A sponsored story may be a social action by a user (such as “liking” a page, “liking” or commenting on a post on a page, RSVPing to an event associated with a page, voting on a question posted on a page, checking in to a place, using an application or playing a game, or “liking” or sharing a website) that an advertiser promotes, for example, by having the social action presented within a pre-determined area of a profile page of a user or other page, presented with additional information associated with the advertiser, bumped up or otherwise highlighted within news feeds or tickers of other users, or otherwise promoted. The advertiser may pay to have the social action promoted. As an example and not by way of limitation, advertisements may be included among the search results of a search-results page, where sponsored content is promoted over non-sponsored content.

[0029] In particular embodiments, an advertisement may be requested for display within social-networking-system webpages, third-party webpages, or other pages. An advertisement may be displayed in a dedicated portion of a page, such as in a banner area at the top of the page, in a column at the side of the page, in a GUI of the page, in a pop-up window, in a drop-down menu, in an input field of the page, over the top of content of the page, or elsewhere with respect to the page. In addition or as an alternative, an advertisement may be displayed within an application. An advertisement may be displayed within dedicated pages, requiring the user to interact with or watch the advertisement before the user may access a page or utilize an application. The user may, for example view the advertisement through a web browser.

[0030] A user may interact with an advertisement in any suitable manner. The user may click or otherwise select the advertisement. By selecting the advertisement, the user may be directed to (or a browser or other application being used by the user) a page associated with the advertisement. At the page associated with the advertisement, the user may take additional actions, such as purchasing a product or service associated with the advertisement, receiving information associated with the advertisement, or subscribing to a newsletter associated with the advertisement. An advertisement with audio or video may be played by selecting a component of the advertisement (like a “play button”). Alternatively, by selecting the advertisement, social-networking system 160 may execute or modify a particular action of the user.

[0031] An advertisement may also include social-networking-system functionality that a user may interact with. As an example and not by way of limitation, an advertisement may enable a user to “like” or otherwise endorse the advertisement by selecting an icon or link associated with endorsement. As another example and not by way of limitation, an advertisement may enable a user to search (e.g., by executing a query) for content related to the advertiser. Similarly, a user may share the advertisement with another user (e.g., through social-networking system 160) or RSVP (e.g., through social-networking system 160) to an event associated with the advertisement. In addition or as an alternative, an advertisement may include social-networking-system content directed to the user. As an example and not by way of limitation, an advertisement may display information about a friend of the user within social-networking system 160 who has taken an action associated with the subject matter of the advertisement.

[0032] In particular embodiments, one or more of the content objects of the online social network may be associated with a privacy setting. The privacy settings (or “access settings”) for an object may be stored in any suitable manner, such as, for example, in association with the object, in an index on an authorization server, in another suitable manner, or any combination thereof. A privacy setting of an object may specify how the object (or particular information associated with an object) can be accessed (e.g., viewed or shared) using the online social network. Where the privacy settings for an object allow a particular user to access that object, the object may be described as being “visible” with respect to that user. As an example and not by way of limitation, a user of the online social network may specify privacy settings for a user-profile page that identify a set of users that may access the work experience information on the user-profile page, thus excluding other users from accessing the information. In particular embodiments, the privacy settings may specify a “blocked list” of users that should not be allowed to access certain information associated with the object. In other words, the blocked list may specify one or more users or entities for which an object is not visible. As an example and not by way of limitation, a user may specify a set of users that may not access photos albums associated with the user, thus excluding those users from accessing the photo albums (while also possibly allowing certain users not within the set of users to access the photo albums). In particular embodiments, privacy settings may be associated with particular social-graph elements. Privacy settings of a social-graph element, such as a node or an edge, may specify how the social-graph element, information associated with the social-graph element, or content objects associated with the social-graph element can be accessed using the online social network. As an example and not by way of limitation, a particular concept node 204 corresponding to a particular photo may have a privacy setting specifying that the photo may only be accessed by users tagged in the photo and their friends. In particular embodiments, privacy settings may allow users to opt in or opt out of having their actions logged by social-networking system 160 or shared with other systems (e.g., third-party system 170). In particular embodiments, the privacy settings associated with an object may specify any suitable granularity of permitted access or denial of access. As an example and not by way of limitation, access or denial of access may be specified for particular users (e.g., only me, my roommates, and my boss), users within a particular degrees-of-separation (e.g., friends, or friends-of-friends), user groups (e.g., the gaming club, my family), user networks (e.g., employees of particular employers, students or alumni of particular university), all users (“public”), no users (“private”), users of third-party systems 170, particular applications (e.g., third-party applications, external websites), other suitable users or entities, or any combination thereof. Although this disclosure describes using particular privacy settings in a particular manner, this disclosure contemplates using any suitable privacy settings in any suitable manner.

[0033] In particular embodiments, one or more servers 162 may be authorization/privacy servers for enforcing privacy settings. In response to a request from a user (or other entity) for a particular object stored in a data store 164, social-networking system 160 may send a request to the data store 164 for the object. The request may identify the user associated with the request and may only be sent to the user (or a client system 130 of the user) if the authorization server determines that the user is authorized to access the object based on the privacy settings associated with the object. If the requesting user is not authorized to access the object, the authorization server may prevent the requested object from being retrieved from the data store 164, or may prevent the requested object from be sent to the user. In the search query context, an object may only be generated as a search result if the querying user is authorized to access the object. In other words, the object must have a visibility that is visible to the querying user. If the object has a visibility that is not visible to the user, the object may be excluded from the search results. Although this disclosure describes enforcing privacy settings in a particular manner, this disclosure contemplates enforcing privacy settings in any suitable manner.

[0034] In particular embodiments, a system may display an image on a client system 130, then automatically identify objects in the image and provide feedback, such as written or spoken audio descriptions of the objects, in response to user gestures. The gestures may be associated with an image, e.g., gestures that cause the image to be displayed, in which case descriptions of the objects in the image may be provided to the user. The gestures may also touch, point to, or otherwise indicate specific portions of the image, in which case the system may identify specific objects displayed in the image at the locations indicated by the gestures. Descriptions of the identified objects may then be provided to the user. An object may be any suitable identifiable item in an image (e.g., a person, an animal, an arm, a leg, a cup, etc.). Objects of many types can be identified accurately by a human viewing the image. For example, FIG. 3 illustrates several objects in an image, including a person, two animals sitting at a table, and several tea cups and a tea pot on the table.

[0035] An automated system may thus identify and classify the objects in images, and use the resulting information to interact with users in ways that may have previously been difficult or impractical to implement. For example, the information may be used to describe the content of photos to blind users. An audio description such as “photo contains a girl, a hare, a mouse, a man in a hat, and a table” may be played or spoken by a text-to-speech system. The techniques disclosed herein can provide immersive experiences that allow users to perceive the objects in a photo by swiping their finger across an image on a touch screen display and having the system describe the content they are touching.

[0036] FIG. 3 illustrates example objects 302-320 in an image 300. In particular embodiments, objects in an image may be identified and classified by algorithms using machine learning techniques. Objects 302-320 may be identified using image segmentation techniques such as DeepMask and SharpMask, and classified using image classification techniques such as MuiltiPathNet. Image Segmentation methods are disclosed in U.S. Patent Application 62/351,851, filed 17 Jun. 2016, which is incorporated herein by reference. Although specific techniques are described for image identification and classification, other techniques may be used to identify image segments that correspond to objects and classify the objects. Information identifying an object may include the location of the object in the image and the perimeter of the object, e.g., coordinates of the object and of the pixels that form the perimeter of the object. An object may have an associated object type, which may correspond to a classification determined by an image classification technique. The object type may be a classification such as person or human for an Alice object 302 and a Mad Hatter object 308, hare for a March Hare object 304, mouse for a Dormouse object 306, window for a window object 310, hat for a Mad Hatter’s hat, table for a table 312, tea pot for a tea pot 314, tea cup a the tea cup 318, and saucer for saucers 316, 320. The information identifying an object may also include an object name that identifies a specific instance of the object type, e.g., “Alice” may be identified as the name of the Alice object 302, and “March Hare” may be identified as the name of the March Hare 304.

[0037] FIG. 4 illustrates example perimeters 402-420 of objects in an image, and FIG. 5 illustrates masks 502-520 for the objects in the image. The identification and classification of objects may involve image recognition. For example, a mask 502 may be identified that corresponds to an Alice object 302 in the image 300, and may be classified as a person via image recognition. Masks 502-520 correspond to the respective objects 302-320 and are bounded by the respective perimeters 402-420. For example, the perimeters shown in FIG. 4 include an Alice perimeter 402 for the Alice object 302, a Mad Hatter perimeter 408 for the Mad Hatter object 308, a March Hare perimeter 404 for the March Hare object 304, a Dormouse perimeter 406 for the Dormouse object 306, a window perimeter 410 for the window object 310, a table perimeter 412 for the table object 312, tea pot perimeter 414 for the tea pot object 314, a tea cup perimeter 418 for the tea cup object 318, and saucer perimeters 416, 420 for the saucer objects 316, 320.

[0038] In particular embodiments, mask 502 may be defined by a perimeter 402 of an object 302, and ordinarily includes a data structure representing the positions of the pixels in the mask 502, which may be based on the positions of corresponding pixels in the object 302. As can be seen in the example of FIG. 5, the shapes of the masks 502-520 correspond to the shapes of the object perimeters 402-420, which in turn correspond to the shapes of the objects 302-320. For example, the masks shown in FIG. 5 include an Alice mask 502 for the Alice object 302, a Mad Hatter mask 508 for the Mad Hatter object 308, a March Hare mask 504 for the March Hare object 304, a Dormouse mask 506 for the Dormouse object 306, a window mask 510 for the window object 310, a tea pot mask 514 for the tea pot object 314, a tea cup mask 518 for the tea cup object 318, and saucer masks 516, 520 for the saucer objects 316, 320.

……
……
……

您可能还喜欢...