US 12,437,499 B1
Color contrasting image modification based on enhanced color spaces
Ashley Seto, San Francisco, CA (US); and Xiaolu Xu, San Mateo, CA (US)
Assigned to Meta Platforms, Inc., Menlo Park, CA (US)
Filed by Meta Platforms, Inc., Menlo Park, CA (US)
Filed on Oct. 5, 2022, as Appl. No. 17/938,181.
Int. Cl. G06T 7/90 (2017.01); G06T 5/94 (2024.01); G06T 7/70 (2017.01); G06V 10/56 (2022.01); G06V 10/764 (2022.01)
CPC G06V 10/56 (2022.01) [G06T 5/94 (2024.01); G06T 7/70 (2017.01); G06T 7/90 (2017.01); G06V 10/764 (2022.01); G06T 2207/10024 (2013.01)] 16 Claims
OG exemplary drawing
 
1. At least one computer readable storage medium comprising a set of instructions, which when executed by a computing device, cause the computing device to:
identify a first color for an area;
adjust a first color space of the first color to a second color space when a predetermined condition is met;
identify a second color of at least text that is to overlay the area;
adjust one or more of the first color or the second color so that a contrast ratio between the first and second colors approaches a threshold contrast value;
modify an original image to include the text overlaid on the area to generate an adjusted image, wherein the one or more of the text and the area in the adjusted image includes the adjusted one or more of the first color or the second color; and
identify a third color in the adjusted image as being a dominant color, wherein the adjusted one or more of the first color or the second color is within a same color family as the third color based on the third color being the dominant color.