Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for determining color of character

A text and color technology, applied in the computer field, can solve the problems of distinguishing the text, the user is difficult, the contrast between the canvas and the font color is not clear enough, etc., to achieve the effect of enhancing the effect

Pending Publication Date: 2019-09-20
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF17 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For design tools, when displaying text, there is often a problem that the contrast between the canvas and the font color is not clear enough, which makes it difficult for users to distinguish the text from the canvas

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for determining color of character
  • Method and device for determining color of character
  • Method and device for determining color of character

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The present disclosure will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0026] It should be noted that, in the case of no conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and embodiments.

[0027] figure 1 Shown is an exemplary system architecture 100 to which the method for determining the color of text or the device for determining the color of text of the embodiments of the present disclosure can be applied.

[0028] Such as figure 1 As shown, the sys...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a method and a device for determining the color of a character. A specific embodiment of the method comprises the steps of determining a sub-image corresponding to a textbox from a canvas in response to detecting the textbox in the canvas; obtaining color values of pixels in the sub-images, and determing average color values of the sub-images; determining an average brightness value of the sub-image based on the average color value of the sub-image; and determining the character color of the character of the text box to be input based on the average brightness value of the sub-image. According to the embodiment, the character colors matched with the canvas can be automatically matched, and the character display effect is enhanced.

Description

technical field [0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular to a method and device for determining the color of text. Background technique [0002] With the popularization of electronic devices such as mobile phones and computers, people use more and more design tools (eg, Photoshop, PowerPoint, etc.) in their work and life. For design tools, when displaying text, there is often a problem that the contrast between the canvas and the font color is not clear enough, which makes it difficult for users to distinguish the text from the canvas. [0003] In the prior art, users of design tools (such as Photoshop, PowerPoint, etc.) usually manually adjust the font color to enhance the contrast between the canvas and the text. Contents of the invention [0004] Embodiments of the present disclosure propose methods and devices for determining the color of text. [0005] In a first aspect, an embodiment of the prese...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/21G06V10/28G06V10/56
CPCG06F40/109G06T7/90G06T11/001G06V30/413G06V10/28G06V10/507G06V10/56G06F40/126G06F40/143
Inventor 钟姿艳郝郁程荣赵沐为袁闻骞
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD