CPC G06F 16/5838 (2019.01) [G06F 16/51 (2019.01); G06F 16/532 (2019.01); G06F 16/538 (2019.01); G06F 40/279 (2020.01); G06N 3/08 (2013.01); G06V 10/56 (2022.01)] | 20 Claims |
1. A method comprising:
receiving a text query including a color term;
encoding, by a text encoder, the color term to obtain an embedded color term in a text embedding space;
converting, by a color embedding network, the embedded color term from the text embedding space into an embedded color representation in a color embedding space, wherein the embedded color representation includes a plurality of individual values corresponding to binned regions of a perceptually uniform color space, respectively, and wherein the color embedding network is trained to generate the embedded color representation using training data including color images having a single color per training image and color text corresponding to the color images, respectively;
identifying a subset of the plurality of individual values of the embedded color representation by comparing the plurality of individual values to a value threshold; and
generating a color palette for the text query representing the color term by selecting a plurality of colors corresponding to the subset of the plurality of individual values of the embedded color representation.
|