-
公开(公告)号:US11481927B2
公开(公告)日:2022-10-25
申请号:US16722302
申请日:2019-12-20
Inventor: Ziyan Zhong , Yu Hao , Rong Cheng , Muwei Zhao , Wenqian Yuan
Abstract: Embodiments of the present disclosure relate to a method and apparatus for determining a text color. The method may include: determining, in response to detecting a text frame on canvas, a subimage corresponding to the text frame from the canvas; acquiring color values of pixels in the subimage, to determine an average color value of the subimage; determining an average luminance value of the subimage based on the average color value of the subimage; and determining a color of text to be inputted into the text frame based on the average luminance value of the subimage.