Generate and apply object-level relationship indexes for images
By generating relational indexes and using latent semantic vectors to identify and link objects in images, the problem of low image search efficiency in the existing technology is solved, and fast and efficient related information extraction and object relationship search are achieved.
Patent Information
- Application Number
- CN202080036848.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-27
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-03-27
AI Technical Summary
Existing image-based search technologies are difficult to extract relevant information from large image corpora quickly and efficiently, especially in terms of inefficiency in identifying and linking individual objects and their relationships in images.
A machine training model is used to generate a relational index. The objects in the image are identified through latent semantic vectors and a relational index is established. These indexes are used for fast search and information extraction. Users can query the object to find other objects related to it.
It achieves rapid and efficient identification of relevant information in a large number of image corpora, simplifies the search for relationships between objects, and improves search efficiency and accuracy.
Smart Images

Figure CN113939813B_ABST
Abstract
Description
Background Art
[0001] In current practice, users can conduct text-based searches or image-based searches. In the latter type of search, the user captures or selects a single composite image and then submits the image as a query to a search engine. The search engine utilizes an index to identify one or more candidate images that match the submitted image. More specifically, the index uses a single entry for each candidate image. Summary of the invention
[0002] A computer-implemented technique is described herein for identifying individual objects within an image using a machine-trained model. The technique then creates a relational index for the identified objects. That is, each index entry in the relational index is associated with a given object, and each index entry includes a set of attributes related to the given object. For example, one such attribute identifies a latent semantic vector associated with the given object.
[0003] Each property provides a way to link a given object to one or more other objects in the relational index.The relational index as a whole can be conceptualized as a graph with nodes (associated with individual objects) connected together by edges (associated with relationships between objects).
[0004] The technology also involves performing a search using a relational index. In the process, a user submits a query that specifies a query object. The technology consults the relational index to find one or more objects related to the query object. In some cases, the query object and each of the other objects have a complementary relationship, which is reflected by the fact that the two objects co-appear in one or more images. For example, the query object may specify a first clothing item (e.g., pants), while another object may specify a complementary clothing item (e.g., shirt).
[0005] According to one technical advantage, the technique allows a user to quickly and efficiently identify relevant information by extracting insights from a large corpus of images at a per-object level granularity.
[0006] The techniques summarized above may be embodied in various types of systems, apparatus, components, methods, computer-readable storage media, data structures, graphical user interface presentations, articles of manufacture, and the like.
[0007] This Summary is intended to introduce some concepts in a simplified form; these concepts are further described in the Detailed Description below. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1An illustrative computing environment is shown that includes an object extraction system for generating a relationship index based on objects appearing in an image. The computing environment also includes an object retrieval system for retrieving objects using the relationship index.
[0009] Figure 2 It shows that it can be Figure 1 Examples of objects (and relationships between objects) identified by the object extraction system.
[0010] Figure 3 It shows that it can be used to implement Figure 1 An illustrative computing device for an object extraction system.
[0011] Figure 4 Shows Figure 1 The object extraction system is a set of attributes that can be extracted for each object.
[0012] Figure 5 An example of a set of properties associated with a particular object is shown.
[0013] Figure 6 It shows that it can be Figure 1 The object extraction system uses a creation-side object filtering component to control the kinds of objects that are added to the relational index.
[0014] Figure 7-Figure 9 It shows that it can be Figure 1 Three image classification components used in an object extraction system to detect objects in an image.
[0015] Fig.10 It shows that it can be used to implement Figure 7-Figure 9 Illustrative aspects of the image classification component of a convolutional neural network (CNN).
[0016] Fig.11 Shows Figure 1 An illustrative implementation of an object retrieval system is shown. Fig.11 Also shown is a training system for creating a machine-trained model based on information extracted from the relational index.
[0017] Fig.12 An object retrieval platform for creating an environment-specific relational index is shown. The environment-specific object retrieval system uses the environment-specific relational index to perform search operations.
[0018] Fig.13 Shown for use with Fig.11 or Fig.12 A user interface presentation for use in conjunction with an object retrieval system that solicits search options from a user.
[0019] Figure 14-17It shows that it can be Fig.11 or Fig.12 The user interface presents the object retrieval systems of the invention. These presents allow the user to query each object retrieval system and, in response, receive search results from the object retrieval system.
[0020] Fig.18 Shown Figure 1 An overview of the process of object extraction system.
[0021] Fig.19 Shown Fig.11 OR 12. An overview of the object retrieval system process.
[0022] Fig. 20 One illustrative type of computing device is shown that may be used to implement any aspect of the features shown in the above-described figures.
[0023] The same numerals are used throughout the disclosure and drawings to denote similar components and features. The 100 series numbers refer to those originally Figure 1 The 200 series number refers to the features originally found in Figure 2 The 300 series number refers to the features originally found in Figure 3 features found in , and so on. DETAILED DESCRIPTION
[0024] This disclosure is organized as follows. Section A describes a computing environment for generating and applying a relational index for retrieving information related to an image. Section B sets forth an illustrative method for explaining the operation of the computing environment of Section A. Section C describes illustrative computing functions that can be used to implement any aspect of the features described in Sections A and B.
[0025] As a preliminary matter, the term "hardware logic circuitry" corresponds to one or more hardware processors (e.g., CPUs, GPUs, etc.) that execute machine-readable instructions stored in memory, and / or one or more other hardware logic units (e.g., FPGAs) that use a task-specific set of fixed and / or programmable logic gates to perform operations. Section C provides additional information about one implementation of hardware logic circuitry. In certain contexts, each of the terms "component" and "engine" refers to a portion of hardware logic circuitry that performs a specific function.
[0026] In one case, the graphical division of various parts in the figures into different units can reflect the use of corresponding different physical and tangible parts in actual implementation. Alternatively or additionally, any single component shown in the figures can be implemented by multiple actual physical components. Alternatively or additionally, the depiction of any two or more separate components in the figures can reflect different functions performed by a single actual physical component.
[0027] Other figures describe concepts in the form of flow charts. In this form, certain operations are described as constituting different blocks that are executed in a specific order. Such an implementation is illustrative and non-restrictive. Certain blocks described herein can be grouped together and executed in a single operation, certain blocks can be decomposed into multiple component blocks, and certain blocks can be executed in an order different from the order shown in this article (including a parallel mode of executing blocks). In one implementation, the blocks related to the processing-related functions shown in the flow chart can be implemented by the hardware logic circuit system described in Part C, which can be implemented by one or more hardware processors and / or other logic units including a set of logic gates specific to the task.
[0028] With respect to terminology, the phrase "configured to" encompasses various physical and tangible mechanisms for performing the identified operations. These mechanisms may be configured to perform the operations using the hardware logic circuitry of Part C. The term "logic" likewise encompasses various physical and tangible mechanisms for performing tasks. For example, each processing-related operation shown in the flowchart corresponds to a logic component for performing that operation. The logic component may use the hardware logic circuitry of Part C to perform its operations. When implemented by a computing device, the logic component represents an electrical element that is a physical part of the computing system, regardless of how it is implemented.
[0029] Any storage resource described herein, or any combination of such storage resources, may be considered as a computer-readable medium. In many cases, a computer-readable medium represents a physical and tangible entity in some form. The term computer-readable medium also includes propagation signals, for example, propagation signals transmitted or received via physical conduits and / or air or other wireless media. However, the specific term "computer-readable storage medium" explicitly excludes propagation signals themselves, while including all other forms of computer-readable media.
[0030] The following explanation may identify one or more features as "optional". This type of statement should not be interpreted as an exhaustive description of features that may be considered optional; that is, other features may be considered optional even though this is not explicitly stated in the text. In addition, any description of a single entity is not intended to exclude the use of multiple such entities; likewise, a description of multiple entities does not exclude the use of a single entity. In addition, while the description may explain certain features as alternative ways of performing the identified functions or implementing the identified mechanisms, these features may also be combined together in any combination. Finally, the terms "exemplary" or "illustrative" refer to one implementation among potentially many implementations.
[0031] A. Illustrative Computing Environment
[0032] A.1. Overview
[0033] Figure 1 A computing environment 102 is shown that includes an illustrative object extraction system 104 and an object retrieval system 106. The object extraction system 104 creates a relational index 108 that describes objects extracted from an input image corpus as well as the images themselves (which themselves constitute objects). The object retrieval system 106 uses the relational index 108 to search. For example, the object retrieval system 106 may receive a query that specifies an object (referred to herein as a "query object"), for example, by submitting an image showing the query object. In response, the object retrieval system 106 uses the relational index 108 to find one or more other objects that are linked to the query object. The object retrieval system 106 may expose an application programming interface (API) or other type of interface. One or more applications 110 perform various functions related to querying the relational index via the object retrieval system 106.
[0034] This section provides an overview of computing environment 102. Subsection A.2 provides additional illustrative details regarding object extraction system 104. Subsection A.3 provides additional details regarding object retrieval system 106.
[0035] Referring first to the object extraction system 104, the object harvesting component 112 performs the initial task of receiving images from one or more image sources. The object harvesting component 112 may receive images using a push-based technique (where the source independently forwards the image to the object harvesting component 112), a pull-based technique (where the object harvesting component 112 pulls the image from the source), or a combination thereof. In one pull-based implementation, the object harvesting component 112 uses an existing image-based search engine to retrieve images from the Internet or other wide area network without distinguishing between different kinds of image content. Existing image-based engines perform this task using an image index that identifies images at an image-level granularity, for example, by assigning an index entry to each image. In another approach, the object harvesting component 112 uses an existing image-based search engine to access images that meet specified search criteria that are accessible over a wide area network (e.g., the Internet). For example, the object harvesting component 112 may use a search engine to collect images related to one or more specified topics. For example, the object harvesting component 112 may receive images related to fashion by submitting a fashion-related search query to the search engine.
[0036] The object extraction component 114 identifies the object(s) present in each image. The object extraction component 114 can use any(s) machine trained classification model(s) to perform this task. For example, Section A.2 describes three illustrative types of neural networks for performing this task. As an overview, a multi-class classification model can be trained to detect any set of objects in an image, such as people, specific human faces, animal species, natural landscape features, buildings, products, and the like. In addition, the classification model can be trained to detect actions depicted in the image, such as "running," "swimming," "pointing," and the like. More specifically, some classification models identify the probability that an image contains objects of a particular kind, without estimating the location of those objects in the image. Other classification models identify the presence and location of objects in an image, for example, by specifying bounding boxes, object occlusions, and the like.
[0037] The create-side object filter component 116 optionally removes detected objects (and relationships between objects) that fail to meet one or more tests. Section A.2 describes different types of filter components that play this role. For example, a quality filter component excludes objects that do not meet various quality-related criteria.
[0038] In one implementation, the object harvesting component 112 expresses the results of its analysis of each object as a set of attributes. The object harvesting component 112 then stores these results in the data repository 118. As used herein, an "attribute" refers to an attribute variable (e.g., location) coupled to an attribute value (e.g., "Italy"). The attributes include information about the classification of the object (referred to herein as entity information), as well as the location of the object in the image (if known). The object extraction component 114 can classify objects at different levels of specificity. For example, in one case, the object extraction component 114 identifies an image showing a building entity as a "house". Alternatively or additionally, the object extraction component 114 identifies a specific type of entity in the image, such as a "White House". The object extraction component 114 can describe the location of each object by specifying the location of its enclosing bounding box or by specifying its mask, etc. Optionally, the object extraction component 114 can also store image content associated with the object itself, for example, corresponding to the pixel content surrounded by the bounding box associated with the object.
[0039] The object harvesting component 112 may also calculate at least one latent semantic vector associated with each object. It then stores the latent semantic vector(s) as another attribute associated with the object. In one implementation, the object harvesting component 112 may perform the following operations by using a deep neural network (DNN) (such as the following combined Fig.10A convolutional neural network (CNN) of the type described herein computes each latent semantic vector. The CNN maps a region of an image associated with an object into a feature space representation of that region corresponding to a latent semantic vector. The latent semantic vector corresponds to a distributed representation of the meaning of the object.
[0040] The object harvesting component 112 may also store other attributes about each object. The attributes may include: the parent object associated with the object (if any); the image associated with the object; the web page associated with the object (if any); the entity associated with the object; the time when the image associated with the object was captured; the location where the image associated with the object was captured, etc. This list is extensible; therefore, different environments may store different sets of attributes to serve their respective end-use goals.
[0041] The graph construction component 120 assembles the object information stored in the data repository 118 into a relational index 108, which is stored in another data repository 122. It performs this task by assigning an index entry to each object. The index entry can be conceptualized as a node in a graph. The graph construction component 120 also assigns an object to each composite image from which the object was extracted. The graph construction component 120 also assigns an object to each web page from which one or more images were extracted. Therefore, some index entries in the relational index 108 represent objects without component child objects, while other index entries represent composite objects containing two or more child objects.
[0042] The relationship index 108 also includes a collection of edges (links) that connect objects together. For example, in some cases, an object includes one or more attributes that explicitly point to one or more other objects. For example, an object may include a first attribute indicating that it belongs to a parent object within an image. It may include a second attribute indicating that it belongs to a specific image. And it may include a third object that identifies that it ultimately originated from a specific web page. Each such attribute defines a link between two objects.
[0043] Objects may include other attributes that do not explicitly point to other objects, but establish a connection with one or more objects that share the same attribute (or more specifically, share the same attribute value for the same attribute variable). For example, within a certain context-specific proximity threshold (λ1), the latent semantic vector of a first object in a first image may match the latent semantic vector associated with a second object in a second image. It can be said that the first object is linked to the second object because they both have the same latent semantic vector and are therefore considered to be the same entity. Alternatively, the first object may be linked to the second object by a link that describes similar objects; this is true when the distance between their two latent semantic vectors is greater than a first threshold (λ1) but less than a second threshold (λ2). The application may use any distance metric (such as cosine similarity, Euclidean distance, etc.) to define the distance between two vectors.
[0044] In other cases, the first object and the second object may be considered linked because they originate from images captured at the same time. In other cases, the first object and the second object may be considered linked because they originate from images captured at the same location. In other cases, objects may be considered linked because they are associated with the same entity, even though their semantic vectors may not be close together in the semantic vector space.
[0045] In some implementations, the graph construction component 120 does not allocate a separate data item to represent the link between objects. Instead, in this case, the graph construction component 120 uses the properties of the object itself to specify the link. In other implementations, the graph construction component 120 may include an explicit data item that specifies the link.
[0046] Note that the relationship index 108 implicitly stores information that the application can use to investigate the co-occurrence of objects within an image. For example, when two objects are both linked to the same parent object, the application can conclude that the two objects co-occur in the same image. If they co-occur in the parent object, they also inherently co-occur in the same image. In other cases, the application can conclude that the two objects co-occur because they appear in the same image, even though they do not belong to the same parent object. In other cases, the application can conclude that the objects co-occur because they all originate from an image in the same web page, even though they do not originate from the same image on the web page.
[0047] The optional co-occurrence identification component 124 can add additional links to the relationship index 108 to indicate additional associations between objects. For example, consider a situation where an image shows a person standing next to a landmark (such as a historical building). Since both the person and the historical building are depicted in the same image, the object extraction system 104 automatically links the person object to the historical building object. However, the object extraction system 104 does not automatically link the person object to the historical building object as a semantic unit. This treatment of the object is appropriate when the person is a tourist visiting the historical building on vacation; otherwise, the person has no deep connection with the historical building. But then consider the situation where the man is the caretaker of the historical building. In this case, the person may be a fixed person who is considered to be a veritable historical building itself. The co-occurrence identification component 124 identifies situations such as these and records them with additional object attributes. For example, the co-occurrence identification component 124 can add attributes pointing to the historical building object to the person object, and vice versa. The co-occurrence identification component 124 can make this evaluation based on statistical information, for example, when it observes that the same person appears next to the historical building in more than a specified number of images.
[0048] To provide another example, an image may show two people. Again, objects associated with these two people co-occur because they appear together in at least one image. But these people may be strangers, and this image may just be a coincidence that they are photographed together. Therefore, the link between the two objects is shallow. On the other hand, these people may be close friends or marriage partners. The co-occurrence identification component 124 can make this assessment when it is observed that these two people appear together in more than a specified number of images. In this case, it can add attributes to the two objects that point to each other. The co-occurrence identification component 124 is called "supplemental" because it captures relationships beyond the relationships identified by the object extraction component 114.
[0049] Further note that the graph construction component 120 can store information in the relationship index 108 in a resource efficient manner. For example, the relationship index 108 can include page-level index entries that are linked to image-level index entries to record the fact that a corresponding image appears on a particular web page. The image-level index entry can, in turn, be linked to one or more parent index entries. Each parent index entry can, in turn, be linked to one or more child index entries, and so on. The graph construction component 120 can store information about the chain of objects in a manner that avoids duplication of information. For example, the graph construction component 120 can store properties of the image-level index entry that indicate the time and location at which the corresponding image was created. Each child object linked to the image object inherits these properties without having to duplicate the information.
[0050] A user interacting with the object retrieval system 106 may submit a search query that specifies a query object and a relationship of interest. Based on the query, the object retrieval system 106 uses the relationship index 108 to find related objects. For example, assume that the object of interest is a shirt, and the user specifies that she is interested in finding clothing items that are complementary to the shirt. The object retrieval system 106 may return a set of pants, hats, shoes, etc. that are linked to the shirt. More specifically, these complementary objects are associated with the shirt because they appear in one or more images with the shirt. In other cases, the user may only be interested in finding images in which the shirt appears. In other cases, the user may be interested in finding images of shirts that are similar to, but not identical to, the specified shirt. The user may mine other relationships between the objects specified in the relationship index 108.
[0051] Figure 2 An example of some relationships that can link an illustrative image 202 to other images and associated objects is shown. In this merely illustrative case, the image 202 shows a celebrity standing next to the Pisa Cathedral in Pisa, Italy. The object extraction component 114 identifies multiple objects in the image 202, including a person object 204 and a Pisa Cathedral object 206. The object extraction component 114 also determines that the person object 204 is composed of multiple component objects. For example, the object extraction component 114 uses facial recognition technology to identify the identity of the person (if possible) to provide a face object 208. The facial recognition technology can perform this task by comparing the latent semantic vector associated with the person's face with previously stored vectors associated with known faces. The object extraction component 114 also identifies a jacket object 210 and a pants object 212 associated with the identified jacket and pants, respectively. More generally, the object harvesting component 112 extracts a complete set of attributes for each such object in the image 202, including latent semantic vectors, bounding box information, entity information, etc. Figure 2 Temporal information 214 is shown, which may correspond to Exchangeable Image File Format (Exif) metadata. The digital camera associates the temporal information 214 with the image 202 at the time of capture.
[0052] In this merely illustrative example, assume that facial object 208 is linked to facial objects (216, 218, 220) in at least three other images (222, 224, 226) in which the same person appears. For example, facial object 208 in image 202 may be linked to facial objects (216, 218, 220) in images (222, 224, 226) because facial object 208 has a latent semantic vector within a threshold distance of each such other facial objects.
[0053] Similarly, jacket object 210 in image 202 is linked to the same jacket object 228 in image 230. Pants object 212 in image 202 is linked to the same corresponding pants objects (232, 234) in images 236 and 238. Building object 206 is linked to the same building object 240 in image 242. Image 242 in turn includes another building object 244 that is linked to statue object 246 in image 248 due to the fact that they both share the same capture location (i.e., because they were both taken in the country of Italy). Likewise, statue object 246 is linked to another building object 250 in image 226 because they both belong to the same country. Since these images were taken at the same time, image 202 is linked to image 252. Image 202 is also linked to image 252 because building object 206 (in image 202) and cityscape object 254 (in image 252) belong to the same country (Italy). Finally, image 202 includes a link indicating that it originated from a particular web page 258. As shown, the web page 258 includes a plurality of images, including image 202.
[0054] Notice, Figure 2 Some of the objects shown are related due to the fact that they are derived from the same parent object. For example, pants object 232 in image 236 is linked to shirt object 256 due to the fact that they belong to the same person. Similarly, pants object 234 in image 238 is linked to shirt object 258 due to the fact that they belong to the same person. This provides a relationship that object retrieval system 106 can utilize to extract complementary objects from relationship index 108 given a specified query object, such as a query object specifying pants object 212.
[0055] Figure 3 It shows that it can be used to implement Figure 1 102. The computing device 302 includes one or more servers 304 coupled to one or more user computing devices 306 via a computer network 308. The user computing device 306 may correspond to any of the following: a desktop computing device, a laptop computing device, any type of handheld computing device (smart phone, tablet computing device, etc.), a mixed reality device, a game console, a wearable computing device, an intelligent Internet of Things (IoT) device, etc. Each user computing device (such as a representative user computing device 310) includes a local program function (such as a representative local program function 312). The computer network 308 may correspond to a wide area network (e.g., the Internet), a local area network, one or more point-to-point links, etc., or any combination thereof.
[0056] The functionality of computing environment 102 may be distributed between server 304 and user computing device 306 in any manner. In one implementation, server 304 implements all functionality of computing environment 102. In this case, a user may interact with the functionality of object retrieval system 106 via a browser program provided by a user computing device. In another implementation, each user computing device implements Figure 1 The server 304 may implement some of the functions shown, while the server 304 implements other functions. For example, each user computing device may implement at least some of the user interface functions of the object retrieval system 106; the server 304 may implement Figure 1 The remaining features are shown.
[0057] A.2. Object Extraction System
[0058] Figure 4 Shows Figure 1 The object extraction system 104 may extract a set of attributes for each object. In one non-limiting implementation, an object may include an object ID; at least one latent semantic vector; a parent object ID identifying a parent object associated with the object (if any); an image ID identifying an image in which the object is included; a page ID identifying a web page or other source document in which the image of the object is included; a time when the image was captured; a location where the image was captured; an entity associated with the object, etc. Note that any object may include attributes by inheriting from a parent object; in this case, the object is not required to store a copy of the attributes.
[0059] Figure 5 Shown with Figure 2 An illustrative set of properties associated with jacket object 210 is shown. Note that jacket object 210 includes a parent object ID indicating that it belongs to parent character object 204.
[0060] Figure 6 A more detailed description of the create side object filtering component 116 is shown. As described above, the create side object filtering component 116 can eliminate any object that fails to meet various tests identified by the object extraction component 114. Alternatively or additionally, the create side object filtering component 116 can modify the attributes associated with the object, for example, by removing the link that associates the object with another object. The object filtering component 116 includes a collection of subcomponents that perform different functions. In some cases, each subcomponent can operate based on a discrete set of rules provided in the data repository 602. Alternatively or additionally, each subcomponent can operate using a machine trained model.
[0061] The subject filtering component 604 can remove objects corresponding to one or more categories of non-permitted objects. Each application environment can define what is a non-permitted object. For example, some environments may exclude objects showing certain kinds of people (e.g., private rather than public figures, children, etc.). The subject filtering component can operate by comparing the object type information and facial recognition information provided by the object extraction component to a whitelist defining permissible objects; the subject filtering component 604 can exclude any objects having an object type or user identity that does not appear on the whitelist.
[0062] The quality filter component 606 excludes objects that do not meet one or more specified quality-related tests. For example, in the fashion-related field, the quality filter component 606 can use a machine-trained classification model to distinguish catalog-quality images of clothing from personal photos of people. It can exclude personal photos unless these photos are very similar to the catalog images. Another machine-trained model can identify objects that are occluded or cut, etc. A training system (not shown) can train these types of classification models based on a corpus of training images marked as good quality or poor quality. Alternatively or additionally, the quality filter component 606 can apply a discrete measure (e.g., a signal-to-noise ratio measure) to eliminate substandard objects. Alternatively or additionally, the quality filter component 606 can determine whether to retain an object based on the source of the object (e.g., based on the website from which its corresponding object was obtained).
[0063] Diversity filtering component 608 can remove objects based on various diversity-related considerations. For example, if these objects do not contribute any new information to the relationship index, diversity filtering component 608 can remove duplicate objects. For example, assuming Figure 6 228 (e.g., because their latent semantic vectors are the same, relative to a tolerance threshold specific to the context). The diversity filtering component 608 can exclude all or some of these redundant objects from the relationship index 108 because the redundant objects do not convey any information beyond the jacket object 228. But even when the relationship index 108 is pruned in this manner, the diversity filtering component 608 can retain statistical information that identifies the commonalities of objects and relationships in the relationship index 108. These provisions make the relationship index 108 more efficient.
[0064] The legal filter component 610 and the privacy filter component 612 can remove any object based on the laws and / or regulations of a particular jurisdiction. The privacy filter component 612 can also blur various objects to protect the user's privacy, such as faces, personal information, etc. The data repository 602 can include rules that define which object types should be excluded or blurred.
[0065] On the more general topic of privacy, the computing environment 102 may include various provisions for protecting individual privacy. In one such option, the computing environment 102 allows individual end users to explicitly authorize the computing environment 102 to collect images that they have captured themselves and / or depict them therein. The computing environment 102 then allows the user to revoke such authorization; in this event, the computing environment 102 will remove the index items of the images submitted by the user and / or depicting the user therein. According to another provision, the object extraction system 104 can use various types of widely available public images to identify the relationship between objects. For example, the object extraction system 104 can use both catalog images and user photos to determine the correlation between different clothing items. But once the relationship between clothing items is understood, the object retrieval system 106 will only display the catalog images associated with the clothing items. Alternatively or additionally, it can only display images submitted by users who have been explicitly selected to participate in the services provided by the computing environment 102.
[0066] Figure 7-Figure 10 Three respective implementations of the object extraction component 114 are shown. Each implementation uses a classification component to identify entity(ies) within an image, thereby providing entity information. Some implementations also identify the locations of these entities within the image.
[0067] from Figure 7 Initially, the figure shows an image classification component 702 that identifies objects in an input image, but does not identify the locations of those objects. For example, the image classification component 702 may identify that the input image 704 contains at least one person and at least one computing device, but also does not provide bounding box information identifying the locations of those objects in the image. In one implementation, the image classification component 702 includes a per-pixel classification component 706 that identifies the object to which each pixel is most likely to belong relative to a set of possible object types (e.g., dog, cat, person, etc.). The per-pixel classification component may perform this task using a convolutional neural network (CNN). The object identification component 708 uses the output of the per-pixel classification component 706 to determine whether the image contains at least one instance of each object under consideration. The object identification component 708 may make this determination by generating a normalized score that identifies the frequency with which pixels associated with each object under consideration appear in the input image. General background information on one type of pixel-based object detectors can be found in “From Captions to Visual Concepts and Back” by Fang et al. (arXiv:1411.4952v3[cs.CV], April 14, 2015, 10 pages).
[0068] Go to Figure 8, which shows a second image classification component 802 that uses a two-stage approach to determine the presence and location of an object in an input image. In the first stage, the ROI determination component 804 identifies the region of interest (ROI) associated with the corresponding object in the input image. The ROI determination component 804 can rely on different techniques to perform this function. In a selective search method, initially starting with a relatively small image region, the ROI determination component 804 iteratively merges image regions in the input image that meet a specified similarity test. The ROI determination component 804 can evaluate similarity based on any combination of features associated with the input image (such as color, brightness, hue, texture, etc.). At the termination of this iterative process, the ROI determination component 804 draws a bounding box around the identified region. In another approach, the ROI determination component 804 can generate the ROI using a region proposal network (RPN). In the next stage, the per-ROI object classification component 806 uses a CNN or other machine training model to identify the most likely object associated with each ROI. General background information on an illustrative type of two-stage image classification component can be found in “Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks” by Ren et al. (arXiv:1506.01497v3[cs.CV], January 6, 2016, 14 pages).
[0069] Fig. 9A third image classification component 902 is shown that uses a single stage to determine the presence and location of an object in an input image. First, the image classification component 902 converts the input image into an intermediate feature representation ("feature representation") using a base CNN 904. It then uses an object classifier and box location determiner (OCBLD) 906 to simultaneously classify objects and determine their corresponding locations in the feature representation. OCBLD 906 performs this task by processing multiple versions of the feature representation with different corresponding scales. By performing analysis on versions of different sizes, OCBLD 906 can detect objects with different sizes. More specifically, for each version of the representation, OCBLD 906 moves a smaller filter on the representation. At each position of the filter, OCBLD 906 considers a set of candidate bounding boxes in which an object may or may not exist. For each such candidate bounding box, OCBLD 906 generates multiple scores, each score representing the likelihood that a particular type of object exists in the candidate bounding box under consideration. The final level suppression component uses non-maximum suppression to identify the most likely objects contained in the image and their corresponding bounding boxes. General background information on an illustrative type of single-stage image classification component can be found in Liu et al., “SSD: Single Shot MultiBox Detector” (arXiv:1512.02325v5[cs.CV], December 29, 2016, 17 pages).
[0070] In yet another approach (not shown), the classification component may determine the classification of a particular object by computing a latent semantic vector (a "query latent semantic vector") based on the image content associated with the object. It may then use this query latent semantic vector to find one or more matching images in a data repository of reference images. These matching images correspond to images having latent semantic vectors within a specified distance of the query latent semantic vector. In one implementation, the classification component may use an approximate nearest neighbor (ANN) technique to find these nearby latent semantic vectors. It is assumed that each such reference image in the data repository is annotated with label information or keyword information describing its classification. The classification component may extract this textual information for the (multiple) identified matching images to provide a classification of the object under consideration. In short, the classification model utilizes a retrieval operation as a proxy for a classification operation. As with the three examples above, it can be said that the classification component uses a machine-trained model because it uses a machine-trained model to generate the latent semantic vector.
[0071] One or more other classification models can be trained to detect specific kinds of objects. For example, a machine-trained facial recognition model can use a CNN based on an image of a human face to determine the identity of the person depicted in the image.
[0072] Fig.10 A convolutional neural network (CNN) 1002 that can be used to implement various parts of the above-mentioned classification component is shown. CNN 1002 performs analysis in a stage pipeline. One or more convolution components 1004 perform convolution operations on input images 1006. One or more pooling components 1008 perform downsampling operations. One or more fully connected components 1010 respectively provide one or more fully connected neural networks, each fully connected neural network including any number of layers. More specifically, CNN 1002 can intersperse the above three types of components in any order. For example, CNN 1002 may include two or more convolution components interleaved with pooling components. In some implementations, CNN 1002 may include a classification component 1012 that outputs a classification result based on feature information provided by a previous layer. For example, the classification component 1012 may correspond to a Softmax component, a support vector machine (SVM) component, and the like.
[0073] In each convolution operation, the convolution component moves an n×m kernel (also called a filter) over the input image (where "input image" in this general context refers to any image fed to the convolution component). In one implementation, at each position of the kernel, the convolution component generates a dot product of the kernel value and the underlying pixel value of the image. The convolution component stores this dot product as an output value at a location in the output image corresponding to the current position of the kernel. More specifically, the convolution component can perform the above operations on different sets of kernels with different machine learning kernel values. Each kernel corresponds to a different pattern. In early processing layers, the convolution component can apply kernels to identify relatively primitive patterns in the image (such as edges, corners, etc.). In later layers, the convolution component can apply kernels to find more complex shapes.
[0074] In each pooling operation, the pooling component moves a window of predetermined size over the input image (where the input image corresponds to any image fed to the pooling component). The pooling component then performs some aggregation / summary operation on the values of the input image enclosed by the window, such as by identifying and storing the maximum value in the window, generating and storing the average of the values in the window, and so on.
[0075] A fully connected component can begin its operation by forming a single input vector. It can perform this task by concatenating the rows or columns of the input image (or images) fed to it to form a single input vector. The fully connected component then feeds the input vector to the first layer of a fully connected neural network. Typically, each layer j of neurons in a neural network produces an output value z given by j :z j =f(W j z j-1 +b j), where j = 2, ... N. The symbol j-1 refers to the previous layer of the neural network. The symbol W j Represents the machine learning weight matrix of layer j, symbol b j represents the machine learning bias vector of layer j. The activation function f(·) can be represented in different ways, such as rectified linear unit (ReLU).
[0076] Consider a particular context in which the CNN 1002 receives a portion of an image associated with a particular object, such as pixels surrounded by a bounding box associated with the object. The output of the (multiple) fully connected components 1010 can be considered as a latent semantic vector associated with the object. The vector provides a distributed representation of the meaning associated with the object. In this regard, the object harvesting component 112 can utilize the CNN 1002 to generate attributes that identify the latent semantic vector associated with the object for each object under consideration.
[0077] A.3. Object Retrieval System
[0078] Fig.11 One illustrative implementation of object retrieval system 106 is shown. Given a query object submitted by a user, object retrieval system 106 allows the user to extract information using relational index 108.
[0079] The object retrieval system 106 includes a user interface (UI) component 1102 that allows a user to interact with the object retrieval system 106. More specifically, the UI component 1102 includes a source object selection component 1104 that allows a user to specify a query object. In one instance, a user specifies a query object by selecting the query object from a larger set of images. For example, assume that a user is currently viewing a web page that includes multiple images, each depicting a single object. The user can select the query object by clicking on one of the images. Alternatively, the user can capture and load a new image depicting the object. In yet another instance, a user can specify an object by typing in alphanumeric information that identifies the object or otherwise selecting the alphanumeric information. For example, a user can select a jacket object by entering its product name as the query object.
[0080] In yet another case, assume that an image contains two or more objects. A user can select an object in the image by selecting a portion of the image associated with the image. For example, the user can click a point in the image associated with the object. Alternatively, the user can adjust a bounding box so that it contains the object.
[0081] The application-side object extraction component 1106 performs the same role as the creation-side object extraction component 114. That is, the application-side object extraction component 114 can use Figure 7-Figure 9Any of the classification components shown detect objects of the category specified by the user, identify latent semantic vectors associated with the objects, etc. More generally, the application-side object extraction component 1106 can extract a set of attributes associated with each image or each object specified within an image. In other cases, the user can select an object whose attributes have been identified and stored in the relationship index 108 (e.g., in an offline extraction process).
[0082] The object retrieval component 1108 uses the query object to identify one or more other objects linked to the query object, as specified by the relationship index 108. In one implementation, the object retrieval component 1108 performs this task by first locating the index entry associated with the query object in the relationship index 108 (if any). For example, the object retrieval component 1108 can use one or more attributes extracted by the application-side object detection component 1106 for the query object (or previously provided (multiple) attributes associated with the query object) to find the node corresponding to the query object in the relationship index 108 with a tolerance specific to the environment. Other objects linked to the query object are then identified based on the relationship category (edge type) specified by the user. For example, if the user is interested in identifying objects that have a complementary relationship with the query object, it tracks the appropriate edges associated with the co-occurrence of objects in the relationship index 108 to find related objects. In another implementation, the object retrieval component 1108 uses the attribute(s) extracted by the application-side object detection component 1106 for the query object (or the attribute(s) previously provided associated with the query object) to directly locate related objects in the relationship index 108, e.g., without first attempting to locate a pre-existing corresponding node associated with the query object in the relationship index 108.
[0083] After finding the related objects in the manner described above, the object retrieval component 1108 can retrieve image information associated with the identified object from a data repository 1110 (which can correspond to a dedicated data repository or a distributed resource associated with the Internet). In one implementation, the data repository 1110 stores the actual images processed by the object extraction system 104 in the generation of its relationship index 108. For example, assume that the object extraction system 104 extracts a particular object (such as a jacket object) from a particular public image X; the data repository 1110 will store this same image X. In another case, the data repository 1110 contains proxy images, such as catalog images or some other kind of curated collection of images. For example, the data repository 1110 can use a catalog image X' in place of the above-mentioned public image X actually used by the object extraction system 104 to detect the jacket object. This catalog image X' is then displayed in place of image X.
[0084] The optional application-side object filtering component 1112 can provide any filtering operations performed by the creation-side object filtering component 116. However, the application-side object filtering component 1112 can apply a rule set and / or machine training model customized to suit the goals of a specific application. For example, in a shopping-related context, the application-side object filtering component 1112 can cluster the retrieved objects into one or more groups, and then select one or more representative objects from each cluster to present to the user. This provision increases the diversity of items presented to the user. The application-side object filtering component 1112 can perform this task by forming groups of latent semantic vectors in the semantic vector space using any type of clustering technique (e.g., k-means clustering). It can then select one or more images with the best quality from the group, as evaluated by the quality filtering component.
[0085] The result presentation component 1114 presents the objects identified by the object retrieval system 106. The result presentation component 1114 can perform this task using any presentation strategy, such as by presenting an array of images associated with the identified objects. In addition, the result presentation component 1114 can display the edges connecting the query object to the identified related objects. The result presentation component 1114 can also annotate the edges with labels to describe the kind of relationship the edges depict. Alternatively or additionally, the result presentation component 1114 can present alphanumeric information describing the related objects, such as by providing a list of text snippets describing the related objects.
[0086] Fig.11 Also shown is a training system 1116 for creating a machine training model based on information extracted from the relationship index 108. The training system 1116 includes a dataset harvesting component 1118 for extracting related image pairs. It performs this task by submitting a query object to the object retrieval component 1108 and receiving related objects in response thereto. For example, the dataset harvesting component 1118 can submit a query object showing a shirt object to the object retrieval component 108. Assume that the object retrieval component 1108 returns images showing a shirt object and a complementary pants object. In other words, the object retrieval component 1108 identifies at least one image in which the shirt object appears together with the pants object. The pairing of the shirt object and the pants object constitutes a single positive training example. The dataset harvesting component 1118 can generate negative training examples by randomly pairing objects together (assuming that these objects will not be related). The dataset harvesting component 1118 stores the training examples in a data repository 1120.
[0087] The training component 1122 then trains a machine training model based on the training examples in the data repository 1120. It can use any machine learning technique to perform this task, such as stochastic gradient descent, etc. More specifically, in one case, the training component 1122 can train a model that predicts a complementary object ID given an input query object ID or an input image showing the query object itself. In another case, the training component 1122 trains a generative model that synthesizes a complementary object image based on a specified query object. The object is synthetic in the sense that it is not expected to match a real pre-existing image in the data repository 1110. The object retrieval system 106 can then retrieve a "real" pre-existing image from the data repository 1110 that matches the generated image within a specified tolerance.
[0088] Fig.12 An object retrieval platform 1202 is shown for creating a context-specific relationship index 1204. For example, assume that a department store includes a catalog of products that it sells. Assume that it also includes a set of high-quality images 1206 depicting these products in a data repository 1208. A relationship mining component 1210 extracts all index entries (and relationships between these index entries) in the master relationship index 108 (described above) that match items in the department store's catalog, and excludes all other index entries and relationships. It then stores this subset of index entries and links in a data repository 1212. This subset of objects and links constitutes a context-specific relationship index 1204 because it is specifically tailored to fit a particular organization's catalog selection.
[0089] The context-specific object retrieval system 1214 performs the same functions as the object retrieval system 106 described above, but within a narrower context defined by the context-specific relationship index 1204. The context-specific object retrieval system 1214 can also show images obtained from its catalog, as stored in the data repository 1208. This helps provide a unified user experience. However, if such end users so authorize, the object retrieval system 1214 can also provide users with the option of viewing images captured by end users showing their products. For example, the object retrieval system 1214 can present a personal photo showing a person wearing a shirt sold by a department store, instead of or in addition to the official catalog image of the shirt.
[0090] Fig.13 Shows Fig.11The user interface (UI) component 1102 of the UI presentation 1302 may present to the user. It allows the user to specify aspects of his or her search target when submitting a search query. It also allows the user to specify the behavior of the object retrieval system 106 in response to the submission of the search query. For example, in area 1304, the UI component may allow the user to specify: the source(s) from which the matching objects are obtained; the type(s) of matching objects to be displayed; the type(s) of matching objects that should be excluded; the relationship(s) of interest between the query object and related objects; the time span (relative to the creation time of the objects) over which the matching objects are obtained, etc. These criteria are presented in the spirit of illustration and not limitation; the UI presentation 1302 may allow the user to control the matching performed by the object retrieval system 106 in other ways.
[0091] In area 1306, UI presentation 1302 also includes various options for controlling how UI component 1102 presents search results to the user. For example, UI presentation 1302 can allow the user to instruct object retrieval system 106 to remove duplicates from search results, sort search results by popularity or time, etc.
[0092] Fig.14 Another UI presentation 1402 provided by UI component 1102 is shown. Here, the user interacts with UI component 1102 to specify a query object in image 1404, e.g., by moving bounding box 1406 so that it contains the query object. The query object in this example specifies pants. It is further assumed that the user specifies (via UI presentation 1302, etc.) that he or she is interested in viewing objects that have a complementary relationship with the query object.
[0093] In response, the object retrieval system 106 identifies search results 1408 that include multiple groups of images. Each image complements the pants identified by the user. For example, the first group of images (1410, 1412, 1414, ...) identifies complementary shirts. Here, each of these images (1410, 1412, 1414, ...) shows a model wearing the pants identified by the user and the complementary shirt. But in another case, the search results 1408 may only show images of complementary shirts. The search results 2408 optionally also show complementary shoes in the image (1416, 1418, 1420, ...), complementary hats in the image (1422, 1424, 1426, ...), etc. The application-side object filtering component 1112 can form these groups by clustering related complementary objects and then selecting a set of top-ranked images from each group so identified.
[0094] Fig.15A UI presentation 1502 is shown in which a user selects a query object 1504 associated with a particular person in an image 1506. Assume that the application-side object extraction component 1106 uses facial recognition technology to determine that the query object corresponds to a celebrity. Assume further that the user specifies that he or she is interested in determining connections between the person shown in the query object and other celebrities.
[0095] In response, the object retrieval system 106 provides search results 1508, which show a set of face-related objects 1510 that co-occur with the query object in the image. The search results 1508 may also optionally show a link connecting the face-related objects 1512 associated with the query object with the set of face-related objects 1510. In other words, the search results 1508 show a social graph with a pivot point corresponding to the query object. The search results 1508 may also optionally provide a graphical prompt 1514 that invites the user to view the actual source image in which the query object appears with one or more of the identified face-related objects 1510.
[0096] Fig.16 A UI presentation 1602 is shown showing search results for images 1604 including the same query object (here the Colosseum) arranged by capture time. For example, a user may request this series of images to view the progress of a multi-year reconstruction projection.
[0097] Fig.17 A UI presentation 1702 is shown that shows search results providing a set of images 1704 tagged with the location “Italy.” Although not shown, a user may request search results by specifying two or more attributes, such as location and time.
[0098] In another application, a user may instruct the object retrieval system 106 to find objects similar to a specified query object, but not to find duplicate copies of the same query object. The object retrieval system 106 may perform this task by using an approximate nearest neighbor (ANN) technique to find images with latent semantic vectors that are within a distance λ2 to the latent semantic vector associated with the query object, but farther than a distance λ1 to the latent semantic vector associated with the query object.
[0099] In another application, a user may instruct the object retrieval system 106 to find all images in which a specified query object appears, with a specified tolerance for what constitutes a duplicate version of the query object. The object retrieval system 106 may use ANN technology to perform this task. The user may then examine these images to determine whether they represent a copyright infringement of the user's query object.
[0100] B. Illustrative Process
[0101] Fig.18 and Fig.19 The process of explaining the operation of the computing environment 102 of Section A is shown in the form of a flowchart. Since the basic principles of the operation of the computing environment 102 have been described in Section A, certain operations will be discussed in a general manner in this section. As described in the preface of the "Detailed Description", each flowchart represents a series of operations performed in a specific order. However, the order of these operations is merely representative and can be changed in any way.
[0102] Fig.18 Shown Figure 1 The object extraction system 104 of FIG. 18 is an overview of the process 1802. More specifically, the object extraction system 104 performs, for each image in the plurality of images, Fig.18 The steps shown are, for example, in series or in parallel. In box 1804, the object extraction system 104 retrieves an image from an image source. In box 1806, the object extraction system 104 identifies a set of objects depicted in the image using a machine training model. In box 1808, the object extraction system 104 uses the machine training model to map the image content associated with each object in the object set to at least one latent semantic vector, each latent semantic vector corresponding to an attribute associated with the object. In box 1810, the object extraction system 104 identifies one or more additional attributes associated with each object. In box 1812, the object extraction system 104 provides an index entry associated with each object in the relationship index 108, the index entry including a set of attributes associated with the object, the attribute set including at least one latent semantic vector and one or more additional attributes associated with the object. The relationship index 108 as a whole includes multiple index entries, and the multiple index entries are linked via the attributes associated with the multiple index entries. After processing the desired number of images in the manner described above, in block 1814 the object extraction system 104 installs the relationship index 108 in a data repository associated with the object retrieval system 106 .
[0103] Fig.19 Process 1902 is shown, which indicates Fig.1119 or 12. In block 1904, the object retrieval system 106 receives a search query specifying a query object from a user, who submits the search query using an input device provided by a user computing device. In block 1906, the object retrieval system 106 optionally identifies index entries in the relationship index 108 that are related to the query object. In block 1908, the object retrieval system 106 identifies at least one other object using the relationship index 108 based on at least one property that links the query object to at least one other object related to the query object. In block 1910, the object retrieval system 106 provides the search results to the user computing device that inform the user of the at least one other object.
[0104] C. Representative computing functions
[0105] Fig. 20 2 shows a computing device 2002 that can be used to implement any aspect of the mechanisms described in the above figures. Figure 3 , Fig. 20 A computing device 2002 of the type shown may be used to implement any server or user computing device, etc. In all cases, the computing device 2002 represents a physical and tangible processing mechanism.
[0106] The computing device 2002 may include one or more hardware processors 2004. The hardware processor(s) 2004 may include, but are not limited to, one or more central processing units (CPUs) and / or one or more graphics processing units (GPUs), and / or one or more application specific integrated circuits (ASICs), etc. More generally, any hardware processor may correspond to a general purpose processing unit or a special purpose processor unit.
[0107] The computing device 2002 may also include a computer-readable storage medium 2006 corresponding to one or more computer-readable medium hardware units. The computer-readable storage medium 2006 retains any kind of information 2008, such as machine-readable instructions, settings, data, etc. Without limitation, for example, the computer-readable storage medium 2006 may include one or more solid-state devices, one or more magnetic hard disks, one or more optical disks, magnetic tapes, etc. Any instance of the computer-readable storage medium 2006 may use any technology to store and retrieve information. In addition, any instance of the computer-readable storage medium 2006 may represent a fixed or removable unit of the computing device 2002. In addition, any instance of the computer-readable storage medium 2006 may provide volatile or non-volatile retention of information.
[0108] The computing device 2002 may utilize any instance of the computer-readable storage medium 2006 in different ways. For example, any instance of the computer-readable storage medium 2006 may represent a hardware memory unit (such as random access memory (RAM)) for storing transient information during the execution of a program by the computing device 2002, and / or a hardware storage unit (such as a hard disk) for more permanent retention / archiving of information. In the latter case, the computing device 2002 also includes one or more drive mechanisms 2010 (such as a hard disk drive mechanism) for storing and retrieving information from the instance of the computer-readable storage medium 2006.
[0109] The computing device 2002 may perform any of the above functions when the hardware processor(s) 2004 execute computer-readable instructions stored in any instance of the computer-readable storage medium 2006. For example, the computing device 2002 may execute computer-readable instructions to perform each of the process blocks described in Section B.
[0110] Alternatively or additionally, the computing device 2002 may rely on one or more other hardware logic units 2012 to perform operations using a task-specific set of logic gates. For example, the hardware logic unit(s) 2012 may include a fixed configuration of hardware logic gates that are created and set at manufacturing time and cannot be changed thereafter. Alternatively or additionally, the other hardware logic unit(s) 2012 may include a set of programmable hardware logic gates that can be set to perform different application-specific tasks. The latter class of devices includes, but is not limited to, programmable array logic devices (PALs), general array logic devices (GALs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), and the like.
[0111] Fig. 20 Hardware logic circuitry 2014 is generally indicated to include any combination of hardware processor(s) 2004, computer-readable storage media 2006, and / or other hardware logic unit(s) 2012. That is, computing device 2002 may employ any combination of hardware processor(s) 2004 that execute machine-readable instructions provided in computer-readable storage media 2006 and / or one or more other hardware logic units 2012 that perform operations using a set of fixed and / or programmable hardware logic gates. More generally, hardware logic circuitry 2014 corresponds to one or more hardware logic units(s) of any type that perform operations based on logic stored and / or otherwise embodied in the hardware logic unit(s).
[0112] In some cases (e.g., where computing device 2002 represents a user computing device), computing device 2002 also includes an input / output interface 2016 for receiving various inputs (via input devices 2018) and for providing various outputs (via output devices 2020). Illustrative input devices include a keyboard device, a mouse input device, a touch screen input device, a digitizer tablet, one or more still image cameras, one or more video cameras, one or more depth camera systems, one or more microphones, a voice recognition mechanism, any motion detection mechanism (e.g., accelerometers, gyroscopes, etc.), etc. A specific output mechanism may include a display device 2022 and an associated graphical user interface presentation (GUI) 2024. Display device 2022 may correspond to a liquid crystal display device, a light emitting diode display (LED) device, a cathode ray tube device, a projection mechanism, etc. Other output devices include a printer, one or more speakers, a tactile output mechanism, an archiving mechanism (for storing output information), etc. The computing device 2002 may also include one or more network interfaces 2026 for exchanging data with other devices via one or more communication conduits 2028. One or more communication buses 2030 communicatively couple the above-mentioned units together.
[0113] The communication conduit(s) 2028 may be implemented in any manner, for example, via a local area network, a wide area computer network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. The communication conduit(s) 2028 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., managed by any protocol or combination of protocols.
[0114] Fig. 20 Computing device 2002 is shown as being composed of a discrete set of separate units. In some cases, the set of units may correspond to discrete hardware units provided in a computing device chassis having any form factor. Fig. 20 An illustrative form factor is shown with its bottom portion. In other cases, computing device 2002 may include an integrated Figure 1 For example, computing device 2002 may include a hardware logic unit that combines the functions of two or more of the units shown. Fig. 20 An integrated circuit that integrates the functions of two or more of the units shown corresponds to a system on a chip (SoC or SOC).
[0115] The following summary provides a non-exhaustive collection of illustrative aspects of the techniques described herein.
[0116] According to a first aspect, a computer-implemented method for generating and applying a relational index is described. The method includes, for each image in a plurality of images: retrieving the image from an image source; using a machine-trained model to identify a set of objects depicted in the image; using the machine-trained model to map image content associated with each object in the set of objects to at least one latent semantic vector, each latent semantic vector corresponding to an attribute associated with the object; identifying one or more additional attributes associated with each object; and providing an index entry associated with each object in the relational index, the index entry including a set of attributes associated with the object, the attribute set including at least one latent semantic vector and one or more additional attributes associated with the object. The relational index as a whole includes a plurality of index entries, the plurality of index entries being linked via attributes associated with the plurality of index entries. The method also includes installing the relational index in a data repository associated with an object retrieval system. In an application phase, the method includes: receiving a search query specifying a query object from a user, the user submitting the search query using an input device provided by a user computing device; identifying at least one other object using the relational index based on at least one attribute linking the query object to at least one other object related to the query object; and providing search results notifying the user of the at least one other object to the user computing device.
[0117] According to a second aspect, the operation of identifying one or more additional attributes includes, for a given object associated with a given image: identifying a given image in which the given object appears; and identifying a page in which the given image appears.
[0118] According to a third aspect, the operation of identifying one or more additional attributes includes, for a given object associated with a given image, identifying whether the given object is related to one or more other objects in the given image.
[0119] According to a fourth aspect related to the third aspect, the operation of identifying whether the given objects are related includes determining whether the given object and another object are associated with a same parent object in a given image.
[0120] According to a fifth aspect, the operation of identifying one or more additional attributes includes: for a given object associated with a given image, identifying an entity associated with the given object.
[0121] According to a sixth aspect, the method further comprises: for each given object in a given image, determining whether to include an index entry for the given object in the relationship index, the determination using a machine trained model to determine whether a quality associated with the given object satisfies a specified quality test.
[0122] According to a seventh aspect, one or more computing devices for generating a relational index are described. The computing device(s) include a hardware logic circuit system, which in turn includes: (a) one or more hardware processors that perform operations by executing machine-readable instructions stored in a memory, and / or (b) one or more other hardware logic units that perform operations using a set of logic gates specific to a task. The operation includes, for each of a plurality of images: retrieving an image from an image source; identifying a set of objects depicted in the image using a machine training model; mapping the image content associated with each object in the set of objects to at least one latent semantic vector using a machine training model, each latent semantic vector corresponding to an attribute associated with the object; identifying one or more additional attributes associated with each object; and providing an index entry associated with each object in the relational index, the index entry including a set of attributes associated with the object, the attribute set including at least one latent semantic vector and one or more additional attributes associated with the object. The relational index as a whole includes a plurality of index entries, and the plurality of index entries are linked via attributes associated with the plurality of index entries.
[0123] According to an eighth aspect related to the seventh aspect, the operation of identifying one or more additional attributes includes: for a given object associated with a given image, identifying a given image in which the given object appears; and identifying a page in which the given image appears.
[0124] According to a ninth aspect related to the seventh aspect, the operation of identifying one or more additional attributes includes: for a given object associated with a given image, identifying whether the given object is associated with one or more other objects in the given image.
[0125] According to a tenth aspect related to the ninth aspect, the operation of identifying whether given objects are related includes: determining whether the given object and another object are associated with a same parent object in a given image.
[0126] According to an eleventh aspect related to the seventh aspect, the operation of identifying one or more additional attributes includes: for a given object associated with a given image, identifying a creation time associated with the given object; and identifying a location where the given object is created.
[0127] According to a twelfth aspect related to the seventh aspect, the operation of identifying one or more additional attributes includes: for a given object associated with a given image, identifying an entity associated with the given object.
[0128] According to a thirteenth aspect related to the seventh aspect, the operation further includes: for each given object in a given image, using a machine training model to determine whether a quality associated with the given object satisfies a prescribed quality test.
[0129] According to a fourteenth aspect related to the seventh aspect, the operation further includes filtering the relationship index to extract objects and relationships associated with a specific environment to generate an environment-specific relationship index.
[0130] According to a fifteenth aspect, a computer-readable storage medium is described for storing computer-readable instructions. The computer-readable instructions, when executed by one or more hardware processors, perform the following method, the method comprising: receiving a search query specifying a query object from a user, the user submitting the search query using an input device provided by a user computing device; identifying at least one other object using a relationship index based on linking the query object to at least one attribute of at least one other object related to the query object; and providing search results notifying the user of the at least one other object to the user computing device. The relationship index has a plurality of index entries, each index entry being associated with an object appearing in an image, and each index entry associated with an object includes a plurality of attributes associated with the object, the plurality of attributes including an attribute providing at least one latent semantic vector associated with the object.
[0131] According to a sixteenth aspect related to the fifteenth aspect, the operation of receiving a search query includes receiving a user selection of a query object within the image.
[0132] According to a seventeenth aspect related to the fifteenth aspect, the method further includes receiving input describing a relationship of interest from a user, wherein the use operation is used to find at least one other object in the following manner: finding one or more objects related to the query object relative to the relationship of interest.
[0133] According to an eighteenth aspect related to the seventeenth aspect, the relationship of interest is complementarity, and wherein as a result, the query object has a complementary relationship with at least one other object, the complementary relationship being based on a determination that the query object and each of the at least one other object co-appear in one or more images.
[0134] According to a nineteenth aspect related to the fifteenth aspect, the method further includes filtering the search results to provide a plurality of objects associated with a plurality of categories.
[0135] According to a twentieth aspect related to the fifteenth aspect, the operation provided includes providing at least one image associated with at least one object, the at least one image being taken from a data repository of environment-specific images associated with a specific environment, and the image extraction system generating a relationship index based on a more comprehensive image corpus compared to the environment-specific images.
[0136] The twenty-first aspect corresponds to any combination (eg, any logically consistent arrangement or subset) of the above-mentioned first to twentieth aspects.
[0137] The twenty-second aspect corresponds to any method counterpart, device counterpart, system counterpart, apparatus plus function counterpart, computer-readable storage medium counterpart, data structure counterpart, product counterpart, graphical user interface presentation counterpart, etc. related to the first to twenty-first aspects.
[0138] Finally, the functionality described herein may employ various mechanisms to ensure that any user data is processed in a manner consistent with applicable laws, social norms, and the expectations and preferences of individual users. For example, the functionality may allow users to explicitly opt-in (and then explicitly opt-out) of the functionality's provisions. The functionality may also provide appropriate security mechanisms (e.g., data cleansing mechanisms, encryption mechanisms, password protection mechanisms, etc.) to ensure the privacy of user data.
[0139] Furthermore, the description may have presented various concepts in the context of an illustrative challenge or problem. Such an interpretation is not intended to imply that others have understood and / or articulated the challenge or problem in the manner specified herein. Furthermore, such an interpretation is not intended to imply that the subject matter recited in the claims is limited to solving only the identified challenge or problem; that is, the subject matter in the claims may be applicable in the context of challenges or problems other than those described herein.
[0140] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims
1. A computer-readable storage medium for storing computer-readable instructions, wherein the computer-readable instructions, when executed by one or more hardware processors, perform the following method, wherein the method include: receiving a search query specifying a query object and a relationship of interest from a user, the user submitting the search query using an input device provided by a user computing device; identifying, using a relationship index, at least one other object related to the query object based on the interest relationship and at least one property linking the query object to the at least one other object, The relational index has multiple index entries. Each index entry is associated with a specific object that appears in the image, and The index entry associated with the specific object includes a plurality of attributes associated with the specific object, wherein the plurality of attributes includes an attribute providing at least one latent semantic vector associated with the specific object, In response to determining that the one or more objects do not satisfy the one or more tests, the relationship index omits the one or more objects that were identified during the object extraction process, The omitting further comprises omitting one or more relationships between the one or more objects that have been identified; as well as providing search results to the user computing device, the search results provided notifying the user of the at least one other object, Wherein the relationship of interest is a complementary relationship, and wherein the complementary relationship is based on a determination that the query object and each of the at least one other object co-occur within one or more images.
2. The computer-readable storage medium of claim 1 , wherein the method further comprises clustering the search results to provide multiple groups of objects associated with multiple categories, and the providing comprises displaying image sets associated with corresponding multiple categories, each category having a complementary relationship with the query object.
3. The computer-readable storage medium of claim 1 , wherein the providing comprises providing at least one image associated with the at least one other object, the at least one image being taken from a data repository of environment-specific images associated with a specific environment, the environment-specific images in the data repository being selected from a larger corpus of images than a plurality of images in the data repository of environment-specific images.
4. The computer-readable storage medium of claim 3, wherein the larger image corpus is a general public image collection including user photos submitted by users, and the data repository of environment-specific images is a curated catalog image that omits user photos.
5. The computer-readable storage medium of claim 3, wherein a particular image in the data repository of environment-specific images is not included in the larger image corpus but serves as a proxy for a corresponding image in the larger image corpus.
6. The computer-readable storage medium of claim 3, wherein a specific image in the data repository of environment-specific images is also included in the larger corpus.
7. The computer-readable storage medium of claim 3, wherein the method further comprises providing a control to the user, the control giving the user the option of viewing a specific image taken from the larger image corpus, the specific image being a specific display image taken from the data repository of environment-specific images but not included in the data repository of environment-specific images.
8. The computer-readable storage medium of claim 1, wherein the search results display sequential images including objects matching the query object arranged by capture time.
9. A computer-implemented method for performing a search, include: receiving a search query specifying a query object and a relationship of interest from a user, the user submitting the search query using an input device provided by a user computing device; identifying, using a relationship index, at least one other object related to the query object based on the interest relationship and at least one property linking the query object to the at least one other object, The relational index has multiple index entries. Each index entry is associated with a specific object that appears in the image, and The index entry associated with the specific object includes a plurality of attributes associated with the specific object, wherein the plurality of attributes includes an attribute providing at least one latent semantic vector associated with the specific object, In response to determining that the one or more objects do not satisfy the one or more tests, the relationship index omits the one or more objects that were identified during the object extraction process, The omitting further comprises omitting one or more relationships between the one or more objects that have been identified; as well as providing search results to the user computing device, the search results provided notifying the user of the at least one other object, Wherein the relationship of interest is a complementary relationship, and wherein the complementary relationship is based on a determination that the query object and each of the at least one other object co-occur within one or more images.
10. One or more computing devices for performing a search, the one or more computing devices include: Hardware logic circuitry comprising: (a) one or more hardware processors that perform operations by executing machine-readable instructions stored in memory, and / or (b) one or more other hardware logic units that perform said operations using a task-specific collection of logic gates, The operations include: receiving a search query specifying a query object and a relationship of interest from a user, the user submitting the search query using an input device provided by a user computing device; identifying, using a relationship index, at least one other object related to the query object based on the interest relationship and at least one property linking the query object to the at least one other object, The relational index has multiple index entries. Each index entry is associated with a specific object that appears in the image, and The index entry associated with the specific object includes a plurality of attributes associated with the specific object, wherein the plurality of attributes include providing at least one latent semantic vector associated with the specific object, In response to determining that the one or more objects do not satisfy the one or more tests, the relationship index omits the one or more objects that were identified during the object extraction process, The omitting further comprises omitting one or more relationships between the one or more objects that have been identified; and providing search results to the user computing device, wherein the provided search results inform the user of the at least one other object, Wherein the relationship of interest is a complementary relationship, and wherein the complementary relationship is based on a determination that the query object and each of the at least one other object co-occur within one or more images.
Citation Information
Patent Citations
Improving people searches using images
CN104919452A
Image processing device, image retrieval interface display device, and method for displaying image retrieval interface
CN108431800A
