Automatic digital content captioning using spatial relationships method and apparatus
AssigneeOath Inc.
InventorsSimao HERDADE, Armin KAPPELER, Kofi BOAKYE, Joao Vitor Baldini SOARES
Life of this patent
Estimating the term…
Abstract
Disclosed are systems and methods for improving interactions with and between computers in content hosting and/or providing systems supported by or configured with personal computing devices, servers and/or platforms. The systems interact to identify and retrieve data within or across platforms, which can be used to improve the quality of data used in processing interactions between or among processors in such systems. The disclosed systems and methods provide systems and methods for automatically creating a caption comprising a sequence of words in connection with digital content.
Claims20
A method comprising:
- obtaining, at a computing device, a digital content item;
- analyzing, via the computing device, the digital content item to detect a plurality of objects depicted in the digital content item, the analysis comprising determining a bounding box for each object of the plurality;
- determining, via the computing device and for each object of the plurality, an n-dimensional appearance feature vector for the object, the appearance feature vector determination comprising analyzing content of the digital content item to generate the n-dimensional appearance feature vector;
- determining, via the computing device and for each object of the plurality, a set of geometry features for the object using the bounding box determined for the object;
- generating, via the computing device and using a trained transformer machine model, encoded output using an encoder of the trained transformer, the n-dimensional appearance feature vector and the set of geometry features determined for each object of the plurality, the encoded output generation comprising the encoder using spatial relationships among the plurality of objects identified using the set of geometry features determined for each object of the plurality;
- and
- automatically creating, via the computing device and using the trained transformer machine model, a caption comprising a sequence of words, the automatic caption creation comprising using a decoder component of the trained transformer to decode the encoded output to identify the sequence of words.
A non-transitory computer-readable storage medium tangibly encoded with computer-executable instructions that when executed by a processor associated with a computing device perform a method comprising:
- obtaining a digital content item;
- analyzing the digital content item to detect a plurality of objects depicted in the digital content item, the analysis comprising determining a bounding box for each object of the plurality;
- determining, for each object of the plurality, an n-dimensional appearance feature vector for the object, the appearance feature vector determination comprising analyzing content of the digital content item to generate the n-dimensional appearance feature vector;
- determining, for each object of the plurality, a set of geometry features for the object using the bounding box determined for the object;
- generating, using a trained transformer machine model, encoded output using an encoder of the trained transformer, the n-dimensional appearance feature vector and the set of geometry features determined for each object of the plurality, the encoded output generation comprising the encoder using spatial relationships among the plurality of objects identified using the set of geometry features determined for each object of the plurality;
- and
- automatically creating, using the trained transformer machine model, a caption comprising a sequence of words, the automatic caption creation comprising using a decoder component of the trained transformer to decode the encoded output to identify the sequence of words.
A computing device comprising:
- a processor;
- a non-transitory storage medium for tangibly storing thereon program logic for execution by the processor, the program logic comprising:
- obtaining logic executed by the processor for obtaining a digital content item;
- analyzing logic executed by the processor for analyzing the digital content item to detect a plurality of objects depicted in the digital content item, the analysis comprising determining a bounding box for each object of the plurality;
- determining logic executed by the processor for determining, for each object of the plurality, an n-dimensional appearance feature vector for the object, the appearance feature vector determination comprising analyzing content of the digital content item to generate the n-dimensional appearance feature vector;
- determining logic executed by the processor for determining, for each object of the plurality, a set of geometry features for the object using the bounding box determined for the object;
- generating logic executed by the processor for generating, using a trained transformer machine model, encoded output using an encoder of the trained transformer, the n-dimensional appearance feature vector and the set of geometry features determined for each object of the plurality, the encoded output generation comprising the encoder using spatial relationships among the plurality of objects identified using the set of geometry features determined for each object of the plurality;
- and
- creating logic executed by the processor for automatically creating, using the trained transformer machine model, a caption comprising a sequence of words, the automatic caption creation comprising using a decoder component of the trained transformer to decode the encoded output to identify the sequence of words.
Dependencies are inferred from the claim text.