PatentRef

Data version 20261117.2, as of 2026-11-17. Free beta.

US 10817981

Color sampling selection for displaying content items using machine learning

Granted 2020-10-27 · Filed 2019-02-04 · Application 16/267,258 · Utility · Kind B1

Assignee as printed
  • Facebook, Inc., Menlo Park, CA (US) · PatentsView label: FACEBOOK, INC.
Inventors
Michael Belkin, San Francisco, CA (US)
CPC, current
G06T11/00; G06F16/9538; G06F18/2413; G06F18/253; G06N3/0464; G06N3/09; G06N5/01; G06N20/00; G06N20/20; G06T3/4015; G06V10/28; G06V10/56; G06V10/764; G06V10/806; G06V10/82; G06N3/08; G06T2207/20081; G06T2207/20084

Abstract

An online system is configured to provide content items to users. The content item includes an image, and is displayed with an interface element colored using an accent color to create a unified look and feel with the displayed image. The accent color is dynamically selected based upon the image, extracted color features of the image, and embeddings associated with the image indicating at least one object depicted in the image. A machine-trained classification model selects the color to be used in displaying the interface element from a quantized set of colors of the image, based upon the extracted color features and the embeddings associated with the image. As such, suitable accent colors can be selected automatically for large numbers of content items, in a flexible manner that can account for the context of the images and the context in which the content item is to be displayed.

Claims

20 claims · independent 1, 8 and 15

The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.

Claim 1

Independent claim.

1. A method comprising:

  1. Claim 1, element e1receiving, at an online system, a content item to be provided to a user of the online system; 24–116
  2. Claim 1, element e2identifying an image associated with the content item, 118–171
  3. Claim 1, element e3wherein the content item is to be displayed with an interface element in proximity to the image; 173–268
  4. Claim 1, element e4selecting a color to be used in displaying the interface element, by: 270–338
  5. Claim 1, element e5quantizing the image into a quantized image associated with a quantized set of colors; 340–425
  6. Claim 1, element e6for each of a plurality of colors of the quantized set of colors, extracting one or more color features based upon the color, the one or more features comprising at least an indication of an amount of coverage of the color within the quantized image, and at least one component value of the color; 427–723
  7. Claim 1, element e7using a neural network model, generating at least one embedding associated with the image, the at least one embedding indicating at least one object depicted in the image; 725–895
  8. Claim 1, element e8using a machine-trained classification model, selecting the color to be used in displaying the interface element from the quantized set of colors, based upon the one or more color features of the plurality of colors and the at least one embedding associated with the image; 897–1169
  9. Claim 1, element e9providing the content item for display to the user of the online system, 1171–1242
  10. Claim 1, element e10wherein the displayed content item includes at least the image associated with the content item and the interface element displayed in proximity to the image, the interface element displayed in the selected color determined by the machine-trained classification model.1244–1511
6 dependent claims: 2 to 7 (2, 4, 5, 6, 7 on claim 1; 3 on 2)

Claim 2

Depends on claim 1.

2. The method of claim 1 , further comprising:

  1. Claim 2, element e1receiving, at the machine-trained classification model, one or more context features indicating a manner in which the content item is to be displayed; 47–196
  2. Claim 2, element e2wherein the machine-trained classification model selects the color to be used in displaying the interface element from the quantized set of colors, based further upon the one or more received context features.198–406

Claim 3

Depends on claim 2.

3. The method of claim 2 , wherein

  1. Claim 3, element e1the one or more context features indicate at least one of: 35–92
  2. Claim 3, element e2a type of the interface element, a type of the content item, and at least one characteristic of an interface of the online system on which the content item is to be displayed to the user.94–280

Claim 4

Depends on claim 1.

4. The method of claim 1 , wherein

  1. Claim 4, element e1the one or more color features corresponding to a color of the plurality of colors comprises at least one of: 35–143
  2. Claim 4, element e2a hue of the color, a saturation of the color, and a color component of the color.145–226

Claim 5

Depends on claim 1.

5. The method of claim 1 , further comprising:

  1. Claim 5, element e1receiving, via an interface provided by the online system, an interaction from the user provided with the displayed content item, the interaction comprising an indication of whether the selected color for the interface element is believed suitable by the user; and 47–306
  2. Claim 5, element e2updating the machine-trained classification model based upon the indication.312–387

Claim 6

Depends on claim 1.

6. The method of claim 1 , further comprising

  1. Claim 6, element e1training the machine-trained classification model by: 46–98
  2. Claim 6, element e2providing the machine-trained classification model with a labelled set comprising at least a plurality of images and a plurality of labels, each label corresponding to an image of the plurality of images and indicating a color selected for use in displaying an interface element in proximity to the image; 100–404
  3. Claim 6, element e3for each image of the plurality of images, using the machine-trained classification model to select a color for the image from a quantized set of colors based upon the image, the selection based upon one or more color features associated with the quantized set of colors and the at least one embedding associated with the image; 406–733
  4. Claim 6, element e4for each image, comparing the color selected by the machine-trained classification model with the color indicated by the label corresponding to the image; and 735–888
  5. Claim 6, element e5updating the machine-trained classification model based upon the comparison.894–969

Claim 7

Depends on claim 1.

7. The method of claim 1 , further comprising:

  1. Claim 7, element e1determining a complementary color set, each color of the complementary color set corresponding to a complement of a color of the quantized set of colors; 47–199
  2. Claim 7, element e2wherein the machine-trained classification model selects the color to be used in displaying the interface element from the complementary color set.201–347

Claim 8

Independent claim.

8. A non-transitory computer readable storage medium storing computer program instructions, the computer program instructions when executed by a computer processor causes the processor to perform the steps of: receiving, at an online system, a content item to be provided to a user of the online system; identifying an image associated with the content item; determining that the content item is to be displayed with an interface element in proximity to the image; selecting a color to be used in displaying the interface element, by: quantizing the image into a quantized image associated with a quantized set of colors; for each of a plurality of colors of the quantized set of colors, extracting one or more color features based upon the color, the one or more features comprising

  1. Claim 8, element e1at least an indication of an amount of coverage of the color within the quantized image, and at least one component value of the color; 784–918
  2. Claim 8, element e2using a neural network model, generating at least one embedding associated with the image, the at least one embedding indicating at least one object depicted in the image; 920–1090
  3. Claim 8, element e3using a machine-trained classification model, selecting the color to be used in displaying the interface element from the quantized set of colors, based upon the one or more color features of the plurality of colors and the at least one embedding associated with the image; 1092–1364
  4. Claim 8, element e4providing the content item for display to the user of the online system, 1366–1437
  5. Claim 8, element e5wherein the displayed content item includes at least the image associated with the content item and the interface element displayed in proximity to the image, the interface element displayed in the selected color determined by the machine-trained classification model.1439–1706
6 dependent claims: 9 to 14 (9, 11, 12, 13, 14 on claim 8; 10 on 9)

Claim 9

Depends on claim 8.

9. The computer readable storage medium of claim 8 , wherein

  1. Claim 9, element e1the computer program instructions when executed by a computer processor further cause the processor to: 61–163
  2. Claim 9, element e2receiving, at the machine-trained classification model, one or more context features indicating a manner in which the content item is to be displayed; 165–314
  3. Claim 9, element e3wherein the machine-trained classification model selects the color to be used in displaying the interface element from the quantized set of colors, based further upon the one or more received context features.316–524

Claim 10

Depends on claim 9.

10. The computer readable storage medium of claim 9 , wherein

  1. Claim 10, element e1the one or more context features indicate at least one of: 62–119
  2. Claim 10, element e2a type of the interface element, a type of the content item, and at least one characteristic of an interface of the online system on which the content item is to be displayed to the user.121–307

Claim 11

Depends on claim 8.

11. The computer readable storage medium of claim 8 , wherein

  1. Claim 11, element e1the one or more color features corresponding to a color of the plurality of colors comprises at least one of: 62–170
  2. Claim 11, element e2a hue of the color, a saturation of the color, and a color component of the color.172–253

Claim 12

Depends on claim 8.

12. The computer readable storage medium of claim 8 , wherein

  1. Claim 12, element e1the computer program instructions when executed by a computer processor further cause the processor to: 62–164
  2. Claim 12, element e2receiving, via an interface provided by the online system, an interaction from the user provided with the displayed content item, the interaction comprising an indication of whether the selected color for the interface element is believed suitable by the user; and 166–425
  3. Claim 12, element e3updating the machine-trained classification model based upon the indication.431–506

Claim 13

Depends on claim 8.

13. The computer readable storage medium of claim 8 , wherein

  1. Claim 13, element e1the computer program instructions when executed by a computer processor further cause the processor to train the machine-trained classification model by: 62–214
  2. Claim 13, element e2providing the machine-trained classification model with a labelled set comprising at least a plurality of images and a plurality of labels, each label corresponding to an image of the plurality of images and indicating a color selected for use in displaying an interface element in proximity to the image; 216–520
  3. Claim 13, element e3for each image of the plurality of images, using the machine-trained classification model to select a color for the image from a quantized set of colors based upon the image, the selection based upon one or more color features associated with the quantized set of colors and the at least one embedding associated with the image; 522–849
  4. Claim 13, element e4for each image, comparing the color selected by the machine-trained classification model with the color indicated by the label corresponding to the image; and 851–1004
  5. Claim 13, element e5updating the machine-trained classification model based upon the comparison.1010–1085

Claim 14

Depends on claim 8.

14. The computer readable storage medium of claim 8 , wherein

  1. Claim 14, element e1the computer program instructions when executed by a computer processor further cause the processor to: 62–164
  2. Claim 14, element e2determining a complementary color set, each color of the complementary color set corresponding to a complement of a color of the quantized set of colors; 166–318
  3. Claim 14, element e3wherein the machine-trained classification model selects the color to be used in displaying the interface element from the complementary color set.320–466

Claim 15

Independent claim.

15. An online system, comprising:

  1. Claim 15, element e1a receiver configured to receive a content item to be provided to a user of the online system, the content item including an image; 34–164
  2. Claim 15, element e2at least one processor configured to: 166–202
  3. Claim 15, element e3receive a content item to be provided to a user of the online system; 204–272
  4. Claim 15, element e4identify an image associated with the content item; 274–324
  5. Claim 15, element e5determine that the content item is to be displayed with an interface element in proximity to the image; 326–428
  6. Claim 15, element e6select a color to be used in displaying the interface element, by: 430–495
  7. Claim 15, element e7quantizing the image into a quantized image associated with a quantized set of colors; 497–582
  8. Claim 15, element e8for each of a plurality of colors of the quantized set of colors, extracting one or more color features based upon the color, the one or more features comprising at least an indication of an amount of coverage of the color within the quantized image, and at least one component value of the color; 584–880
  9. Claim 15, element e9using a neural network model, generating at least one embedding associated with the image, the at least one embedding indicating at least one object depicted in the image; 882–1052
  10. Claim 15, element e10using a machine-trained classification model, selecting the color to be used in displaying the interface element from the quantized set of colors, based upon the one or more color features of the plurality of colors and the at least one embedding associated with the image; 1054–1326
  11. Claim 15, element e11provide the content item for display to the user of the online system, 1328–1397
  12. Claim 15, element e12wherein the displayed content item includes at least the image associated with the content item and the interface element displayed in proximity to the image, the interface element displayed in the selected color determined by the machine-trained classification model.1399–1666
5 dependent claims: 16 to 20 (16, 17, 18, 19, 20 on claim 15)

Claim 16

Depends on claim 15.

16. The online system of claim 15 , wherein

  1. Claim 16, element e1the processor is further configured to: 44–82
  2. Claim 16, element e2receive, at the machine-trained classification model, one or more context features indicating a manner in which the content item is to be displayed; 84–231
  3. Claim 16, element e3wherein the machine-trained classification model selects the color to be used in displaying the interface element from the quantized set of colors, based further upon the one or more received context features.233–441

Claim 17

Depends on claim 15.

17. The online system of claim 15 , wherein

  1. Claim 17, element e1the one or more color features corresponding to a color of the plurality of colors comprises at least one of: 44–152
  2. Claim 17, element e2a hue of the color, a saturation of the color, and a color component of the color.154–235

Claim 18

Depends on claim 15.

18. The online system of claim 15 , wherein

  1. Claim 18, element e1the processor is further configured to: 44–82
  2. Claim 18, element e2receive, via an interface provided by the online system, an interaction from the user provided with the displayed content item, the interaction comprising an indication of whether the selected color for the interface element is believed suitable by the user; and 84–341
  3. Claim 18, element e3update the machine-trained classification model based upon the indication.347–420

Claim 19

Depends on claim 15.

19. The online system of claim 15 , wherein

  1. Claim 19, element e1the processor is further configured to train the machine-trained classification model by: 44–132
  2. Claim 19, element e2providing the machine-trained classification model with a labelled set comprising at least a plurality of images and a plurality of labels, each label corresponding to an image of the plurality of images and indicating a color selected for use in displaying an interface element in proximity to the image; 134–438
  3. Claim 19, element e3for each image of the plurality of images, using the machine-trained classification model to select a color for the image from a quantized set of colors based upon the image, the selection based upon one or more color features associated with the quantized set of colors and the at least one embedding associated with the image; 440–767
  4. Claim 19, element e4for each image, comparing the color selected by the machine-trained classification model with the color indicated by the label corresponding to the image; and 769–922
  5. Claim 19, element e5updating the machine-trained classification model based upon the comparison.928–1003

Claim 20

Depends on claim 15.

20. The online system of claim 15 , wherein

  1. Claim 20, element e1the processor is further configured to: 44–82
  2. Claim 20, element e2determine a complementary color set, each color of the complementary color set corresponding to a complement of a color of the quantized set of colors; 84–234
  3. Claim 20, element e3wherein the machine-trained classification model selects the color to be used in displaying the interface element from the complementary color set.236–382

Status

expired_fee_nonpayment

As of 2026-11-17, the USPTO maintenance-fee record for US 10817981 has an entry dated 2024-12-02 recording that the patent expired for nonpayment of a maintenance fee, and no reinstatement after it (data version 20261117.2).

Basis
fee_lapse:2024-12-02 · term_20y · pta_days:81 (fee-lapse entry dated 2024-12-02, 20 years from filing, plus 81 days of patent term adjustment)
Term end
2039-04-26 Computed from the dates in the USPTO recordThe maintenance-fee entry dated 2024-12-02 records an expiry for nonpayment; the date in this row is computed without the maintenance-fee record.
Fee lapse
2024-12-02
Reinstatement
none on record; reinstatement_possible: unknown, 37 CFR 1.378: a petition to accept a delayed maintenance fee on the basis of unintentional delay has no fixed time limit; the fee-event record shows no reinstatement as of 2026-11-17
As of
2026-11-17
Data version
20261117.2

A petition under 37 CFR 1.378 has no fixed time limit; the record does not show whether one would be granted.

A fact about the record with its basis and its as-of date, not legal advice.

Citations

References cited on the grant: 3 US patent documents · Cited by: 57 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10817981/ (needs a free key, as the links under Get this as data)

Family outside the US

Google Patents Public Datasets lists no publication outside the US in this patent's family (read 2026-10-15).

This patent's family on USPTO Global Dossier

Family data from Google Patents Public Datasets, used under CC BY 4.0.

Record JSON
{
 "patent_id": "10817981",
 "status": "expired_fee_nonpayment",
 "basis": [
  "fee_lapse:2024-12-02",
  "term_20y",
  "pta_days:81"
 ],
 "reinstatement_possible": "unknown",
 "reinstatement_basis": "37 CFR 1.378: a petition to accept a delayed maintenance fee on the basis of unintentional delay has no fixed time limit; the fee-event record shows no reinstatement as of 2026-11-17",
 "expiry_date_estimated": "2039-04-26",
 "lapse_date": "2024-12-02",
 "reinstated_date": null,
 "as_of": "2026-11-17",
 "data_version": "20261117.2",
 "catalog_data_version": "20261117.2",
 "permalink": "https://patentref.io/p/10817981?v=20261117.2",
 "next_steps": [
  {
   "kind": "record",
   "url": "https://patentref.io/p/10817981?v=20261117.2",
   "audience": "human"
  },
  {
   "kind": "patent",
   "url": "https://patentref.io/api/v1/patent/10817981/",
   "audience": "agent"
  },
  {
   "kind": "fee_events",
   "tool": "uspto_patent_center",
   "url": "https://patentcenter.uspto.gov/applications?patentNumber=10817981",
   "audience": "agent"
  }
 ]
}

Get this as data

These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.

Elsewhere

Cite this record

https://patentref.io/p/10817981?v=20261117.2

Data 20261117.2 · as of 2026-11-17