Certain aspects of the present disclosure generally relate to object tracking and, more particularly, to using a natural language query to track an object.
Object tracking may be used for various applications in various devices, such as internet protocol (IP) cameras, Internet of Things (IoT) devices, autonomous cars, and/or service robots. The object tracking applications may include improved object perception and/or understanding of object paths for motion planning.
Object tracking localizes a target object in consecutive frames. The object tracker may be trained to track the object from a frame to a search region of a subsequent frame using various techniques. That is, an artificial neural network may match an image, such as an image in a bounding box, from a first frame to a search region of a second frame (e.g., subsequent frame).
Conventional object trackers are initialized when a user places a bounding box around a target (e.g., object) in a frame of a video. The bounding box may be manually placed around the target in an initial frame. The target is tracked through subsequent frames based on the bounding box.
Conventional recurrent neural networks can be used for a variety of tasks, such as image captioning and visual question answering. A recurrent neural network (e.g., artificial neural network (ANN)), which may comprise an interconnected group of artificial neurons (e.g., neuron models), is a computational device or represents a method to be performed by a computational device.
In one aspect of the present disclosure, a method of tracking an object across a sequence of video frames using a natural language query is presented. After receiving the natural language query, the method identifies an initial target in an initial frame of the sequence of video frames based on the natural language query. The method further includes adjusting the natural language query, for a subsequent frame, based on content of the subsequent frame and/or a likelihood of a semantic property of the initial target appearing in the subsequent frame. The method still further includes identifying a text driven target in the subsequent frame based on the adjusted natural language query. The method identifies a visual driven target in the subsequent frame based on the initial target in the initial frame. The method further combines the visual driven target with the text driven target to obtain a final target in the subsequent frame.
Another aspect of the present disclosure is directed to an apparatus including means for receiving the natural language query. The apparatus also includes means for identifying an initial target in an initial frame of the sequence of video frames based on the natural language query. The apparatus further includes means for adjusting the natural language query, for a subsequent frame, based on content of the subsequent frame and/or a likelihood of a semantic property of the initial target appearing in the subsequent frame. The apparatus still further includes means for identifying a text driven target in the subsequent frame based on the adjusted natural language query. The apparatus also includes means for identifying a visual driven target in the subsequent frame based on the initial target in the initial frame. The apparatus further includes means for combining the visual driven target with the text driven target to obtain a final target in the subsequent frame.
In another aspect of the present disclosure, a non-transitory computer-readable medium with non-transitory program code recorded thereon is disclosed. The program code for tracking an object across a sequence of video frames using a natural language query is executed by at least one processor and includes program code to receive the natural language query. The program code also includes program code to identify an initial target in an initial frame of the sequence of video frames based on the natural language query. The program code further includes program code to adjust the natural language query, for a subsequent frame, based on content of the subsequent frame and/or a likelihood of a semantic property of the initial target appearing in the subsequent frame. The program code still further includes program code to identify a text driven target in the subsequent frame based on the adjusted natural language query. The program code also includes program code to identify a visual driven target in the subsequent frame based on the initial target in the initial frame. The program code further includes program code to combine the visual driven target with the text driven target to obtain a final target in the subsequent frame.
Another aspect of the present disclosure is directed to an apparatus for tracking an object across a sequence of video frames using a natural language query, the apparatus having a memory unit and one or more processors coupled to the memory unit. The processor(s) is configured to receive the natural language query and to identify an initial target in an initial frame of the sequence of video frames based on the natural language query. The processor(s) is further configured to adjust the natural language query, for a subsequent frame, based on content of the subsequent frame and/or a likelihood of a semantic property of the initial target appearing in the subsequent frame. The processor(s) is still further configured to identify a text driven target in the subsequent frame based on the adjusted natural language query. The processor(s) is also configured to identify a visual driven target in the subsequent frame based on the initial target in the initial frame. The processor(s) is further configured to combine the visual driven target with the text driven target to obtain a final target in the subsequent frame.
Additional features and advantages of the disclosure will be described below. It should be appreciated by those skilled in the art that this disclosure may be readily utilized as a basis for modifying or designing other structures for carrying out the same purposes of the present disclosure. It should also be realized by those skilled in the art that such equivalent constructions do not depart from the teachings of the disclosure as set forth in the appended claims. The novel features, which are believed to be characteristic of the disclosure, both as to its organization and method of operation, together with further objects and advantages, will be better understood from the following description when considered in connection with the accompanying figures. It is to be expressly understood, however, that each of the figures is provided for the purpose of illustration and description only and is not intended as a definition of the limits of the present disclosure.
The features, nature, and advantages of the present disclosure will become more apparent from the detailed description set forth below when taken in conjunction with the drawings in which like reference characters identify correspondingly throughout.
The detailed description set forth below, in connection with the appended drawings, is intended as a description of various configurations and is not intended to represent the only configurations in which the concepts described herein may be practiced. The detailed description includes specific details for the purpose of providing a thorough understanding of the various concepts. However, it will be apparent to those skilled in the art that these concepts may be practiced without these specific details. In some instances, well-known structures and components are shown in block diagram form in order to avoid obscuring such concepts.
Based on the teachings, one skilled in the art should appreciate that the scope of the disclosure is intended to cover any aspect of the disclosure, whether implemented independently of or combined with any other aspect of the disclosure. For example, an apparatus may be implemented or a method may be practiced using any number of the aspects set forth. In addition, the scope of the disclosure is intended to cover such an apparatus or method practiced using other structure, functionality, or structure and functionality in addition to or other than the various aspects of the disclosure set forth. It should be understood that any aspect of the disclosure disclosed may be embodied by one or more elements of a claim.
The word “exemplary” is used herein to mean “serving as an example, instance, or illustration.” Any aspect described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other aspects.
Although particular aspects are described herein, many variations and permutations of these aspects fall within the scope of the disclosure. Although some benefits and advantages of the preferred aspects are mentioned, the scope of the disclosure is not intended to be limited to particular benefits, uses or objectives. Rather, aspects of the disclosure are intended to be broadly applicable to different technologies, system configurations, networks and protocols, some of which are illustrated by way of example in the figures and in the following description of the preferred aspects. The detailed description and drawings are merely illustrative of the disclosure rather than limiting, the scope of the disclosure being defined by the appended claims and equivalents thereof.
Natural language object retrieval learns a matching function between natural language queries and object segment appearances. Conventional systems rank image locations according to their fitting score with respect to a sentence description. As such, one sentence applies to one image. Aspects of the present disclosure disengage the sentence description from particular frames, which improves robustness of the tracking by language.
Conventional neural network architectures improve their parameters on training data during training using a maximum likelihood principle. The fixed parameters obtained during training may be applied on novel data. Some systems replace the static neural network parameters with dynamic parameters that depend on the current input. Aspects of the present disclosure use textual input to generate filters.
That is, aspects of the present disclosure improve object tracking by using natural language queries to track an object over multiple frames. In one configuration, an object tracking system integrates language and vision to improve specification of the target and to use the lingual specification of the target to aid the system during the target tracking.
Aspects of the present disclosure are directed to integrating natural language queries with object tracking. For example, the query, “follow the woman in the red dress,” provides a natural language description of an object in an image. Given the image and the query, aspects of the present disclosure localize the object with a bounding box and track the object through subsequent frames (e.g., images) of a sequence of frames.
The SOC 100 may also include additional processing blocks tailored to specific functions, such as a GPU 104, a DSP 106, a connectivity block 110, which may include fourth generation long term evolution (4G LTE) connectivity, unlicensed Wi-Fi connectivity, USB connectivity, Bluetooth connectivity, and the like, and a multimedia processor 112 that may, for example, detect and recognize gestures. In one implementation, the NPU is implemented in the CPU, DSP, and/or GPU. The SOC 100 may also include a sensor processor 114, image signal processors (ISPs) 116, and/or navigation 120, which may include a global positioning system.
The SOC may be based on an ARM instruction set. In an aspect of the present disclosure, the instructions loaded into the general-purpose processor 102 may comprise code for tracking an object across a sequence of video frames using a natural language query. The instructions loaded into the general-purpose processor 102 may also comprise code for receiving the natural language query. The instructions loaded into the general-purpose processor 102 may further comprise code for identifying an initial target in an initial frame of the sequence of video frames based on the natural language query. The instructions loaded into the general-purpose processor 102 may still further comprise code for adjusting the natural language query, for a subsequent frame, based on content of the subsequent frame and/or a likelihood of a semantic property (e.g., a visual feature) of the initial target appearing in the subsequent frame. The instructions loaded into the general-purpose processor 102 may also comprise code for identifying a text driven target in the subsequent frame based on the adjusted natural language query. The instructions loaded into the general-purpose processor 102 may further comprise code for identifying a visual driven target in the subsequent frame based on the initial target in the initial frame. The instructions loaded into the general-purpose processor 102 may still further comprise code for combining the visual driven target with the text driven target to obtain a final target in the subsequent frame.
In one configuration, a processing model is configured to receive the natural language query and identify an initial target in an initial frame of the sequence of video frames based on the natural language query. The model is also configured to adjust the natural language query, for a subsequent frame, based on content of the subsequent frame and/or a likelihood of a semantic property of the initial target appearing in the subsequent frame. The model is further configured to identify a visual driven target in the subsequent frame based on the initial target in the initial frame, and to combine the visual driven target with the text driven target to obtain a final target in the subsequent frame. The model includes a receiving means, identifying means, adjusting means, and/or combining means. In one configuration, the receiving means, identifying means, adjusting means, and/or combining means may be the general-purpose processor 102, program memory associated with the general-purpose processor 102, memory block 118, local processing units 202, and or the routing connection processing units 216 configured to perform the functions recited. In another configuration, the aforementioned means may be any module or any apparatus configured to perform the functions recited by the aforementioned means.
Neural networks may be designed with a variety of connectivity patterns. In feed-forward networks, information is passed from lower to higher layers, with each neuron in a given layer communicating to neurons in higher layers. A hierarchical representation may be built up in successive layers of a feed-forward network, as described above. Neural networks may also have recurrent or feedback (also called top-down) connections. In a recurrent connection, the output from a neuron in a given layer may be communicated to another neuron in the same layer. A recurrent architecture may be helpful in recognizing patterns that span more than one of the input data chunks that are delivered to the neural network in a sequence. A connection from a neuron in a given layer to a neuron in a lower layer is called a feedback (or top-down) connection. A network with many feedback connections may be helpful when the recognition of a high-level concept may aid in discriminating the particular low-level features of an input.
Referring to
Locally connected neural networks may be well suited to problems in which the spatial location of inputs is meaningful. For instance, a network 300 designed to recognize visual features from a car-mounted camera may develop high layer neurons with different properties depending on their association with the lower versus the upper portion of the image. Neurons associated with the lower portion of the image may learn to recognize lane markings, for example, while neurons associated with the upper portion of the image may learn to recognize traffic lights, traffic signs, and the like.
A DCN may be trained with supervised learning. During training, a DCN may be presented with an image, such as a cropped image of a speed limit sign 326, and a “forward pass” may then be computed to produce an output 322. The output 322 may be a vector of values corresponding to features such as “sign,” “60,” and “100.” The network designer may want the DCN to output a high score for some of the neurons in the output feature vector, for example the ones corresponding to “sign” and “60” as shown in the output 322 for a network 300 that has been trained. Before training, the output produced by the DCN is likely to be incorrect, and so an error may be calculated between the actual output and the target output. The weights of the DCN may then be adjusted so that the output scores of the DCN are more closely aligned with the target.
To adjust the weights, a learning algorithm may compute a gradient vector for the weights. The gradient may indicate an amount that an error would increase or decrease if the weight were adjusted slightly. At the top layer, the gradient may correspond directly to the value of a weight connecting an activated neuron in the penultimate layer and a neuron in the output layer. In lower layers, the gradient may depend on the value of the weights and on the computed error gradients of the higher layers. The weights may then be adjusted so as to reduce the error. This manner of adjusting the weights may be referred to as “back propagation” as it involves a “backward pass” through the neural network.
In practice, the error gradient of weights may be calculated over a small number of examples, so that the calculated gradient approximates the true error gradient. This approximation method may be referred to as stochastic gradient descent. Stochastic gradient descent may be repeated until the achievable error rate of the entire system has stopped decreasing or until the error rate has reached a target level.
After learning, the DCN may be presented with new images 326 and a forward pass through the network may yield an output 322 that may be considered an inference or a prediction of the DCN.
Deep convolutional networks (DCNs) are networks of convolutional networks, configured with additional pooling and normalization layers. DCNs have achieved state-of-the-art performance on many tasks. DCNs can be trained using supervised learning in which both the input and output targets are known for many exemplars and are used to modify the weights of the network by use of gradient descent methods.
DCNs may be feed-forward networks. In addition, as described above, the connections from a neuron in a first layer of a DCN to a group of neurons in the next higher layer are shared across the neurons in the first layer. The feed-forward and shared connections of DCNs may be exploited for fast processing. The computational burden of a DCN may be much less, for example, than that of a similarly sized neural network that comprises recurrent or feedback connections.
The processing of each layer of a convolutional network may be considered a spatially invariant template or basis projection. If the input is first decomposed into multiple channels, such as the red, green, and blue channels of a color image, then the convolutional network trained on that input may be considered three-dimensional, with two spatial dimensions along the axes of the image and a third dimension capturing color information. The outputs of the convolutional connections may be considered to form a feature map in the subsequent layer 318 and 320, with each element of the feature map (e.g., 320) receiving input from a range of neurons in the previous layer (e.g., 318) and from each of the multiple channels. The values in the feature map may be further processed with a non-linearity, such as a rectification, max(0,x). Values from adjacent neurons may be further pooled, which corresponds to down sampling, and may provide additional local invariance and dimensionality reduction. Normalization, which corresponds to whitening, may also be applied through lateral inhibition between neurons in the feature map.
The parallel filter banks, for example, of a deep convolutional network may be loaded on a CPU 102 or GPU 104 of an SOC 100, optionally based on an ARM instruction set, to achieve high performance and low power consumption. In alternative embodiments, the parallel filter banks may be loaded on the DSP 106 or an ISP 116 of an SOC 100. In addition, the DCN may access other processing blocks that may be present on the SOC, such as processing blocks dedicated to sensors 114 and navigation 120.
The deep convolutional network 350 may also include one or more fully connected layers (e.g., FC1 and FC2). The deep convolutional network 350 may further include a logistic regression (LR) layer. Between each layer of the deep convolutional network 350 are weights (not shown) that are to be updated. The output of each layer may serve as an input of a succeeding layer in the deep convolutional network 350 to learn hierarchical feature representations from input data (e.g., images, audio, video, sensor data and/or other input data) supplied at the first convolution block C1.
Conventional systems specify a target based on a user input bounding box. That is, a user manually inputs a bounding box around the object and the object (e.g., target) is tracked as it moves throughout the video (e.g., sequence of frames). Aspects of the present disclosure are directed to object tracking in video based on a natural language query. Aspects of the present disclosure do not use a user input bounding box for object tracking. Rather, in one configuration, given a frame from a video and a natural language expression as a query, the visual target described by the query is identified in the frame.
As another example, in a second image 520, a second natural language query may be “locate a window in the bottom left of the image.” In response to the second natural language query, the natural language object retrieval system generates a prediction 506 of the location of the window. A ground truth bounding box 508 is also indicated. The ground truth bounding box 508 may be used for training via back-propagation. In the present application, a natural language query may be referred to as a query. After training a natural language object retrieval system, the natural language object retrieval system may be used for object tracking. The natural language object retrieval system may be a component of an object tracking system.
The location of the target 604 is inferred based on the activations of the saliency map 610. As shown in
In one configuration, the query is extended beyond the query frame to future frames (e.g., frames after the query frame). That is, while tracking the target 604, the natural language object tracking system uses the query to maintain the bounding box 608 around the target 604 in view of image noise and/or object variation in later frames. In another configuration, the natural language object tracking system may track multiple objects matching the query. In yet another configuration, if more than one object is tracked in response to the query, an additional query may be provided to refine the tracking to one object. The additional query may be provided in response to a prompt from the network.
In one configuration, a multiple pathway artificial neural network is used for object tracking. The network may include a query pathway (e.g., text driven branch) for processing the target description provided by the user. The query pathway may use an attention long short term memory (LSTM) network. The network may also include a target pathway (e.g., visual driven branch) that visually processes the query target. A context pathway may also be specified to convolve the visual features of the current frame with the filters generated from the query pathway and the target pathway. The context pathway may use a convolutional neural network (CNN), such as a deep convolutional neural network.
In one configuration, after receiving the natural language query, each word of the query is embedded into a vector and each vector is input to a recurrent neural network, such as a long short term memory (LSTM) network (block 704). The long short term memory network generates filters, such as visual filters (e.g., text driven visual filters), by encoding each received vector (block 706).
Additionally, as shown in
At block 714, a saliency map (e.g., response map) is generated by convolving the feature map (I) (block 712) with the visual filters (block 706). In one configuration, a dynamic convolutional layer is used to convolve the feature map (I) (block 712) with the visual filters (block 706). The convolutional filters may be dynamically determined based on different input information. The target information may be encoded by the query representation (s=hT) generated from the long short term memory network. Furthermore, visual filters may be generated from the query (e.g., language expression). A single layer perceptron may be used to transform the semantic information from the generated representation (s) into the corresponding visual information as convolutional filters (e.g., dynamic filters) (v):
v=σ(Wvs+bv) (1)
where σ is the sigmoid function, and v has the same number of channels as the image feature map I. The parameter Wv is a weight matrix and bv is the bias of the network. The dynamic filters may be specific filters determined by the semantic information from that query. That is, the dynamic filters may be different from the general filters used in conventional convolutional neural networks. For example, the phrase “track the red dog” will generate visual filters focusing on “red” and “dog.” That is, in one configuration, in contrast to conventional systems, the convolutional neural network does not to learn general convolution filters. For the query frame, aspects of the present disclosure generate the visual filters from the query.
In one configuration, the augmented image feature map I is convolved with the generated dynamic filters (v):
A=v*I (2)
where A is the response map including classification scores for each location in the feature map. A bounding box location of the target is then generated in the query frame described based on the language expression input. That is, at block 716, a likely location of the target is estimated based on the activations of the saliency map. In one configuration, the area having the highest activation is estimated as the location of the target.
As previously discussed, to take advantage of both visual features of the target and linguistic features of the query, starting from a frame subsequent to the query frame, a three branch network may be used. As shown in
The query may be specified according to a query frame. Still, the object(s) in the frame may change after the query frame. Therefore, the text driven filters may be dynamic filters. For example, the query “woman in pink top next to a car” used in the query frame may be true if the woman is near a car in the query frame. However, if the woman is walking, she may eventually move away from the car. Therefore, an attention model may selectively focus on parts of the query, which are more likely to be consistent throughout the video.
In one configuration, the text driven filters are adjusted based on an attention model (block 808). The attention model may give greater weight to words in the query that are more likely to be consistent (e.g., present) in subsequent frames of the video, such as “woman” and “pink top” as opposed to “next to the car.” That is, the target's clothing (pink top) and gender (woman) have a higher probability of remaining the same throughout the video in comparison to the object's location (next to the car). In this example, the words “woman” and “pink top” are given a higher weight than “next to the car.”
The attention model may also adjust the weights based on the content of the subsequent frame. That is, if the network 800 detects that a target and/or or content of the subsequent frame has changed, the network may adjust the weights accordingly. For example, the woman in the pink top may put on a black jacket that covers the pink top. In this example, given the content of the current frame, the attention model may adjust the weight given to “pink top.” For example, the weight may be lowered or set to zero.
Additionally, as shown in
At block 818, the multiple pathway network 800 also receives the identified target of the query frame. The target from the query frame is input to an artificial neural network, such as a deep convolutional neural network (block 820) to extract semantic, such as visual features, for the target in the query frame. The features are used to generate visual driven filters (block 822). Compared with the text driven branch, which transforms the linguistic features into dynamic filters, the visual driven branch uses the visual features of the target of the query frame as dynamic filters. The feature map is convolved with the dynamic filters of the visual driven branch. The convolving may be performed based on EQUATION 2.
Aspects of the present disclosure improve target tracking by using visual driven filters (block 822) in addition to text driven filters (block 806). For input frames after the query frame, the identified target from the query frame is used to generate visual driven filters to mitigate tracking false positives. For example, at a later time, another woman in a pink top may appear. In this example, the woman in the pink top may have some visual similarities to the original target. In a system that only relies on filters generated from the natural language query, the system may track the new woman in addition to the original woman. That is, the system would track all the women in pink tops. According to aspects of the present disclosure, the visual driven filters generated from the target frame alleviate problems that may arise from one or more similar targets entering a frame.
The visual driven filters (block 822) are convolved with the feature map (block 814) to generate a second saliency map (block 824) (e.g., target response map). The first saliency map (block 816) and the second saliency map (block 824) may be combined to generate a bounding box prediction of the target location in the current frame (block 826). The process is repeated for each frame of the sequence of frames specified for tracking the target.
As discussed above, each word of the query is embedded into a vector that is input to a long short term memory network. The output of the long short term memory network is a hidden state (ht), which is a sentence (s) representation.
As discussed in relation to
As shown in
s=Σ
t=1
T
a
t
h
t (3)
The sentence representation (s) focuses on words with a greater weight. That is, the weights (at) (t=1, . . . , T) indicate the word importance. The weights may be adjusted based on a likelihood of a semantic property of the initial target being present in future frames and/or the content of the current frame. In one configuration, the weights are computed by a multi-layer perceptron conditioned on the hidden state at each word position and the visual features of the target (z) (e.g., visual features of the target identified in the query frame):
where ϕ is the rectified linear unit (ReLU) and the attention weights are normalized using a normalized exponential function (e.g., softmax). The parameters Wα, Wh, Wz are weight matrices, and b, bα are biases of the multi-layer perceptron. The attention weights may be generated by matching the visual target with the word sequence at each word position. As a result, the words corresponding to the target object properties are more likely to be selected rather than the context information in the expression. After obtaining the attention weighted representations for the query, a response map may be generated.
In conventional systems, the target defined by the bounding box is tracked in a single video. According to aspects of the present disclosure, the query is simultaneously executed on multiple videos. For example, the query may be used on all video feeds at a stadium to track a desired individual.
In conventional systems, the bounding box definition is applied to a particular object in a particular frame, such as the first frame in the sequence of frames. According to aspects of the present disclosure, a query is applied to any of the frames in a sequence of frames (e.g., video). Furthermore, in this configuration, the query may be inactive for several frames and the tracking may be autonomously initiated when a relevant object reappears. For example, the tracking may be used to track objects in live streaming, where a user may not be constantly monitoring the stream to define the target.
In conventional systems, over time, a tracker may drift. For example, when an object is being tracked, there may be a difference in a similarity of the target from a first frame to a subsequent frame. The target similarity may be different due to a change in lighting, a change in target orientation, and/or image noise. The different similarity may cause the prediction to drift. In one configuration, the query is applied to each frame to operate as a semantic regularization for mitigating drifting. Furthermore, the language description may guide a standard tracker to avoid online updates when the object is not present in the image, because the semantic property of the initial target may be more likely to be consistent throughout the video than its visual appearance.
The initial frame (e.g., query frame) may be input to a neural network such as a deep convolutional neural network (CNN). The deep convolutional neural network generates a feature map of the initial frame. The feature map may be convolved with the text driven filters to generate a response map (e.g., saliency map). The location of the target is predicted based on the response map. That is, the areas of the response map with the highest activations may be predicted as the location of the target. In one configuration, a target is then localized with a bounding box.
At block 1406, the artificial neural network adjusts the natural language query, for a subsequent frame, based on content of the subsequent frame and/or a likelihood of a semantic property of the initial target appearing in the subsequent frame. In addition to, or alternate from, the semantic property, aspects of the present disclosure may consider the visual features of the initial target. In an optional configuration, at block 1408, the artificial neural network adjusts the natural language query by applying a weight to each word of the natural language query. The weights may be generated based on the content of the subsequent frame and/or a likelihood of a semantic property of the initial target appearing in the subsequent frame. For example, for the query “woman in pink top and black pants next to white car,” the gender (woman) and clothing (pink top) have a lower probability of changing in comparison to the woman's location (next to white car). The words with a low probability of changing are given a higher weight. Additionally, the target may change from the initial frame to a subsequent frame and the weight applied to each word is adjusted to account for the change of appearance. For example, in the initial frame, the woman is wearing a pink top. In a subsequent frame, the woman may put on a black jacket, which covers the pink top. Because the woman is no longer wearing the pink top, the weight given to the phrase pink top is adjusted. For example, the weight may be lowered or set to zero, such that the words “woman” and “black pants” are deemed the most relevant. The natural language query may be adjusted by the weights based on the content of the subsequent frame. Furthermore, the natural language query may be adjusted by the weights based on a likelihood of a semantic property of the initial target being present in subsequent frames.
At block 1410, the artificial neural network identifies a text driven target in the subsequent frame based on the adjusted natural language query. In an optional configuration, at block 1412, the artificial neural network generates multiple text driven filters from the adjusted natural language query and convolves a feature map of the subsequent frame with the multiple text driven filters to generate a textual query saliency map. In one configuration, the text driven target is identified based on the textual query saliency map.
At block 1414, the artificial neural network identifies a visual driven target in the subsequent frame based on the initial target in the initial frame. In an optional configuration, at block 1416, the artificial neural network generates multiple visual driven filters from the initial target and convolves a feature map of the subsequent frame with the multiple visual driven filters to generate a visual saliency map. In one configuration, the visual driven target is identified based on the visual saliency map.
Finally, at block 1418, the artificial neural network combines the visual driven target with the text driven target to obtain a final target in the subsequent frame. The final target may be localized in the subsequent frame with a bounding box.
The method 1400 may be performed by the SOC 100 (
The various operations of methods described above may be performed by any suitable means capable of performing the corresponding functions. The means may include various hardware and/or software component(s) and/or module(s), including, but not limited to, a circuit, an application specific integrated circuit (ASIC), or processor. Generally, where there are operations illustrated in the figures, those operations may have corresponding counterpart means-plus-function components with similar numbering.
As used herein, the term “determining” encompasses a wide variety of actions. For example, “determining” may include calculating, computing, processing, deriving, investigating, looking up (e.g., looking up in a table, a database or another data structure), ascertaining and the like. Additionally, “determining” may include receiving (e.g., receiving information), accessing (e.g., accessing data in a memory) and the like. Furthermore, “determining” may include resolving, selecting, choosing, establishing and the like.
As used herein, a phrase referring to “at least one of” a list of items refers to any combination of those items, including single members. As an example, “at least one of: a, b, or c” is intended to cover: a, b, c, a-b, a-c, b-c, and a-b-c.
The various illustrative logical blocks, modules and circuits described in connection with the present disclosure may be implemented or performed with a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array signal (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic, discrete hardware components or any combination thereof designed to perform the functions described herein. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any commercially available processor, controller, microcontroller or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The steps of a method or algorithm described in connection with the present disclosure may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in any form of storage medium that is known in the art. Some examples of storage media that may be used include random access memory (RAM), read only memory (ROM), flash memory, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, a hard disk, a removable disk, a CD-ROM and so forth. A software module may comprise a single instruction, or many instructions, and may be distributed over several different code segments, among different programs, and across multiple storage media. A storage medium may be coupled to a processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor.
The methods disclosed herein comprise one or more steps or actions for achieving the described method. The method steps and/or actions may be interchanged with one another without departing from the scope of the claims. In other words, unless a specific order of steps or actions is specified, the order and/or use of specific steps and/or actions may be modified without departing from the scope of the claims.
The functions described herein may be implemented in hardware, software, firmware, or any combination thereof. If implemented in hardware, an example hardware configuration may comprise a processing system in a device. The processing system may be implemented with a bus architecture. The bus may include any number of interconnecting buses and bridges depending on the specific application of the processing system and the overall design constraints. The bus may link together various circuits including a processor, machine-readable media, and a bus interface. The bus interface may be used to connect a network adapter, among other things, to the processing system via the bus. The network adapter may be used to implement signal processing functions. For certain aspects, a user interface (e.g., keypad, display, mouse, joystick, etc.) may also be connected to the bus. The bus may also link various other circuits such as timing sources, peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further.
The processor may be responsible for managing the bus and general processing, including the execution of software stored on the machine-readable media. The processor may be implemented with one or more general-purpose and/or special-purpose processors. Examples include microprocessors, microcontrollers, DSP processors, and other circuitry that can execute software. Software shall be construed broadly to mean instructions, data, or any combination thereof, whether referred to as software, firmware, middleware, microcode, hardware description language, or otherwise. Machine-readable media may include, by way of example, random access memory (RAM), flash memory, read only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable Read-only memory (EEPROM), registers, magnetic disks, optical disks, hard drives, or any other suitable storage medium, or any combination thereof. The machine-readable media may be embodied in a computer-program product. The computer-program product may comprise packaging materials.
In a hardware implementation, the machine-readable media may be part of the processing system separate from the processor. However, as those skilled in the art will readily appreciate, the machine-readable media, or any portion thereof, may be external to the processing system. By way of example, the machine-readable media may include a transmission line, a carrier wave modulated by data, and/or a computer product separate from the device, all which may be accessed by the processor through the bus interface. Alternatively, or in addition, the machine-readable media, or any portion thereof, may be integrated into the processor, such as the case may be with cache and/or general register files. Although the various components discussed may be described as having a specific location, such as a local component, they may also be configured in various ways, such as certain components being configured as part of a distributed computing system.
The processing system may be configured as a general-purpose processing system with one or more microprocessors providing the processor functionality and external memory providing at least a portion of the machine-readable media, all linked together with other supporting circuitry through an external bus architecture. Alternatively, the processing system may comprise one or more neuromorphic processors for implementing the neuron models and models of neural systems described herein. As another alternative, the processing system may be implemented with an application specific integrated circuit (ASIC) with the processor, the bus interface, the user interface, supporting circuitry, and at least a portion of the machine-readable media integrated into a single chip, or with one or more field programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gated logic, discrete hardware components, or any other suitable circuitry, or any combination of circuits that can perform the various functionality described throughout this disclosure. Those skilled in the art will recognize how best to implement the described functionality for the processing system depending on the particular application and the overall design constraints imposed on the overall system.
The machine-readable media may comprise a number of software modules. The software modules include instructions that, when executed by the processor, cause the processing system to perform various functions. The software modules may include a transmission module and a receiving module. Each software module may reside in a single storage device or be distributed across multiple storage devices. By way of example, a software module may be loaded into RAM from a hard drive when a triggering event occurs. During execution of the software module, the processor may load some of the instructions into cache to increase access speed. One or more cache lines may then be loaded into a general register file for execution by the processor. When referring to the functionality of a software module below, it will be understood that such functionality is implemented by the processor when executing instructions from that software module. Furthermore, it should be appreciated that aspects of the present disclosure result in improvements to the functioning of the processor, computer, machine, or other system implementing such aspects.
If implemented in software, the functions may be stored or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media include both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage medium may be any available medium that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Additionally, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared (IR), radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray® disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Thus, in some aspects computer-readable media may comprise non-transitory computer-readable media (e.g., tangible media). In addition, for other aspects computer-readable media may comprise transitory computer-readable media (e.g., a signal). Combinations of the above should also be included within the scope of computer-readable media.
Thus, certain aspects may comprise a computer program product for performing the operations presented herein. For example, such a computer program product may comprise a computer-readable medium having instructions stored (and/or encoded) thereon, the instructions being executable by one or more processors to perform the operations described herein. For certain aspects, the computer program product may include packaging material.
Further, it should be appreciated that modules and/or other appropriate means for performing the methods and techniques described herein can be downloaded and/or otherwise obtained by a user terminal and/or base station as applicable. For example, such a device can be coupled to a server to facilitate the transfer of means for performing the methods described herein. Alternatively, various methods described herein can be provided via storage means (e.g., RAM, ROM, a physical storage medium such as a compact disc (CD) or floppy disk, etc.), such that a user terminal and/or base station can obtain the various methods upon coupling or providing the storage means to the device. Moreover, any other suitable technique for providing the methods and techniques described herein to a device can be utilized.
It is to be understood that the claims are not limited to the precise configuration and components illustrated above. Various modifications, changes and variations may be made in the arrangement, operation and details of the methods and apparatus described above without departing from the scope of the claims.
The present application claims the benefit of U.S. Provisional Patent Application No. 62/420,510, filed on Nov. 10, 2016 and titled “NATURAL LANGUAGE OBJECT TRACKING,” the disclosure of which is expressly incorporated by reference herein in its entirety.
Number | Date | Country | |
---|---|---|---|
62420510 | Nov 2016 | US |